AWSEC2AttachVpnGatewayRequest

Objective-C

@interface AWSEC2AttachVpnGatewayRequest

Swift

class AWSEC2AttachVpnGatewayRequest

Contains the parameters for AttachVpnGateway.

Required parameters: [VpcId, VpnGatewayId]

  • Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

    Declaration

    Objective-C

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

    Swift

    var dryRun: NSNumber? { get set }
  • The ID of the VPC.

    Declaration

    Objective-C

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

    Swift

    var vpcId: String? { get set }
  • The ID of the virtual private gateway.

    Declaration

    Objective-C

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

    Swift

    var vpnGatewayId: String? { get set }