Interface CfnNetworkAclEntry.IIcmpProperty
Describes the ICMP type and code.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public interface IIcmpProperty
Syntax (vb)
Public Interface IIcmpProperty
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 icmpProperty = new IcmpProperty {
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.