aws-cdk-lib.aws_ec2.AclIcmp

interface AclIcmp

LanguageType name
.NETAmazon.CDK.AWS.EC2.AclIcmp
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#AclIcmp
Javasoftware.amazon.awscdk.services.ec2.AclIcmp
Pythonaws_cdk.aws_ec2.AclIcmp
TypeScript (source)aws-cdk-lib » aws_ec2 » AclIcmp

Properties to create Icmp.

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 aclIcmp: ec2.AclIcmp = {
  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.