Interface AclIcmp

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
AclIcmp.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:38.367Z") @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();
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for AclIcmp
    static final class 
    An implementation for AclIcmp
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default Number
    The Internet Control Message Protocol (ICMP) code.
    default Number
    The Internet Control Message Protocol (ICMP) type.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getCode

      @Stability(Stable) @Nullable default Number 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

      @Stability(Stable) @Nullable default Number 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

      @Stability(Stable) static AclIcmp.Builder builder()
      Returns:
      a AclIcmp.Builder of AclIcmp