interface AclIcmp
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.AclIcmp |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#AclIcmp |
Java | software.amazon.awscdk.services.ec2.AclIcmp |
Python | aws_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
Name | Type | Description |
---|---|---|
code? | number | The Internet Control Message Protocol (ICMP) code. |
type? | number | The 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.