Struct aws_sdk_ec2::model::TrafficMirrorFilterRule[][src]

#[non_exhaustive]
pub struct TrafficMirrorFilterRule { pub traffic_mirror_filter_rule_id: Option<String>, pub traffic_mirror_filter_id: Option<String>, pub traffic_direction: Option<TrafficDirection>, pub rule_number: Option<i32>, pub rule_action: Option<TrafficMirrorRuleAction>, pub protocol: Option<i32>, pub destination_port_range: Option<TrafficMirrorPortRange>, pub source_port_range: Option<TrafficMirrorPortRange>, pub destination_cidr_block: Option<String>, pub source_cidr_block: Option<String>, pub description: Option<String>, }
Expand description

Describes the Traffic Mirror rule.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
traffic_mirror_filter_rule_id: Option<String>

The ID of the Traffic Mirror rule.

traffic_mirror_filter_id: Option<String>

The ID of the Traffic Mirror filter that the rule is associated with.

traffic_direction: Option<TrafficDirection>

The traffic direction assigned to the Traffic Mirror rule.

rule_number: Option<i32>

The rule number of the Traffic Mirror rule.

rule_action: Option<TrafficMirrorRuleAction>

The action assigned to the Traffic Mirror rule.

protocol: Option<i32>

The protocol assigned to the Traffic Mirror rule.

destination_port_range: Option<TrafficMirrorPortRange>

The destination port range assigned to the Traffic Mirror rule.

source_port_range: Option<TrafficMirrorPortRange>

The source port range assigned to the Traffic Mirror rule.

destination_cidr_block: Option<String>

The destination CIDR block assigned to the Traffic Mirror rule.

source_cidr_block: Option<String>

The source CIDR block assigned to the Traffic Mirror rule.

description: Option<String>

The description of the Traffic Mirror rule.

Implementations

The ID of the Traffic Mirror rule.

The ID of the Traffic Mirror filter that the rule is associated with.

The traffic direction assigned to the Traffic Mirror rule.

The rule number of the Traffic Mirror rule.

The action assigned to the Traffic Mirror rule.

The protocol assigned to the Traffic Mirror rule.

The destination port range assigned to the Traffic Mirror rule.

The source port range assigned to the Traffic Mirror rule.

The destination CIDR block assigned to the Traffic Mirror rule.

The source CIDR block assigned to the Traffic Mirror rule.

The description of the Traffic Mirror rule.

Creates a new builder-style object to manufacture TrafficMirrorFilterRule

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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