@Stability(value=Stable) @Internal public static final class CfnRuleGroup.HeaderProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnRuleGroup.HeaderProperty
CfnRuleGroup.HeaderPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnRuleGroup.HeaderProperty.Builder, CfnRuleGroup.HeaderProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnRuleGroup.HeaderProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnRuleGroup.ActionDefinitionProperty.Builder. |
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) |
String |
getDestination()
The destination IP address or address range to inspect for, in CIDR notation.
|
String |
getDestinationPort()
The destination port to inspect for.
|
String |
getDirection()
The direction of traffic flow to inspect.
|
String |
getProtocol()
The protocol to inspect for.
|
String |
getSource()
The source IP address or address range to inspect for, in CIDR notation.
|
String |
getSourcePort()
The source port to inspect for.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnRuleGroup.HeaderProperty.Builder builder)
CfnRuleGroup.ActionDefinitionProperty.Builder.public final String getDestination()
CfnRuleGroup.HeaderProperty
To match with any address, specify ANY .
Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.
Examples:
192.0.2.44/32 .192.0.2.0/24 .For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing .
getDestination in interface CfnRuleGroup.HeaderPropertypublic final String getDestinationPort()
CfnRuleGroup.HeaderProperty
You can specify an individual port, for example 1994 and you can specify a port range, for example 1990:1994 . To match with any port, specify ANY .
getDestinationPort in interface CfnRuleGroup.HeaderPropertypublic final String getDirection()
CfnRuleGroup.HeaderProperty
If set to ANY , the inspection matches bidirectional traffic, both from the source to the destination and from the destination to the source. If set to FORWARD , the inspection only matches traffic going from the source to the destination.
getDirection in interface CfnRuleGroup.HeaderPropertypublic final String getProtocol()
CfnRuleGroup.HeaderProperty
To specify all, you can use IP , because all traffic on AWS and on the internet is IP.
getProtocol in interface CfnRuleGroup.HeaderPropertypublic final String getSource()
CfnRuleGroup.HeaderProperty
To match with any address, specify ANY .
Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.
Examples:
192.0.2.44/32 .192.0.2.0/24 .For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing .
getSource in interface CfnRuleGroup.HeaderPropertypublic final String getSourcePort()
CfnRuleGroup.HeaderProperty
You can specify an individual port, for example 1994 and you can specify a port range, for example 1990:1994 . To match with any port, specify ANY .
getSourcePort in interface CfnRuleGroup.HeaderProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.