AWSEC2CreateVpcRequest Class Reference

Inherits from AWSRequest : AWSModel : AWSMTLModel
Declared in AWSEC2Model.h


Contains the parameters for CreateVpc.

Required parameters: [CidrBlock]


The network range for the VPC, in CIDR notation. For example,

@property (nonatomic, strong) NSString *cidrBlock

Declared In



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.

@property (nonatomic, strong) NSNumber *dryRun

Declared In



The tenancy options for instances launched into the VPC. For default, instances are launched with shared tenancy by default. You can launch instances with any tenancy into a shared tenancy VPC. For dedicated, instances are launched as dedicated tenancy instances by default. You can only launch instances with a tenancy of dedicated or host into a dedicated tenancy VPC.

Important: The host value cannot be used with this parameter. Use the default or dedicated values only.

Default: default

@property (nonatomic, assign) AWSEC2Tenancy instanceTenancy

Declared In