Skip to content
v2.273.0

AclIcmp Struct ​

Properties to create Icmp.

Example ​

ts
// 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 aclIcmp: ec2.AclIcmp = {
  code: 123,
  type: 123,
};

Properties ​

codenumbercodeint | floatcodeNumberCodedoubleCode*float64#
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.

typenumbertypeint | floattypeNumberTypedoubleType*float64#
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.