DisassociateVpcFromHostedZone#

Description#

Request to disassociate a VPC from a private DNS zone.

If a private DNS zone is associated with only one VPC, the association cannot be removed.

Request Parameters#

Required parameters#

  • Id — The DNS zone ID.

    • Type: String

    • Required: Yes

  • VPC — Information about the VPC whose association with the DNS zone is being removed.

    • Type: VPC object

    • Required: Yes

Optional parameters#

  • Comment — Comment to the disassociation request.

    • Type: String

    • Required: No

    • Length constraints: from 0 to 255 characters

Response Elements#

  • ChangeInfo — Information about changes in the DNS zone.

Examples#

c2-route53 DisassociateVpcFromHostedZone Id z-xxxxxxxx VPC.VPCId vpc-xxxxxxxx VPC.VPCRegion ru-msk

c2-route53 DisassociateVpcFromHostedZone Id z-xxxxxxxx VPC.VPCId vpc-xxxxxxxx VPC.VPCRegion ru-msk Comment "disassociate vpc from my first hosted zone."