action Route 53

disassociate_vpc_from_zone

Remove an association between a VPC and a private hosted zone

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

Usage

JSON

{
  "name": "disassociate-vpc-from-zone",
  "type": "action",
  "provider": {
    "type": "python",
    "module": "chaosaws.route53.actions",
    "func": "disassociate_vpc_from_zone",
    "arguments": {
      "zone_id": "",
      "vpc_id": "",
      "vpc_region": ""
    }
  }
}

YAML

name: disassociate-vpc-from-zone
provider:
  arguments:
    vpc_id: ""
    vpc_region: ""
    zone_id: ""
  func: disassociate_vpc_from_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 note regarding the disassociation request

Signature

def disassociate_vpc_from_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