actionRoute 53

disassociate_vpc_from_zone

Remove an association between a VPC and a private hosted zone

Activity as code

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

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

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