Interface IAclIcmp
Properties to create Icmp.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAclIcmp
Syntax (vb)
Public Interface 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
Properties
Code | The Internet Control Message Protocol (ICMP) code. |
Type | The Internet Control Message Protocol (ICMP) type. |
Properties
Code
The Internet Control Message Protocol (ICMP) code.
virtual Nullable<double> Code { get; }
Property Value
System.Nullable<System.Double>
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.
virtual Nullable<double> Type { get; }
Property Value
System.Nullable<System.Double>
Remarks
You can use -1 to specify all ICMP types. Conditional requirement: Required if you specify 1 (ICMP) for the CreateNetworkAclEntry protocol parameter.