action Route 53

associate_vpc_with_zone

Associate a VPC with a private hosted zone

Run it now
View details
Typeaction
Modulechaosaws.route53.actions
Nameassociate_vpc_with_zone
Returnmapping

Usage

JSON

{
  "name": "associate-vpc-with-zone",
  "type": "action",
  "provider": {
    "type": "python",
    "module": "chaosaws.route53.actions",
    "func": "associate_vpc_with_zone",
    "arguments": {
      "zone_id": "",
      "vpc_id": "",
      "vpc_region": ""
    }
  }
}

YAML

name: associate-vpc-with-zone
provider:
  arguments:
    vpc_id: ""
    vpc_region: ""
    zone_id: ""
  func: associate_vpc_with_zone
  module: chaosaws.route53.actions
  type: python
type: action

Arguments

NameTypeDefaultRequiredTitleDescription
zone_idstringYesZone IDRoute53 zone
vpc_idstringYesVPC ID
vpc_regionstringYesRegionVPC region
commentstringnullNoCommentA comment for the operation’s audit
  • zone_id: The hosted zone id
  • vpc_id: The id of the vpc
  • vpc_region: The region of the vpc
  • comment: a comment regarding the request

Signature

def associate_vpc_with_zone(
        zone_id: str,
        vpc_id: str,
        vpc_region: str,
        comment: str = None,
        configuration: Dict[str, Dict[str, str]] = None,
        secrets: Dict[str, Dict[str, str]] = None) -> Dict[str, Any]:
    pass