public static final class CommonNetworkAclEntryOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CommonNetworkAclEntryOptions
CommonNetworkAclEntryOptions
CommonNetworkAclEntryOptions.Builder, CommonNetworkAclEntryOptions.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
AclCidr |
getCidr()
The CIDR range to allow or deny.
|
TrafficDirection |
getDirection()
Traffic direction, with respect to the subnet, this rule applies to.
|
java.lang.String |
getNetworkAclEntryName()
The name of the NetworkAclEntry.
|
Action |
getRuleAction()
Whether to allow or deny traffic that matches the rule; valid values are "allow" or "deny".
|
java.lang.Number |
getRuleNumber()
Rule number to assign to the entry, such as 100.
|
AclTraffic |
getTraffic()
What kind of traffic this ACL rule applies to.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final AclCidr getCidr()
CommonNetworkAclEntryOptions
getCidr
in interface CommonNetworkAclEntryOptions
public final java.lang.Number getRuleNumber()
CommonNetworkAclEntryOptions
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.
getRuleNumber
in interface CommonNetworkAclEntryOptions
public final AclTraffic getTraffic()
CommonNetworkAclEntryOptions
getTraffic
in interface CommonNetworkAclEntryOptions
public final TrafficDirection getDirection()
CommonNetworkAclEntryOptions
Default: TrafficDirection.INGRESS
getDirection
in interface CommonNetworkAclEntryOptions
public final java.lang.String getNetworkAclEntryName()
CommonNetworkAclEntryOptions
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.
getNetworkAclEntryName
in interface CommonNetworkAclEntryOptions
public final Action getRuleAction()
CommonNetworkAclEntryOptions
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
getRuleAction
in interface CommonNetworkAclEntryOptions
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()