aws-cdk-lib.aws_ec2.CfnNetworkAclEntry.IcmpProperty

interface IcmpProperty

LanguageType name
.NETAmazon.CDK.AWS.EC2.CfnNetworkAclEntry.IcmpProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnNetworkAclEntry_IcmpProperty
Javasoftware.amazon.awscdk.services.ec2.CfnNetworkAclEntry.IcmpProperty
Pythonaws_cdk.aws_ec2.CfnNetworkAclEntry.IcmpProperty
TypeScript aws-cdk-lib » aws_ec2 » CfnNetworkAclEntry » IcmpProperty

Describes the ICMP type and code.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const icmpProperty: ec2.CfnNetworkAclEntry.IcmpProperty = {
  code: 123,
  type: 123,
};

Properties

NameTypeDescription
code?numberThe Internet Control Message Protocol (ICMP) code.
type?numberThe Internet Control Message Protocol (ICMP) type.

code?

Type: number (optional)

The Internet Control Message Protocol (ICMP) code.

You can use -1 to specify all ICMP codes for the given ICMP type. Requirement is conditional: Required if you specify 1 (ICMP) for the protocol parameter.


type?

Type: number (optional)

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.