Class AclIcmp
Properties to create Icmp.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AclIcmp : IAclIcmp
Syntax (vb)
Public Class AclIcmp Implements IAclIcmp
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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
};
Synopsis
Constructors
| AclIcmp() | Properties to create Icmp. |
Properties
| Code | The Internet Control Message Protocol (ICMP) code. |
| Type | The Internet Control Message Protocol (ICMP) type. |
Constructors
AclIcmp()
Properties to create Icmp.
public AclIcmp()
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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
};
Properties
Code
The Internet Control Message Protocol (ICMP) code.
public double? Code { get; set; }
Property Value
Remarks
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
The Internet Control Message Protocol (ICMP) type.
public double? Type { get; set; }
Property Value
Remarks
You can use -1 to specify all ICMP types. Conditional requirement: Required if you specify 1 (ICMP) for the CreateNetworkAclEntry protocol parameter.