Class | AWS::EC2::VPCCollection |
In: |
lib/aws/ec2/vpc_collection.rb
|
Parent: | Collection |
Creates a VPC with the CIDR block you specify. The smallest VPC you can create uses a /28 netmask (16 IP addresses), and the largest uses a /16 netmask (65,536 IP addresses).
vpc = ec2.vpcs.create('10.0.0.0/16')
@param [String] cidr_block The CIDR block you want the VPC to
cover (e.g., 10.0.0.0/16).
@param [Hash] options
@option options [Boolean] :instance_tenancy (:default)
The allowed tenancy of instances launched into the VPC. A value of +:default+ means instances can be launched with any tenancy; a value of +:dedicated+ means all instances launched into the VPC will be launched with dedicated tenancy regardless of the tenancy assigned to the instance at launch.
@return [VPC]