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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.CfnNetworkAclEntryProps
CfnNetworkAclEntryProps.Builder, CfnNetworkAclEntryProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnNetworkAclEntryProps.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 String
The IPv4 CIDR range to allow or deny, in CIDR notation (for example, 172.16.0.0/24).final Object
Whether this rule applies to egress traffic from the subnet (true
) or ingress traffic to the subnet (false
).final Object
getIcmp()
The Internet Control Message Protocol (ICMP) code and type.final String
The IPv6 network range to allow or deny, in CIDR notation.final String
The ID of the ACL for the entry.final Object
The range of port numbers for the UDP/TCP protocol.final Number
The IP protocol that the rule applies to.final String
Whether to allow or deny traffic that matches the rule;final Number
Rule number to assign to the entry, such as 100.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 theCfnNetworkAclEntryProps.Builder
.
-
-
Method Details
-
getNetworkAclId
Description copied from interface:CfnNetworkAclEntryProps
The ID of the ACL for the entry.- Specified by:
getNetworkAclId
in interfaceCfnNetworkAclEntryProps
-
getProtocol
Description copied from interface:CfnNetworkAclEntryProps
The 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
PortRange
property is ignored.- Specified by:
getProtocol
in interfaceCfnNetworkAclEntryProps
-
getRuleAction
Description copied from interface:CfnNetworkAclEntryProps
Whether to allow or deny traffic that matches the rule;valid values are "allow" or "deny".
- Specified by:
getRuleAction
in interfaceCfnNetworkAclEntryProps
-
getRuleNumber
Description copied from interface:CfnNetworkAclEntryProps
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 interfaceCfnNetworkAclEntryProps
-
getCidrBlock
Description copied from interface:CfnNetworkAclEntryProps
The IPv4 CIDR range to allow or deny, in CIDR notation (for example, 172.16.0.0/24). Requirement is conditional: You must specify theCidrBlock
orIpv6CidrBlock
property.- Specified by:
getCidrBlock
in interfaceCfnNetworkAclEntryProps
-
getEgress
Description copied from interface:CfnNetworkAclEntryProps
Whether 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:
getEgress
in interfaceCfnNetworkAclEntryProps
-
getIcmp
Description copied from interface:CfnNetworkAclEntryProps
The Internet Control Message Protocol (ICMP) code and type.Requirement is conditional: Required if specifying 1 (ICMP) for the protocol parameter.
- Specified by:
getIcmp
in interfaceCfnNetworkAclEntryProps
-
getIpv6CidrBlock
Description copied from interface:CfnNetworkAclEntryProps
The IPv6 network range to allow or deny, in CIDR notation.Requirement is conditional: You must specify the
CidrBlock
orIpv6CidrBlock
property.- Specified by:
getIpv6CidrBlock
in interfaceCfnNetworkAclEntryProps
-
getPortRange
Description copied from interface:CfnNetworkAclEntryProps
The range of port numbers for the UDP/TCP protocol.Conditional required if specifying 6 (TCP) or 17 (UDP) for the protocol parameter.
- Specified by:
getPortRange
in interfaceCfnNetworkAclEntryProps
-
$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()
-