AWSEC2VpnGateway

Objective-C

@interface AWSEC2VpnGateway

Swift

class AWSEC2VpnGateway

Describes a virtual private gateway.

  • The private Autonomous System Number (ASN) for the Amazon side of a BGP session.

    Declaration

    Objective-C

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

    Swift

    var amazonSideAsn: NSNumber? { get set }
  • The Availability Zone where the virtual private gateway was created, if applicable. This field may be empty or not returned.

    Declaration

    Objective-C

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

    Swift

    var availabilityZone: String? { get set }
  • The current state of the virtual private gateway.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2VpnState state;

    Swift

    var state: AWSEC2VpnState { get set }
  • Any tags assigned to the virtual private gateway.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2Tag *> *_Nullable tags;

    Swift

    var tags: [AWSEC2Tag]? { get set }
  • The type of VPN connection the virtual private gateway supports.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2GatewayType types;

    Swift

    var types: AWSEC2GatewayType { get set }
  • Any VPCs attached to the virtual private gateway.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2VpcAttachment *> *_Nullable vpcAttachments;

    Swift

    var vpcAttachments: [AWSEC2VpcAttachment]? { get set }
  • The ID of the virtual private gateway.

    Declaration

    Objective-C

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

    Swift

    var vpnGatewayId: String? { get set }