Statement

Struct Statement 

Source
pub struct Statement {
Show 14 fields pub and_statement: Option<Value<AndStatement>>, pub byte_match_statement: Option<Value<ByteMatchStatement>>, pub geo_match_statement: Option<Value<GeoMatchStatement>>, pub ip_set_reference_statement: Option<Value<IPSetReferenceStatement>>, pub label_match_statement: Option<Value<LabelMatchStatement>>, pub managed_rule_group_statement: Option<Value<ManagedRuleGroupStatement>>, pub not_statement: Option<Value<NotStatement>>, pub or_statement: Option<Value<OrStatement>>, pub rate_based_statement: Option<Value<RateBasedStatement>>, pub regex_pattern_set_reference_statement: Option<Value<RegexPatternSetReferenceStatement>>, pub rule_group_reference_statement: Option<Value<RuleGroupReferenceStatement>>, pub size_constraint_statement: Option<Value<SizeConstraintStatement>>, pub sqli_match_statement: Option<Value<SqliMatchStatement>>, pub xss_match_statement: Option<Value<XssMatchStatement>>,
}
Expand description

The AWS::WAFv2::WebACL.Statement property type.

Fields§

§and_statement: Option<Value<AndStatement>>

Property AndStatement.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§byte_match_statement: Option<Value<ByteMatchStatement>>

Property ByteMatchStatement.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§geo_match_statement: Option<Value<GeoMatchStatement>>

Property GeoMatchStatement.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§ip_set_reference_statement: Option<Value<IPSetReferenceStatement>>

Property IPSetReferenceStatement.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§label_match_statement: Option<Value<LabelMatchStatement>>

Property LabelMatchStatement.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§managed_rule_group_statement: Option<Value<ManagedRuleGroupStatement>>

Property ManagedRuleGroupStatement.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§not_statement: Option<Value<NotStatement>>

Property NotStatement.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§or_statement: Option<Value<OrStatement>>

Property OrStatement.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§rate_based_statement: Option<Value<RateBasedStatement>>

Property RateBasedStatement.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§regex_pattern_set_reference_statement: Option<Value<RegexPatternSetReferenceStatement>>

Property RegexPatternSetReferenceStatement.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§rule_group_reference_statement: Option<Value<RuleGroupReferenceStatement>>

Property RuleGroupReferenceStatement.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§size_constraint_statement: Option<Value<SizeConstraintStatement>>

Property SizeConstraintStatement.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§sqli_match_statement: Option<Value<SqliMatchStatement>>

Property SqliMatchStatement.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§xss_match_statement: Option<Value<XssMatchStatement>>

Property XssMatchStatement.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

Trait Implementations§

Source§

impl Debug for Statement

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Statement

Source§

fn default() -> Statement

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.