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

Class: Aws::EC2::Types::PeeringConnectionOptionsRequest

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

Overview

Note:

When making an API call, you may pass PeeringConnectionOptionsRequest data as a hash:

{
  allow_dns_resolution_from_remote_vpc: false,
  allow_egress_from_local_classic_link_to_remote_vpc: false,
  allow_egress_from_local_vpc_to_remote_classic_link: false,
}

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)


17855
17856
17857
17858
17859
17860
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17855

class PeeringConnectionOptionsRequest < 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)


17855
17856
17857
17858
17859
17860
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17855

class PeeringConnectionOptionsRequest < 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)


17855
17856
17857
17858
17859
17860
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17855

class PeeringConnectionOptionsRequest < 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