Struct aws_sdk_config::types::BaseConfigurationItem
source · #[non_exhaustive]pub struct BaseConfigurationItem {Show 16 fields
pub version: Option<String>,
pub account_id: Option<String>,
pub configuration_item_capture_time: Option<DateTime>,
pub configuration_item_status: Option<ConfigurationItemStatus>,
pub configuration_state_id: Option<String>,
pub arn: Option<String>,
pub resource_type: Option<ResourceType>,
pub resource_id: Option<String>,
pub resource_name: Option<String>,
pub aws_region: Option<String>,
pub availability_zone: Option<String>,
pub resource_creation_time: Option<DateTime>,
pub configuration: Option<String>,
pub supplementary_configuration: Option<HashMap<String, String>>,
pub recording_frequency: Option<RecordingFrequency>,
pub configuration_item_delivery_time: Option<DateTime>,
}Expand description
The detailed configurations of a specified resource.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.version: Option<String>The version number of the resource configuration.
account_id: Option<String>The 12-digit Amazon Web Services account ID associated with the resource.
configuration_item_capture_time: Option<DateTime>The time when the recording of configuration changes was initiated for the resource.
configuration_item_status: Option<ConfigurationItemStatus>The configuration item status. Valid values include:
-
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 doesn't record resources of this type.
-
ResourceDeleted – The resource was deleted
-
ResourceDeletedNotRecorded – The resource was deleted, but its configuration was not recorded since the recorder doesn't record resources of this type.
configuration_state_id: Option<String>An identifier that indicates the ordering of the configuration items of a resource.
arn: Option<String>The Amazon Resource Name (ARN) of the resource.
resource_type: Option<ResourceType>The type of Amazon Web Services resource.
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.
aws_region: Option<String>The region where the resource resides.
availability_zone: Option<String>The Availability Zone associated with the resource.
resource_creation_time: Option<DateTime>The time stamp when the resource was created.
configuration: Option<String>The description of the resource configuration.
supplementary_configuration: Option<HashMap<String, String>>Configuration attributes that Config returns for certain resource types to supplement the information returned for the configuration parameter.
recording_frequency: Option<RecordingFrequency>The recording frequency that Config uses to record configuration changes for the resource.
configuration_item_delivery_time: Option<DateTime>The time when configuration changes for the resource were delivered.
Implementations§
source§impl BaseConfigurationItem
impl BaseConfigurationItem
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The 12-digit Amazon Web Services account ID associated with the resource.
sourcepub fn configuration_item_capture_time(&self) -> Option<&DateTime>
pub fn configuration_item_capture_time(&self) -> Option<&DateTime>
The time when the recording of configuration changes was initiated for the resource.
sourcepub fn configuration_item_status(&self) -> Option<&ConfigurationItemStatus>
pub fn configuration_item_status(&self) -> Option<&ConfigurationItemStatus>
The configuration item status. Valid values include:
-
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 doesn't record resources of this type.
-
ResourceDeleted – The resource was deleted
-
ResourceDeletedNotRecorded – The resource was deleted, but its configuration was not recorded since the recorder doesn't record resources of this type.
sourcepub fn configuration_state_id(&self) -> Option<&str>
pub fn configuration_state_id(&self) -> Option<&str>
An identifier that indicates the ordering of the configuration items of a resource.
sourcepub fn resource_type(&self) -> Option<&ResourceType>
pub fn resource_type(&self) -> Option<&ResourceType>
The type of Amazon Web Services resource.
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
The ID of the resource (for example., sg-xxxxxx).
sourcepub fn resource_name(&self) -> Option<&str>
pub fn resource_name(&self) -> Option<&str>
The custom name of the resource, if available.
sourcepub fn aws_region(&self) -> Option<&str>
pub fn aws_region(&self) -> Option<&str>
The region where the resource resides.
sourcepub fn availability_zone(&self) -> Option<&str>
pub fn availability_zone(&self) -> Option<&str>
The Availability Zone associated with the resource.
sourcepub fn resource_creation_time(&self) -> Option<&DateTime>
pub fn resource_creation_time(&self) -> Option<&DateTime>
The time stamp when the resource was created.
sourcepub fn configuration(&self) -> Option<&str>
pub fn configuration(&self) -> Option<&str>
The description of the resource configuration.
sourcepub fn supplementary_configuration(&self) -> Option<&HashMap<String, String>>
pub fn supplementary_configuration(&self) -> Option<&HashMap<String, String>>
Configuration attributes that Config returns for certain resource types to supplement the information returned for the configuration parameter.
sourcepub fn recording_frequency(&self) -> Option<&RecordingFrequency>
pub fn recording_frequency(&self) -> Option<&RecordingFrequency>
The recording frequency that Config uses to record configuration changes for the resource.
sourcepub fn configuration_item_delivery_time(&self) -> Option<&DateTime>
pub fn configuration_item_delivery_time(&self) -> Option<&DateTime>
The time when configuration changes for the resource were delivered.
source§impl BaseConfigurationItem
impl BaseConfigurationItem
sourcepub fn builder() -> BaseConfigurationItemBuilder
pub fn builder() -> BaseConfigurationItemBuilder
Creates a new builder-style object to manufacture BaseConfigurationItem.
Trait Implementations§
source§impl Clone for BaseConfigurationItem
impl Clone for BaseConfigurationItem
source§fn clone(&self) -> BaseConfigurationItem
fn clone(&self) -> BaseConfigurationItem
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BaseConfigurationItem
impl Debug for BaseConfigurationItem
source§impl PartialEq for BaseConfigurationItem
impl PartialEq for BaseConfigurationItem
source§fn eq(&self, other: &BaseConfigurationItem) -> bool
fn eq(&self, other: &BaseConfigurationItem) -> bool
self and other values to be equal, and is used
by ==.