@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.100Z") @Stability(value=Stable) public interface AclPortRange 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.*;
AclPortRange aclPortRange = AclPortRange.builder()
.from(123)
.to(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
AclPortRange.Builder
A builder for
AclPortRange |
static class |
AclPortRange.Jsii$Proxy
An implementation for
AclPortRange |
| Modifier and Type | Method and Description |
|---|---|
static AclPortRange.Builder |
builder() |
default Number |
getFrom()
The first port in the range.
|
default Number |
getTo()
The last port in the range.
|
@Stability(value=Stable) @Nullable default Number getFrom()
Required if you specify 6 (TCP) or 17 (UDP) for the protocol parameter.
@Stability(value=Stable) @Nullable default Number getTo()
Required if you specify 6 (TCP) or 17 (UDP) for the protocol parameter.
@Stability(value=Stable) static AclPortRange.Builder builder()
AclPortRange.Builder of AclPortRangeCopyright © 2022. All rights reserved.