logo
pub struct ConfigurationItem {
Show 18 fields pub account_id: Option<String>, pub arn: Option<String>, pub availability_zone: Option<String>, pub aws_region: Option<String>, pub configuration: Option<String>, pub configuration_item_capture_time: Option<f64>, pub configuration_item_md5_hash: Option<String>, pub configuration_item_status: Option<String>, pub configuration_state_id: Option<String>, pub related_events: Option<Vec<String>>, pub relationships: Option<Vec<Relationship>>, pub resource_creation_time: Option<f64>, pub resource_id: Option<String>, pub resource_name: Option<String>, pub resource_type: Option<String>, pub supplementary_configuration: Option<HashMap<String, String>>, pub tags: Option<HashMap<String, String>>, pub version: Option<String>,
}
Expand description

A list that contains detailed configurations of a specified resource.

Fields

account_id: Option<String>

The 12-digit AWS account ID associated with the resource.

arn: Option<String>

Amazon Resource Name (ARN) associated with the resource.

availability_zone: Option<String>

The Availability Zone associated with the resource.

aws_region: Option<String>

The region where the resource resides.

configuration: Option<String>

The description of the resource configuration.

configuration_item_capture_time: Option<f64>

The time when the configuration recording was initiated.

configuration_item_md5_hash: Option<String>

Unique MD5 hash that represents the configuration item's state.

You can use MD5 hash to compare the states of two or more configuration items that are associated with the same resource.

configuration_item_status: Option<String>

The configuration item status. The valid values are:

  • OK – The resource configuration has been updated

  • ResourceDiscovered – The resource was newly discovered

  • ResourceNotRecorded – The resource was discovered but its configuration was not recorded since the recorder excludes the recording of resources of this type

  • ResourceDeleted – The resource was deleted

  • ResourceDeletedNotRecorded – The resource was deleted but its configuration was not recorded since the recorder excludes the recording of resources of this type

The CIs do not incur any cost.

configuration_state_id: Option<String>

An identifier that indicates the ordering of the configuration items of a resource.

related_events: Option<Vec<String>>

A list of CloudTrail event IDs.

A populated field indicates that the current configuration was initiated by the events recorded in the CloudTrail log. For more information about CloudTrail, see What Is AWS CloudTrail.

An empty field indicates that the current configuration was not initiated by any event. As of Version 1.3, the relatedEvents field is empty. You can access the LookupEvents API in the AWS CloudTrail API Reference to retrieve the events for the resource.

relationships: Option<Vec<Relationship>>

A list of related AWS resources.

resource_creation_time: Option<f64>

The time stamp when the resource was created.

resource_id: Option<String>

The ID of the resource (for example, sg-xxxxxx).

resource_name: Option<String>

The custom name of the resource, if available.

resource_type: Option<String>

The type of AWS resource.

supplementary_configuration: Option<HashMap<String, String>>

Configuration attributes that AWS Config returns for certain resource types to supplement the information returned for the configuration parameter.

tags: Option<HashMap<String, String>>

A mapping of key value tags associated with the resource.

version: Option<String>

The version number of the resource configuration.

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

Returns the “default value” for a type. 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 !=.

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.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

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

Should always be Self

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more