Interface CfnNetworkAclEntry.IcmpProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnNetworkAclEntry.IcmpProperty.Jsii$Proxy
- Enclosing class:
- CfnNetworkAclEntry
@Stability(Stable)
public static interface CfnNetworkAclEntry.IcmpProperty
extends software.amazon.jsii.JsiiSerializable
Describes the ICMP type and code.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ec2.*; IcmpProperty icmpProperty = IcmpProperty.builder() .code(123) .type(123) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnNetworkAclEntry.IcmpProperty
static final class
An implementation forCfnNetworkAclEntry.IcmpProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCode
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.
-
getType
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. -
builder
-