AWS Fundamentals Logo
AWS Fundamentals
AWS::EC2::NetworkAclEntry

EC2 NetworkAclEntry

Resource Type definition for AWS::EC2::NetworkAclEntry

Properties

9 configurable properties. 4 required. Click a row to see details.

Filter:
PropertyTypeFlags
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

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
Idstring-

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
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: 1

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

ec2:CreateNetworkAclEntryec2:DescribeNetworkAcls

update

ec2:ReplaceNetworkAclEntryec2:DescribeNetworkAcls

delete

ec2:DeleteNetworkAclEntryec2:DescribeNetworkAcls

Get the EC2 Cheat Sheet

Everything you need to know about EC2 on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceEC2
Properties10
Required4
TaggingNot supported
Primary IDId

Supported Operations

CreateUpdateDelete

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

EgressRuleNumberNetworkAclId

External Links