AWSEC2PeeringConnectionOptionsRequest

Objective-C

@interface AWSEC2PeeringConnectionOptionsRequest

Swift

class AWSEC2PeeringConnectionOptionsRequest

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.

The VPC peering connection options.

  • If true, enables a local VPC to resolve public DNS hostnames 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 }