AWSEC2VpnConnectionOptionsSpecification

Objective-C

@interface AWSEC2VpnConnectionOptionsSpecification

Swift

class AWSEC2VpnConnectionOptionsSpecification

Describes VPN connection options.

  • Indicate whether to enable acceleration for the VPN connection.

    Default: false

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable enableAcceleration;

    Swift

    var enableAcceleration: NSNumber? { get set }
  • The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.

    Default: 0.0.0.0/0

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable localIpv4NetworkCidr;

    Swift

    var localIpv4NetworkCidr: String? { get set }
  • The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.

    Default: ::/0

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable localIpv6NetworkCidr;

    Swift

    var localIpv6NetworkCidr: String? { get set }
  • The type of IPv4 address assigned to the outside interface of the customer gateway device.

    Valid values: PrivateIpv4 | PublicIpv4

    Default: PublicIpv4

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable outsideIpAddressType;

    Swift

    var outsideIpAddressType: String? { get set }
  • The IPv4 CIDR on the Amazon Web Services side of the VPN connection.

    Default: 0.0.0.0/0

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable remoteIpv4NetworkCidr;

    Swift

    var remoteIpv4NetworkCidr: String? { get set }
  • The IPv6 CIDR on the Amazon Web Services side of the VPN connection.

    Default: ::/0

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable remoteIpv6NetworkCidr;

    Swift

    var remoteIpv6NetworkCidr: String? { get set }
  • Indicate whether the VPN connection uses static routes only. If you are creating a VPN connection for a device that does not support BGP, you must specify true. Use CreateVpnConnectionRoute to create a static route.

    Default: false

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable staticRoutesOnly;

    Swift

    var staticRoutesOnly: NSNumber? { get set }
  • The transit gateway attachment ID to use for the VPN tunnel.

    Required if OutsideIpAddressType is set to PrivateIpv4.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable transportTransitGatewayAttachmentId;

    Swift

    var transportTransitGatewayAttachmentId: String? { get set }
  • Indicate whether the VPN tunnels process IPv4 or IPv6 traffic.

    Default: ipv4

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2TunnelInsideIpVersion tunnelInsideIpVersion;

    Swift

    var tunnelInsideIpVersion: AWSEC2TunnelInsideIpVersion { get set }
  • The tunnel options for the VPN connection.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2VpnTunnelOptionsSpecification *> *_Nullable tunnelOptions;

    Swift

    var tunnelOptions: [AWSEC2VpnTunnelOptionsSpecification]? { get set }