@Stability(value=Stable)
public static interface CfnNetworkAclEntry.IcmpProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnNetworkAclEntry.IcmpProperty.Builder
A builder for
CfnNetworkAclEntry.IcmpProperty |
static class |
CfnNetworkAclEntry.IcmpProperty.Jsii$Proxy
An implementation for
CfnNetworkAclEntry.IcmpProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnNetworkAclEntry.IcmpProperty.Builder |
builder() |
default Number |
getCode()
The Internet Control Message Protocol (ICMP) code.
|
default Number |
getType()
The Internet Control Message Protocol (ICMP) type.
|
@Stability(value=Stable) @Nullable default Number getCode()
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.
@Stability(value=Stable) @Nullable default Number getType()
You can use -1 to specify all ICMP types. Conditional requirement: Required if you specify 1 (ICMP) for the CreateNetworkAclEntry protocol parameter.
@Stability(value=Stable) static CfnNetworkAclEntry.IcmpProperty.Builder builder()
Copyright © 2022. All rights reserved.