Class: Aws::EC2::Types::PeeringConnectionOptionsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::PeeringConnectionOptionsRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
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
-
#allow_dns_resolution_from_remote_vpc ⇒ Boolean
If true, enables a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC.
-
#allow_egress_from_local_classic_link_to_remote_vpc ⇒ Boolean
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.
-
#allow_egress_from_local_vpc_to_remote_classic_link ⇒ Boolean
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.
Instance Attribute Details
#allow_dns_resolution_from_remote_vpc ⇒ Boolean
If true, enables a local VPC to resolve public DNS hostnames to private IP addresses when queried from instances in the peer VPC.
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 |
#allow_egress_from_local_classic_link_to_remote_vpc ⇒ Boolean
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.
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 |
#allow_egress_from_local_vpc_to_remote_classic_link ⇒ Boolean
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.
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 |