AclIcmp Struct
Properties to create Icmp.
| Source | aws-ec2/lib/network-acl-types.ts |
|---|
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,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2
acl_icmp = ec2.AclIcmp(
code=123,
type=123
)
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var aclIcmp = new AclIcmp {
Code = 123,
Type = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
aclIcmp := &AclIcmp{
Code: jsii.Number(123),
Type: jsii.Number(123),
}
Properties
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.
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.