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

Class: Aws::EC2::Types::PeeringConnectionOptions

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

Overview

Describes the VPC peering connection options.

Instance Attribute Summary collapse

Instance Attribute Details

#allow_dns_resolution_from_remote_vpcBoolean

If true, enables a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC.

Returns:

  • (Boolean)


18365
18366
18367
18368
18369
18370
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18365

class PeeringConnectionOptions < Struct.new(
  :allow_dns_resolution_from_remote_vpc,
  :allow_egress_from_local_classic_link_to_remote_vpc,
  :allow_egress_from_local_vpc_to_remote_classic_link)
  include Aws::Structure
end

If true, enables outbound communication from an EC2-Classic instance that's linked to a local VPC via ClassicLink to instances in a peer VPC.

Returns:

  • (Boolean)


18365
18366
18367
18368
18369
18370
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18365

class PeeringConnectionOptions < Struct.new(
  :allow_dns_resolution_from_remote_vpc,
  :allow_egress_from_local_classic_link_to_remote_vpc,
  :allow_egress_from_local_vpc_to_remote_classic_link)
  include Aws::Structure
end

If true, enables outbound communication from instances in a local VPC to an EC2-Classic instance that's linked to a peer VPC via ClassicLink.

Returns:

  • (Boolean)


18365
18366
18367
18368
18369
18370
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18365

class PeeringConnectionOptions < Struct.new(
  :allow_dns_resolution_from_remote_vpc,
  :allow_egress_from_local_classic_link_to_remote_vpc,
  :allow_egress_from_local_vpc_to_remote_classic_link)
  include Aws::Structure
end