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§
source§impl Clone for ConfigEvent
impl Clone for ConfigEvent
source§fn clone(&self) -> ConfigEvent
fn clone(&self) -> ConfigEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConfigEvent
impl Debug for ConfigEvent
source§impl<'de> Deserialize<'de> for ConfigEvent
impl<'de> Deserialize<'de> for ConfigEvent
source§fn 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
source§impl PartialEq for ConfigEvent
impl PartialEq for ConfigEvent
source§fn 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 ==
.source§impl Serialize for ConfigEvent
impl Serialize for ConfigEvent
impl Eq for ConfigEvent
impl StructuralPartialEq for ConfigEvent
Auto Trait Implementations§
impl Freeze for ConfigEvent
impl RefUnwindSafe for ConfigEvent
impl Send for ConfigEvent
impl Sync for ConfigEvent
impl Unpin for ConfigEvent
impl UnwindSafe for ConfigEvent
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