Class CommonNetworkAclEntryOptions.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.CommonNetworkAclEntryOptions.Jsii$Proxy
- All Implemented Interfaces:
CommonNetworkAclEntryOptions
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CommonNetworkAclEntryOptions
@Stability(Stable)
@Internal
public static final class CommonNetworkAclEntryOptions.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CommonNetworkAclEntryOptions
An implementation for
CommonNetworkAclEntryOptions
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.CommonNetworkAclEntryOptions
CommonNetworkAclEntryOptions.Builder, CommonNetworkAclEntryOptions.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCommonNetworkAclEntryOptions.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final AclCidr
getCidr()
The CIDR range to allow or deny.final TrafficDirection
Traffic direction, with respect to the subnet, this rule applies to.final String
The name of the NetworkAclEntry.final Action
Whether to allow or deny traffic that matches the rule; valid values are "allow" or "deny".final Number
Rule number to assign to the entry, such as 100.final AclTraffic
What kind of traffic this ACL rule applies to.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCommonNetworkAclEntryOptions.Builder
.
-
-
Method Details
-
getCidr
Description copied from interface:CommonNetworkAclEntryOptions
The CIDR range to allow or deny.- Specified by:
getCidr
in interfaceCommonNetworkAclEntryOptions
-
getRuleNumber
Description copied from interface:CommonNetworkAclEntryOptions
Rule number to assign to the entry, such as 100.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.
- Specified by:
getRuleNumber
in interfaceCommonNetworkAclEntryOptions
-
getTraffic
Description copied from interface:CommonNetworkAclEntryOptions
What kind of traffic this ACL rule applies to.- Specified by:
getTraffic
in interfaceCommonNetworkAclEntryOptions
-
getDirection
Description copied from interface:CommonNetworkAclEntryOptions
Traffic direction, with respect to the subnet, this rule applies to.Default: TrafficDirection.INGRESS
- Specified by:
getDirection
in interfaceCommonNetworkAclEntryOptions
-
getNetworkAclEntryName
Description copied from interface:CommonNetworkAclEntryOptions
The name of the NetworkAclEntry.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.
- Specified by:
getNetworkAclEntryName
in interfaceCommonNetworkAclEntryOptions
-
getRuleAction
Description copied from interface:CommonNetworkAclEntryOptions
Whether to allow or deny traffic that matches the rule; valid values are "allow" or "deny".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
- Specified by:
getRuleAction
in interfaceCommonNetworkAclEntryOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-