Struct aws_lambda_events::event::config::ConfigEvent
source · [−]pub struct ConfigEvent {
pub account_id: Option<String>,
pub config_rule_arn: Option<String>,
pub config_rule_id: Option<String>,
pub config_rule_name: Option<String>,
pub event_left_scope: bool,
pub execution_role_arn: Option<String>,
pub invoking_event: Option<String>,
pub result_token: Option<String>,
pub rule_parameters: Option<String>,
pub version: Option<String>,
}
Expand description
ConfigEvent
contains data from an event sent from AWS Config
Fields
account_id: Option<String>
The ID of the AWS account that owns the rule
config_rule_arn: Option<String>
The ARN that AWS Config assigned to the rule
nolint:stylecheck
config_rule_id: Option<String>
nolint:stylecheck
config_rule_name: Option<String>
The name that you assigned to the rule that caused AWS Config to publish the event
event_left_scope: bool
A boolean value that indicates whether the AWS resource to be evaluated has been removed from the rule’s scope
execution_role_arn: Option<String>
nolint:stylecheck
invoking_event: Option<String>
If the event is published in response to a resource configuration change, this value contains a JSON configuration item
result_token: Option<String>
A token that the function must pass to AWS Config with the PutEvaluations call
rule_parameters: Option<String>
Key/value pairs that the function processes as part of its evaluation logic
version: Option<String>
Trait Implementations
sourceimpl Clone for ConfigEvent
impl Clone for ConfigEvent
sourcefn clone(&self) -> ConfigEvent
fn clone(&self) -> ConfigEvent
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 more
sourceimpl Debug for ConfigEvent
impl Debug for ConfigEvent
sourceimpl<'de> Deserialize<'de> for ConfigEvent
impl<'de> Deserialize<'de> for ConfigEvent
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<ConfigEvent> for ConfigEvent
impl PartialEq<ConfigEvent> for ConfigEvent
sourcefn eq(&self, other: &ConfigEvent) -> bool
fn eq(&self, other: &ConfigEvent) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ConfigEvent) -> bool
fn ne(&self, other: &ConfigEvent) -> bool
This method tests for !=
.
sourceimpl Serialize for ConfigEvent
impl Serialize for ConfigEvent
impl StructuralPartialEq for ConfigEvent
Auto Trait Implementations
impl RefUnwindSafe for ConfigEvent
impl Send for ConfigEvent
impl Sync for ConfigEvent
impl Unpin for ConfigEvent
impl UnwindSafe for ConfigEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more