[][src]Struct rusoto_ec2::CreateTrafficMirrorFilterRuleRequest

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: String

The 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: String

The action to take (accept | reject) on the filtered traffic.

rule_number: i64

The 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: String

The source CIDR block to assign to the Traffic Mirror rule.

source_port_range: Option<TrafficMirrorPortRangeRequest>

The source port range.

traffic_direction: String

The type of traffic (ingress | egress).

traffic_mirror_filter_id: String

The ID of the filter that this rule is associated with.

Trait Implementations

impl Clone for CreateTrafficMirrorFilterRuleRequest[src]

impl Debug for CreateTrafficMirrorFilterRuleRequest[src]

impl Default for CreateTrafficMirrorFilterRuleRequest[src]

impl PartialEq<CreateTrafficMirrorFilterRuleRequest> for CreateTrafficMirrorFilterRuleRequest[src]

impl StructuralPartialEq for CreateTrafficMirrorFilterRuleRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.