@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.100Z") @Stability(value=Stable) public interface AclIcmp 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.*;
AclIcmp aclIcmp = AclIcmp.builder()
.code(123)
.type(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
AclIcmp.Builder
A builder for
AclIcmp |
static class |
AclIcmp.Jsii$Proxy
An implementation for
AclIcmp |
| Modifier and Type | Method and Description |
|---|---|
static AclIcmp.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 AclIcmp.Builder builder()
AclIcmp.Builder of AclIcmpCopyright © 2022. All rights reserved.