@Stability(value=Experimental) @Internal public static final class CommonNetworkAclEntryOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CommonNetworkAclEntryOptions
CommonNetworkAclEntryOptionssoftware.amazon.jsii.JsiiObject.InitializationModeCommonNetworkAclEntryOptions.Builder, CommonNetworkAclEntryOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(AclCidr cidr,
Number ruleNumber,
AclTraffic traffic,
TrafficDirection direction,
String networkAclEntryName,
Action ruleAction)
Constructor that initializes the object based on literal property values passed by the
CommonNetworkAclEntryOptions.Builder. |
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(Object o) |
AclCidr |
getCidr()
(experimental) The CIDR range to allow or deny.
|
TrafficDirection |
getDirection()
(experimental) Traffic direction, with respect to the subnet, this rule applies to.
|
String |
getNetworkAclEntryName()
(experimental) The name of the NetworkAclEntry.
|
Action |
getRuleAction()
(experimental) Whether to allow or deny traffic that matches the rule; valid values are "allow" or "deny".
|
Number |
getRuleNumber()
(experimental) Rule number to assign to the entry, such as 100.
|
AclTraffic |
getTraffic()
(experimental) What kind of traffic this ACL rule applies to.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(AclCidr cidr, Number ruleNumber, AclTraffic traffic, TrafficDirection direction, String networkAclEntryName, Action ruleAction)
CommonNetworkAclEntryOptions.Builder.public final AclCidr getCidr()
CommonNetworkAclEntryOptionsgetCidr in interface CommonNetworkAclEntryOptionspublic final Number getRuleNumber()
CommonNetworkAclEntryOptionsACL 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 CommonNetworkAclEntryOptionspublic final AclTraffic getTraffic()
CommonNetworkAclEntryOptionsgetTraffic in interface CommonNetworkAclEntryOptionspublic final TrafficDirection getDirection()
CommonNetworkAclEntryOptionsDefault: TrafficDirection.INGRESS
getDirection in interface CommonNetworkAclEntryOptionspublic final String getNetworkAclEntryName()
CommonNetworkAclEntryOptionsIt 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 CommonNetworkAclEntryOptionspublic final Action getRuleAction()
CommonNetworkAclEntryOptionsAny 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@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.