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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb

Overview

Note:

When making an API call, you may pass AssociateVPCWithHostedZoneRequest data as a 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-central-1, ap-southeast-1, ap-southeast-2, ap-south-1, ap-northeast-1, ap-northeast-2, sa-east-1, ca-central-1, cn-north-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)


350
351
352
353
354
355
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 350

class AssociateVPCWithHostedZoneRequest < Struct.new(
  :hosted_zone_id,
  :vpc,
  :comment)
  include Aws::Structure
end

#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)


350
351
352
353
354
355
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 350

class AssociateVPCWithHostedZoneRequest < Struct.new(
  :hosted_zone_id,
  :vpc,
  :comment)
  include Aws::Structure
end

#vpcTypes::VPC

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

Returns:



350
351
352
353
354
355
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 350

class AssociateVPCWithHostedZoneRequest < Struct.new(
  :hosted_zone_id,
  :vpc,
  :comment)
  include Aws::Structure
end