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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.