Interface AclIcmp
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AclIcmp.Jsii$Proxy
@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)",
date="2024-07-12T19:34:00.380Z")
@Stability(Stable)
public interface AclIcmp
extends software.amazon.jsii.JsiiSerializable
Properties to create Icmp.
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();
-
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
- Returns:
- a
AclIcmp.Builder
ofAclIcmp
-