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 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
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AwsKmsKeyDetails
impl Debug for AwsKmsKeyDetails
sourceimpl PartialEq<AwsKmsKeyDetails> for AwsKmsKeyDetails
impl PartialEq<AwsKmsKeyDetails> for AwsKmsKeyDetails
sourcefn eq(&self, other: &AwsKmsKeyDetails) -> bool
fn eq(&self, other: &AwsKmsKeyDetails) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AwsKmsKeyDetails) -> bool
fn ne(&self, other: &AwsKmsKeyDetails) -> bool
This method tests for !=
.
impl StructuralPartialEq for AwsKmsKeyDetails
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more