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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


27875
27876
27877
27878
27879
27880
# File 'lib/aws-sdk-ec2/types.rb', line 27875

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 using ClassicLink to instances in a peer VPC.

Returns:

  • (Boolean)


27875
27876
27877
27878
27879
27880
# File 'lib/aws-sdk-ec2/types.rb', line 27875

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 using ClassicLink.

Returns:

  • (Boolean)


27875
27876
27877
27878
27879
27880
# File 'lib/aws-sdk-ec2/types.rb', line 27875

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