@Stability(value=Experimental) public static final class CommonNetworkAclEntryOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CommonNetworkAclEntryOptions
CommonNetworkAclEntryOptions
software.amazon.jsii.JsiiObject.InitializationMode
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(Object o) |
AclCidr |
getCidr()
The CIDR range to allow or deny.
|
TrafficDirection |
getDirection()
Traffic direction, with respect to the subnet, this rule applies to.
|
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".
|
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() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet
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 AclCidr getCidr()
CommonNetworkAclEntryOptions
EXPERIMENTAL
getCidr
in interface CommonNetworkAclEntryOptions
public 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.
EXPERIMENTAL
getRuleNumber
in interface CommonNetworkAclEntryOptions
public AclTraffic getTraffic()
CommonNetworkAclEntryOptions
EXPERIMENTAL
getTraffic
in interface CommonNetworkAclEntryOptions
public TrafficDirection getDirection()
CommonNetworkAclEntryOptions
Default: TrafficDirection.INGRESS
EXPERIMENTAL
getDirection
in interface CommonNetworkAclEntryOptions
public 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.
EXPERIMENTAL
getNetworkAclEntryName
in interface CommonNetworkAclEntryOptions
public 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
EXPERIMENTAL
getRuleAction
in interface CommonNetworkAclEntryOptions
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson
in interface software.amazon.jsii.JsiiSerializable
Copyright © 2020. All rights reserved.