actionRoute 53

associate_vpc_with_zone

Associate a VPC with a private hosted zone

Activity as code

Below are the details and signature of the activity Python module.

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

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