Struct aws_sdk_securityhub::model::AwsKmsKeyDetails
source · [−]#[non_exhaustive]pub struct AwsKmsKeyDetails { /* private fields */ }Expand description
Contains metadata about an KMS key.
Implementations
sourceimpl AwsKmsKeyDetails
impl AwsKmsKeyDetails
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The twelve-digit account ID of the Amazon Web Services account that owns the KMS key.
sourcepub fn creation_date(&self) -> f64
pub fn creation_date(&self) -> f64
Indicates when the KMS key was created.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.
sourcepub fn key_manager(&self) -> Option<&str>
pub fn key_manager(&self) -> Option<&str>
The manager of the KMS key. KMS keys in your Amazon Web Services account are either customer managed or Amazon Web Services managed.
sourcepub fn key_state(&self) -> Option<&str>
pub fn key_state(&self) -> Option<&str>
The state of the KMS key. Valid values are as follows:
-
Disabled -
Enabled -
PendingDeletion -
PendingImport -
Unavailable
sourcepub fn origin(&self) -> Option<&str>
pub fn origin(&self) -> Option<&str>
The source of the KMS key material.
When this value is AWS_KMS, KMS created the key material.
When this value is EXTERNAL, the key material was imported from your existing key management infrastructure or the KMS key lacks key material.
When this value is AWS_CLOUDHSM, the key material was created in the CloudHSM cluster associated with a custom key store.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the KMS key.
sourcepub fn key_rotation_status(&self) -> bool
pub fn key_rotation_status(&self) -> bool
Whether the key has key rotation enabled.
sourceimpl AwsKmsKeyDetails
impl AwsKmsKeyDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsKmsKeyDetails.
Trait Implementations
sourceimpl Clone for AwsKmsKeyDetails
impl Clone for AwsKmsKeyDetails
sourcefn clone(&self) -> AwsKmsKeyDetails
fn clone(&self) -> AwsKmsKeyDetails
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more