Struct aws_sdk_networkfirewall::model::ActionDefinition
source · [−]#[non_exhaustive]pub struct ActionDefinition { /* private fields */ }
Expand description
A custom action to use in stateless rule actions settings. This is used in CustomAction
.
Implementations
sourceimpl ActionDefinition
impl ActionDefinition
sourcepub fn publish_metric_action(&self) -> Option<&PublishMetricAction>
pub fn publish_metric_action(&self) -> Option<&PublishMetricAction>
Stateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the matching packet. This setting defines a CloudWatch dimension value to be published.
You can pair this custom action with any of the standard stateless rule actions. For example, you could pair this in a rule action with the standard action that forwards the packet for stateful inspection. Then, when a packet matches the rule, Network Firewall publishes metrics for the packet and forwards it.
sourceimpl ActionDefinition
impl ActionDefinition
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ActionDefinition
.
Trait Implementations
sourceimpl Clone for ActionDefinition
impl Clone for ActionDefinition
sourcefn clone(&self) -> ActionDefinition
fn clone(&self) -> ActionDefinition
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ActionDefinition
impl Debug for ActionDefinition
sourceimpl PartialEq<ActionDefinition> for ActionDefinition
impl PartialEq<ActionDefinition> for ActionDefinition
sourcefn eq(&self, other: &ActionDefinition) -> bool
fn eq(&self, other: &ActionDefinition) -> bool
impl StructuralPartialEq for ActionDefinition
Auto Trait Implementations
impl RefUnwindSafe for ActionDefinition
impl Send for ActionDefinition
impl Sync for ActionDefinition
impl Unpin for ActionDefinition
impl UnwindSafe for ActionDefinition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more