AWSEC2InternetGatewayAttachment

@interface 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 (assign, readwrite, nonatomic) AWSEC2AttachmentStatus state;

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var vpcId: String? { get set }