@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:06.486Z") @Stability(value=Experimental) public interface AclTrafficConfig extends software.amazon.jsii.JsiiSerializable
Modifier and Type | Interface and Description |
---|---|
static class |
AclTrafficConfig.Builder
A builder for
AclTrafficConfig |
static class |
AclTrafficConfig.Jsii$Proxy
An implementation for
AclTrafficConfig |
Modifier and Type | Method and Description |
---|---|
static AclTrafficConfig.Builder |
builder() |
default AclIcmp |
getIcmp()
(experimental) The Internet Control Message Protocol (ICMP) code and type.
|
default AclPortRange |
getPortRange()
(experimental) The range of port numbers for the UDP/TCP protocol.
|
Number |
getProtocol()
(experimental) The protocol number.
|
@Stability(value=Experimental) @NotNull Number getProtocol()
A value of "-1" means all protocols.
If you specify "-1" or a protocol number other than "6" (TCP), "17" (UDP), or "1" (ICMP), traffic on all ports is allowed, regardless of any ports or ICMP types or codes that you specify.
If you specify protocol "58" (ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP types and codes allowed, regardless of any that you specify. If you specify protocol "58" (ICMPv6) and specify an IPv6 CIDR block, you must specify an ICMP type and code.
Default: 17
@Stability(value=Experimental) @Nullable default AclIcmp getIcmp()
Default: - Required if specifying 1 (ICMP) for the protocol parameter.
@Stability(value=Experimental) @Nullable default AclPortRange getPortRange()
Default: - Required if specifying 6 (TCP) or 17 (UDP) for the protocol parameter
@Stability(value=Experimental) static AclTrafficConfig.Builder builder()
AclTrafficConfig.Builder
of AclTrafficConfig
Copyright © 2021. All rights reserved.