RuleGroupHeaderArgs

data class RuleGroupHeaderArgs(val destination: Output<String>, val destinationPort: Output<String>, val direction: Output<RuleGroupHeaderDirection>, val protocol: Output<RuleGroupHeaderProtocol>, val source: Output<String>, val sourcePort: Output<String>) : ConvertibleToJava<RuleGroupHeaderArgs>

Constructors

Link copied to clipboard
constructor(destination: Output<String>, destinationPort: Output<String>, direction: Output<RuleGroupHeaderDirection>, protocol: Output<RuleGroupHeaderProtocol>, source: Output<String>, sourcePort: Output<String>)

Properties

Link copied to clipboard
val destination: Output<String>

The destination IP address or address range to inspect for, in CIDR notation. 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 and IPv6. Examples:

Link copied to clipboard
val destinationPort: Output<String>

The destination port to inspect for. 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 .

Link copied to clipboard

The direction of traffic flow to inspect. 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.

Link copied to clipboard

The protocol to inspect for. To specify all, you can use IP , because all traffic on AWS and on the internet is IP.

Link copied to clipboard
val source: Output<String>

The source IP address or address range to inspect for, in CIDR notation. 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 and IPv6. Examples:

Link copied to clipboard
val sourcePort: Output<String>

The source port to inspect for. 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 .

Functions

Link copied to clipboard
open override fun toJava(): RuleGroupHeaderArgs