This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html). # AWS::EC2::NetworkAclEntry Icmp Describes the ICMP type and code. ## Syntax To declare this entity in your CloudFormation template, use the following syntax: ### JSON ``` { "[Code](#cfn-ec2-networkaclentry-icmp-code)" : {{Integer}}, "[Type](#cfn-ec2-networkaclentry-icmp-type)" : {{Integer}} } ``` ### YAML ``` [Code](#cfn-ec2-networkaclentry-icmp-code): {{Integer}} [Type](#cfn-ec2-networkaclentry-icmp-type): {{Integer}} ``` ## Properties `Code` The Internet Control Message Protocol (ICMP) code. You can use -1 to specify all ICMP codes for the given ICMP type. Required if you specify 1 (ICMP) for the protocol parameter. *Required*: Conditional *Type*: Integer *Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) `Type` The Internet Control Message Protocol (ICMP) type. You can use -1 to specify all ICMP types. Conditional requirement: Required if you specify 1 (ICMP) for the `CreateNetworkAclEntry` protocol parameter. *Required*: No *Type*: Integer *Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)