Class AclIcmp
Properties to create Icmp.
Inheritance
System.Object
AclIcmp
Implements
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class AclIcmp : Object, IAclIcmp
Syntax (vb)
Public Class AclIcmp
Inherits Object
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
Code | The Internet Control Message Protocol (ICMP) code. |
Type | The Internet Control Message Protocol (ICMP) type. |
Constructors
AclIcmp()
public AclIcmp()
Properties
Code
The Internet Control Message Protocol (ICMP) code.
public Nullable<double> Code { get; set; }
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.
public Nullable<double> Type { get; set; }
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.