Struct aws_sdk_securityhub::model::AwsKmsKeyDetails [−][src]
#[non_exhaustive]pub struct AwsKmsKeyDetails {
pub aws_account_id: Option<String>,
pub creation_date: f64,
pub key_id: Option<String>,
pub key_manager: Option<String>,
pub key_state: Option<String>,
pub origin: Option<String>,
pub description: Option<String>,
pub key_rotation_status: bool,
}
Expand description
Contains metadata about an KMS key.
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.aws_account_id: Option<String>
The twelve-digit account ID of the Amazon Web Services account that owns the KMS key.
creation_date: 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
.
key_id: Option<String>
The globally unique identifier for the KMS key.
key_manager: Option<String>
The manager of the KMS key. KMS keys in your Amazon Web Services account are either customer managed or Amazon Web Services managed.
key_state: Option<String>
The state of the KMS key.
origin: Option<String>
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.
description: Option<String>
A description of the key.
key_rotation_status: bool
Whether the key has key rotation enabled.
Implementations
The twelve-digit account ID of the Amazon Web Services account that owns the KMS key.
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
.
The manager of the KMS key. KMS keys in your Amazon Web Services account are either customer managed or Amazon Web Services managed.
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.
A description of the key.
Whether the key has key rotation enabled.
Creates a new builder-style object to manufacture AwsKmsKeyDetails
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AwsKmsKeyDetails
impl Send for AwsKmsKeyDetails
impl Sync for AwsKmsKeyDetails
impl Unpin for AwsKmsKeyDetails
impl UnwindSafe for AwsKmsKeyDetails
Blanket Implementations
Mutably borrows from an owned value. Read more
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