paws.compute (version 0.1.0)

ec2_create_network_acl: Creates a network ACL in a VPC

Description

Creates a network ACL in a VPC. Network ACLs provide an optional layer of security (in addition to security groups) for the instances in your VPC.

Usage

ec2_create_network_acl(DryRun, VpcId)

Arguments

DryRun

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.

VpcId

[required] The ID of the VPC.

Request syntax

svc$create_network_acl(
  DryRun = TRUE|FALSE,
  VpcId = "string"
)

Details

For more information, see Network ACLs in the Amazon Virtual Private Cloud User Guide.

Examples

Run this code
# NOT RUN {
# This example creates a network ACL for the specified VPC.
# }
# NOT RUN {
svc$create_network_acl(
  VpcId = "vpc-a01106c2"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab