Struct aws_sdk_securityhub::model::RuleGroupSourceStatefulRulesHeaderDetails [−][src]
#[non_exhaustive]pub struct RuleGroupSourceStatefulRulesHeaderDetails {
pub destination: Option<String>,
pub destination_port: Option<String>,
pub direction: Option<String>,
pub protocol: Option<String>,
pub source: Option<String>,
pub source_port: Option<String>,
}Expand description
The inspection criteria for a stateful rule.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.destination: Option<String>The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.
destination_port: Option<String>The destination port to inspect for. You can specify an individual port, such as 1994. You also can specify a port range, such as 1990:1994. To match with any port, specify ANY.
direction: Option<String>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.
protocol: Option<String>The protocol to inspect for. To inspector for all protocols, use IP.
source: Option<String>The source IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.
source_port: Option<String>The source port to inspect for. You can specify an individual port, such as 1994. You also can specify a port range, such as 1990:1994. To match with any port, specify ANY.
Implementations
The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.
The destination port to inspect for. You can specify an individual port, such as 1994. You also can specify a port range, such as 1990:1994. To match with any port, specify ANY.
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.
The protocol to inspect for. To inspector for all protocols, use IP.
The source IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.
The source port to inspect for. You can specify an individual port, such as 1994. You also can specify a port range, such as 1990:1994. To match with any port, specify ANY.
Creates a new builder-style object to manufacture RuleGroupSourceStatefulRulesHeaderDetails
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
