Class CfnNetworkAclEntryProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.CfnNetworkAclEntryProps.Jsii$Proxy
- All Implemented Interfaces:
CfnNetworkAclEntryProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnNetworkAclEntryProps
@Stability(Stable)
@Internal
public static final class CfnNetworkAclEntryProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnNetworkAclEntryProps
An implementation for
CfnNetworkAclEntryProps-
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.CfnNetworkAclEntryProps
CfnNetworkAclEntryProps.Builder, CfnNetworkAclEntryProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnNetworkAclEntryProps.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 StringThe IPv4 CIDR range to allow or deny, in CIDR notation (for example, 172.16.0.0/24).final ObjectWhether this rule applies to egress traffic from the subnet (true) or ingress traffic to the subnet (false).final ObjectgetIcmp()The Internet Control Message Protocol (ICMP) code and type.final StringThe IPv6 network range to allow or deny, in CIDR notation.final StringThe ID of the ACL for the entry.final ObjectThe range of port numbers for the UDP/TCP protocol.final NumberThe IP protocol that the rule applies to.final StringWhether to allow or deny traffic that matches the rule;final NumberRule number to assign to the entry, such as 100.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 theCfnNetworkAclEntryProps.Builder.
-
-
Method Details
-
getNetworkAclId
Description copied from interface:CfnNetworkAclEntryPropsThe ID of the ACL for the entry.- Specified by:
getNetworkAclIdin interfaceCfnNetworkAclEntryProps
-
getProtocol
Description copied from interface:CfnNetworkAclEntryPropsThe IP protocol that the rule applies to.You must specify -1 or a protocol number. You can specify -1 for all protocols.
If you specify -1, all ports are opened and the
PortRangeproperty is ignored.- Specified by:
getProtocolin interfaceCfnNetworkAclEntryProps
-
getRuleAction
Description copied from interface:CfnNetworkAclEntryPropsWhether to allow or deny traffic that matches the rule;valid values are "allow" or "deny".
- Specified by:
getRuleActionin interfaceCfnNetworkAclEntryProps
-
getRuleNumber
Description copied from interface:CfnNetworkAclEntryPropsRule 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 interfaceCfnNetworkAclEntryProps
-
getCidrBlock
Description copied from interface:CfnNetworkAclEntryPropsThe IPv4 CIDR range to allow or deny, in CIDR notation (for example, 172.16.0.0/24). Requirement is conditional: You must specify theCidrBlockorIpv6CidrBlockproperty.- Specified by:
getCidrBlockin interfaceCfnNetworkAclEntryProps
-
getEgress
Description copied from interface:CfnNetworkAclEntryPropsWhether this rule applies to egress traffic from the subnet (true) or ingress traffic to the subnet (false).By default, AWS CloudFormation specifies
false.- Specified by:
getEgressin interfaceCfnNetworkAclEntryProps
-
getIcmp
Description copied from interface:CfnNetworkAclEntryPropsThe Internet Control Message Protocol (ICMP) code and type.Requirement is conditional: Required if specifying 1 (ICMP) for the protocol parameter.
- Specified by:
getIcmpin interfaceCfnNetworkAclEntryProps
-
getIpv6CidrBlock
Description copied from interface:CfnNetworkAclEntryPropsThe IPv6 network range to allow or deny, in CIDR notation.Requirement is conditional: You must specify the
CidrBlockorIpv6CidrBlockproperty.- Specified by:
getIpv6CidrBlockin interfaceCfnNetworkAclEntryProps
-
getPortRange
Description copied from interface:CfnNetworkAclEntryPropsThe range of port numbers for the UDP/TCP protocol.Conditional required if specifying 6 (TCP) or 17 (UDP) for the protocol parameter.
- Specified by:
getPortRangein interfaceCfnNetworkAclEntryProps
-
$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()
-