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

Class: Aws::Route53::Types::CreateVPCAssociationAuthorizationRequest

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 CreateVPCAssociationAuthorizationRequest 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",
  },
}

A complex type that contains information about the request to authorize associating a VPC with your private hosted zone. Authorization is only required when a private hosted zone and a VPC were created by using different accounts.

Instance Attribute Summary collapse

Instance Attribute Details

#hosted_zone_idString

The ID of the private hosted zone that you want to authorize associating a VPC with.

Returns:

  • (String)


1339
1340
1341
1342
1343
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1339

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

#vpcTypes::VPC

A complex type that contains the VPC ID and region for the VPC that you want to authorize associating with your hosted zone.

Returns:



1339
1340
1341
1342
1343
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1339

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