@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.101Z") @Stability(value=Stable) public abstract class AclTraffic extends software.amazon.jsii.JsiiObject
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.*; AclTraffic aclTraffic = AclTraffic.allTraffic();
| Modifier | Constructor and Description |
|---|---|
protected |
AclTraffic() |
protected |
AclTraffic(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
AclTraffic(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static AclTraffic |
allTraffic()
Apply the ACL entry to all traffic.
|
static AclTraffic |
icmp(AclIcmp props)
Apply the ACL entry to ICMP traffic of given type and code.
|
static AclTraffic |
icmpv6(AclIcmp props)
Apply the ACL entry to ICMPv6 traffic of given type and code.
|
static AclTraffic |
tcpPort(Number port)
Apply the ACL entry to TCP traffic on a given port.
|
static AclTraffic |
tcpPortRange(Number startPort,
Number endPort)
Apply the ACL entry to TCP traffic on a given port range.
|
abstract AclTrafficConfig |
toTrafficConfig() |
static AclTraffic |
udpPort(Number port)
Apply the ACL entry to UDP traffic on a given port.
|
static AclTraffic |
udpPortRange(Number startPort,
Number endPort)
Apply the ACL entry to UDP traffic on a given port range.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected AclTraffic(software.amazon.jsii.JsiiObjectRef objRef)
protected AclTraffic(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) protected AclTraffic()
@Stability(value=Stable) @NotNull public static AclTraffic allTraffic()
@Stability(value=Stable) @NotNull public static AclTraffic icmp(@NotNull AclIcmp props)
props - This parameter is required.@Stability(value=Stable) @NotNull public static AclTraffic icmpv6(@NotNull AclIcmp props)
Requires an IPv6 CIDR block.
props - This parameter is required.@Stability(value=Stable) @NotNull public static AclTraffic tcpPort(@NotNull Number port)
port - This parameter is required.@Stability(value=Stable) @NotNull public static AclTraffic tcpPortRange(@NotNull Number startPort, @NotNull Number endPort)
startPort - This parameter is required.endPort - This parameter is required.@Stability(value=Stable) @NotNull public static AclTraffic udpPort(@NotNull Number port)
port - This parameter is required.@Stability(value=Stable) @NotNull public static AclTraffic udpPortRange(@NotNull Number startPort, @NotNull Number endPort)
startPort - This parameter is required.endPort - This parameter is required.@Stability(value=Stable) @NotNull public abstract AclTrafficConfig toTrafficConfig()
Copyright © 2022. All rights reserved.