@Generated(value="jsii-pacmak/1.5.0 (build 46538f8)", date="2020-05-21T11:01:44.907Z") @Stability(value=Experimental) public interface CommonNetworkAclEntryOptions extends software.amazon.jsii.JsiiSerializable
EXPERIMENTAL
Modifier and Type | Interface and Description |
---|---|
static class |
CommonNetworkAclEntryOptions.Builder
A builder for
CommonNetworkAclEntryOptions |
static class |
CommonNetworkAclEntryOptions.Jsii$Proxy
An implementation for
CommonNetworkAclEntryOptions |
Modifier and Type | Method and Description |
---|---|
static CommonNetworkAclEntryOptions.Builder |
builder() |
AclCidr |
getCidr()
The CIDR range to allow or deny.
|
default TrafficDirection |
getDirection()
Traffic direction, with respect to the subnet, this rule applies to.
|
default String |
getNetworkAclEntryName()
The name of the NetworkAclEntry.
|
default Action |
getRuleAction()
Whether to allow or deny traffic that matches the rule; valid values are "allow" or "deny".
|
Number |
getRuleNumber()
Rule number to assign to the entry, such as 100.
|
AclTraffic |
getTraffic()
What kind of traffic this ACL rule applies to.
|
@Stability(value=Experimental) @NotNull AclCidr getCidr()
EXPERIMENTAL
@Stability(value=Experimental) @NotNull Number getRuleNumber()
ACL entries are processed in ascending order by rule number. Entries can't use the same rule number unless one is an egress rule and the other is an ingress rule.
EXPERIMENTAL
@Stability(value=Experimental) @NotNull AclTraffic getTraffic()
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default TrafficDirection getDirection()
Default: TrafficDirection.INGRESS
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default String getNetworkAclEntryName()
It is not recommended to use an explicit group name.
Default: If you don't specify a NetworkAclName, AWS CloudFormation generates a unique physical ID and uses that ID for the group name.
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default Action getRuleAction()
Any traffic that is not explicitly allowed is automatically denied in a custom ACL, all traffic is automatically allowed in a default ACL.
Default: ALLOW
EXPERIMENTAL
@Stability(value=Experimental) static CommonNetworkAclEntryOptions.Builder builder()
Copyright © 2020. All rights reserved.