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.

Constant Summary collapse

SENSITIVE =
[]

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)


37643
37644
37645
37646
37647
37648
37649
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 37643

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)
  SENSITIVE = []
  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)


37643
37644
37645
37646
37647
37648
37649
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 37643

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)
  SENSITIVE = []
  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)


37643
37644
37645
37646
37647
37648
37649
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 37643

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)
  SENSITIVE = []
  include Aws::Structure
end