pub struct CreateTrafficMirrorFilterRuleRequest {
pub client_token: Option<String>,
pub description: Option<String>,
pub destination_cidr_block: String,
pub destination_port_range: Option<TrafficMirrorPortRangeRequest>,
pub dry_run: Option<bool>,
pub protocol: Option<i64>,
pub rule_action: String,
pub rule_number: i64,
pub source_cidr_block: String,
pub source_port_range: Option<TrafficMirrorPortRangeRequest>,
pub traffic_direction: String,
pub traffic_mirror_filter_id: String,
}Fields§
§client_token: Option<String>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
description: Option<String>The description of the Traffic Mirror rule.
destination_cidr_block: StringThe destination CIDR block to assign to the Traffic Mirror rule.
destination_port_range: Option<TrafficMirrorPortRangeRequest>The destination port range.
dry_run: Option<bool>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
protocol: Option<i64>The protocol, for example UDP, to assign to the Traffic Mirror rule.
For information about the protocol value, see Protocol Numbers on the Internet Assigned Numbers Authority (IANA) website.
rule_action: StringThe action to take (accept | reject) on the filtered traffic.
rule_number: i64The number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given direction. The rules are processed in ascending order by rule number.
source_cidr_block: StringThe source CIDR block to assign to the Traffic Mirror rule.
source_port_range: Option<TrafficMirrorPortRangeRequest>The source port range.
traffic_direction: StringThe type of traffic (ingress | egress).
traffic_mirror_filter_id: StringThe ID of the filter that this rule is associated with.
Trait Implementations§
Source§impl Clone for CreateTrafficMirrorFilterRuleRequest
impl Clone for CreateTrafficMirrorFilterRuleRequest
Source§fn clone(&self) -> CreateTrafficMirrorFilterRuleRequest
fn clone(&self) -> CreateTrafficMirrorFilterRuleRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for CreateTrafficMirrorFilterRuleRequest
impl Default for CreateTrafficMirrorFilterRuleRequest
Source§fn default() -> CreateTrafficMirrorFilterRuleRequest
fn default() -> CreateTrafficMirrorFilterRuleRequest
Source§impl PartialEq for CreateTrafficMirrorFilterRuleRequest
impl PartialEq for CreateTrafficMirrorFilterRuleRequest
Source§fn eq(&self, other: &CreateTrafficMirrorFilterRuleRequest) -> bool
fn eq(&self, other: &CreateTrafficMirrorFilterRuleRequest) -> bool
self and other values to be equal, and is used by ==.