Description Usage Arguments Details Value References See Also Examples
Create/Delete Network ACL for VPC
1 2 3 | create_netacl(vpc, ...)
delete_netacl(acl, ...)
|
vpc |
A character string specifying a VPC Allocation ID or an object of class “ec2_ip”. |
... |
Additional arguments passed to [ec2HTTP()]. |
acl |
... |
Access Control Lists (ACLs) for a Virtual Private Cloud (VPC) provide a layer of security for an EC2 instance or set of instances. These can be used in tandem with or in lieu of Security Groups (see describe_sgroups()
).
For create_netacl
, a list of class “ec2_acl”. For delete_netacl
, a logical indicating whether the operation succeeded.
http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Security.html http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateNetworkAcl.html http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DeleteNetworkAcl.html
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
# create a VPC
v <- create_vpc(cidr = "10.0.0.0/16")
describe_vpcs()
# create a Network ACL for the VPC
acl <- create_netacl(v)
# cleanup
delete_acl(acl)
delete_vpc(v)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.