pub struct RuleGroup {
pub rule_group_name: String,
pub rule_group_arn: String,
pub rule_group_id: String,
pub rule_group_type: String,
pub capacity: i32,
pub description: Option<String>,
pub tags: Vec<(String, String)>,
pub rule_group_body: Option<Value>,
pub rules: Option<String>,
pub encryption_configuration: Option<Value>,
}Expand description
A Network Firewall rule group resource.
Fields§
§rule_group_name: String§rule_group_arn: String§rule_group_id: String§rule_group_type: String§capacity: i32§description: Option<String>§rule_group_body: Option<Value>Raw rule group body stored as JSON value.
rules: Option<String>Raw rules string (Suricata format).
encryption_configuration: Option<Value>Trait Implementations§
Source§impl From<&RuleGroup> for RuleGroupView
impl From<&RuleGroup> for RuleGroupView
Source§impl From<RuleGroupView> for RuleGroup
impl From<RuleGroupView> for RuleGroup
Source§fn from(v: RuleGroupView) -> Self
fn from(v: RuleGroupView) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RuleGroup
impl RefUnwindSafe for RuleGroup
impl Send for RuleGroup
impl Sync for RuleGroup
impl Unpin for RuleGroup
impl UnsafeUnpin for RuleGroup
impl UnwindSafe for RuleGroup
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.