AWSEC2PeeringConnectionOptions
Objective-C
@interface AWSEC2PeeringConnectionOptions
Swift
class AWSEC2PeeringConnectionOptions
We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide.
Describes the VPC peering connection options.
-
If true, the public DNS hostnames of instances in the specified VPC resolve to private IP addresses when queried from instances in the peer VPC.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable allowDnsResolutionFromRemoteVpc;
Swift
var allowDnsResolutionFromRemoteVpc: NSNumber? { get set }
-
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.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable allowEgressFromLocalClassicLinkToRemoteVpc;
Swift
var allowEgressFromLocalClassicLinkToRemoteVpc: NSNumber? { get set }
-
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.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable allowEgressFromLocalVpcToRemoteClassicLink;
Swift
var allowEgressFromLocalVpcToRemoteClassicLink: NSNumber? { get set }