AWSEC2CreateVpcPeeringConnectionRequest

Objective-C

@interface AWSEC2CreateVpcPeeringConnectionRequest

Swift

class AWSEC2CreateVpcPeeringConnectionRequest
  • 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 Amazon Web Services account ID of the owner of the accepter VPC.

    Default: Your Amazon Web Services account ID

    Declaration

    Objective-C

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

    Swift

    var peerOwnerId: String? { get set }
  • The Region code for the accepter VPC, if the accepter VPC is located in a Region other than the Region in which you make the request.

    Default: The Region in which you make the request.

    Declaration

    Objective-C

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

    Swift

    var peerRegion: String? { get set }
  • The ID of the VPC with which you are creating the VPC peering connection. You must specify this parameter in the request.

    Declaration

    Objective-C

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

    Swift

    var peerVpcId: String? { get set }
  • The tags to assign to the peering connection.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2TagSpecification *> *_Nullable tagSpecifications;

    Swift

    var tagSpecifications: [AWSEC2TagSpecification]? { get set }
  • The ID of the requester VPC. You must specify this parameter in the request.

    Declaration

    Objective-C

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

    Swift

    var vpcId: String? { get set }