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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.CommonNetworkAclEntryOptions
CommonNetworkAclEntryOptions.Builder, CommonNetworkAclEntryOptions.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCommonNetworkAclEntryOptions.Builder.protectedJsii$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.JsonNodefinal booleanfinal AclCidrgetCidr()The CIDR range to allow or deny.final TrafficDirectionTraffic direction, with respect to the subnet, this rule applies to.final StringThe name of the NetworkAclEntry.final ActionWhether to allow or deny traffic that matches the rule; valid values are "allow" or "deny".final NumberRule number to assign to the entry, such as 100.final AclTrafficWhat kind of traffic this ACL rule applies to.final inthashCode()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:CommonNetworkAclEntryOptionsThe CIDR range to allow or deny.- Specified by:
getCidrin interfaceCommonNetworkAclEntryOptions
-
getRuleNumber
Description copied from interface:CommonNetworkAclEntryOptionsRule 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:
getRuleNumberin interfaceCommonNetworkAclEntryOptions
-
getTraffic
Description copied from interface:CommonNetworkAclEntryOptionsWhat kind of traffic this ACL rule applies to.- Specified by:
getTrafficin interfaceCommonNetworkAclEntryOptions
-
getDirection
Description copied from interface:CommonNetworkAclEntryOptionsTraffic direction, with respect to the subnet, this rule applies to.Default: TrafficDirection.INGRESS
- Specified by:
getDirectionin interfaceCommonNetworkAclEntryOptions
-
getNetworkAclEntryName
Description copied from interface:CommonNetworkAclEntryOptionsThe 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:
getNetworkAclEntryNamein interfaceCommonNetworkAclEntryOptions
-
getRuleAction
Description copied from interface:CommonNetworkAclEntryOptionsWhether 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:
getRuleActionin interfaceCommonNetworkAclEntryOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-