Description Usage Arguments Value References See Also Examples
Create/delete VPCs
1 2 3 | create_vpc(cidr, tenancy = c("default", "dedicated"), ...)
delete_vpc(vpc, ...)
|
cidr |
A character string specifying a network range for the subnet in CIDR notation. |
tenancy |
A character string specifying either “default” or “dedicated” (single-tenant) hardware for instances launched within the VPC. |
... |
Additional arguments passed to [ec2HTTP()]. |
vpc |
A character string specifying a VPC Allocation ID or an object of class “ec2_ip”. |
For create_vpc
, a list of class “ec2_vpc”. For delete_vpc
, a logical indicating whether the operation succeeded.
https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Subnets.html http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVpc.html http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DeleteVpc.html
describe_vpcs()
, get_vpc_attr()
1 2 3 4 5 6 7 8 | ## Not run:
v <- create_vpc(cidr = "10.0.0.0/16")
describe_vpcs()
# delete VPC
delete_vpc(v)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.