You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Route53::Types::AssociateVPCWithHostedZoneRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AssociateVPCWithHostedZoneRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  hosted_zone_id: "ResourceId", # required
  vpc: { # required
    vpc_region: "us-east-1", # accepts us-east-1, us-east-2, us-west-1, us-west-2, eu-west-1, eu-west-2, eu-west-3, eu-central-1, ap-east-1, me-south-1, us-gov-west-1, us-gov-east-1, us-iso-east-1, us-isob-east-1, ap-southeast-1, ap-southeast-2, ap-south-1, ap-northeast-1, ap-northeast-2, ap-northeast-3, eu-north-1, sa-east-1, ca-central-1, cn-north-1, af-south-1, eu-south-1
    vpc_id: "VPCId",
  },
  comment: "AssociateVPCComment",
}

A complex type that contains information about the request to associate a VPC with a private hosted zone.

Instance Attribute Summary collapse

Instance Attribute Details

#commentString

Optional: A comment about the association request.

Returns:

  • (String)

    Optional: A comment about the association request.

#hosted_zone_idString

The ID of the private hosted zone that you want to associate an Amazon VPC with.

Note that you can\'t associate a VPC with a hosted zone that doesn\'t have an existing VPC association.

Returns:

  • (String)

    The ID of the private hosted zone that you want to associate an Amazon VPC with.

#vpcTypes::VPC

A complex type that contains information about the VPC that you want to associate with a private hosted zone.

Returns:

  • (Types::VPC)

    A complex type that contains information about the VPC that you want to associate with a private hosted zone.