AWS::EC2::NetworkAclEntryResource Type definition for AWS::EC2::NetworkAclEntry
9 configurable properties. 4 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
NetworkAclId | string | RequiredCreate-only |
Protocol | integer | Required |
RuleAction | string | Required |
RuleNumber | integer | RequiredCreate-only |
CidrBlock | string | |
Egress | boolean | Create-only |
Icmp | Icmp | |
Ipv6CidrBlock | string | |
PortRange | PortRange |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Id | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::EC2::NetworkAclEntry
Resources:
MyResource:
Type: AWS::EC2::NetworkAclEntry
Properties:
NetworkAclId: "my-networkaclid"
RuleAction: "value"
RuleNumber: 1
Protocol: 1Permissions CloudFormation needs in your IAM role to manage this resource.
ec2:CreateNetworkAclEntryec2:DescribeNetworkAclsec2:ReplaceNetworkAclEntryec2:DescribeNetworkAclsec2:DeleteNetworkAclEntryec2:DescribeNetworkAclsEverything you need to know about EC2 on one page. HD quality, print-friendly.
Download Free InfographicIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
EgressRuleNumberNetworkAclId