Interface AclPortRange

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:38.368Z") @Stability(Stable) public interface AclPortRange extends software.amazon.jsii.JsiiSerializable
Properties to create PortRange.

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.*;
 AclPortRange aclPortRange = AclPortRange.builder()
         .from(123)
         .to(123)
         .build();
 
  • Method Details

    • getFrom

      @Stability(Stable) @Nullable default Number getFrom()
      The first port in the range.

      Required if you specify 6 (TCP) or 17 (UDP) for the protocol parameter.

    • getTo

      @Stability(Stable) @Nullable default Number getTo()
      The last port in the range.

      Required if you specify 6 (TCP) or 17 (UDP) for the protocol parameter.

    • builder

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