AWSEC2InternetGatewayAttachment

Objective-C

@interface AWSEC2InternetGatewayAttachment

Swift

class AWSEC2InternetGatewayAttachment

Describes the attachment of a VPC to an internet gateway or an egress-only internet gateway.

  • The current state of the attachment. For an internet gateway, the state is available when attached to a VPC; otherwise, this value is not returned.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2AttachmentStatus state;

    Swift

    var state: AWSEC2AttachmentStatus { get set }
  • The ID of the VPC.

    Declaration

    Objective-C

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

    Swift

    var vpcId: String? { get set }