#[non_exhaustive]pub struct AwsSecretsManagerSecretDetails {
pub rotation_rules: Option<AwsSecretsManagerSecretRotationRules>,
pub rotation_occurred_within_frequency: Option<bool>,
pub kms_key_id: Option<String>,
pub rotation_enabled: Option<bool>,
pub rotation_lambda_arn: Option<String>,
pub deleted: Option<bool>,
pub name: Option<String>,
pub description: Option<String>,
}
Expand description
Details about an Secrets Manager secret.
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.rotation_rules: Option<AwsSecretsManagerSecretRotationRules>
Defines the rotation schedule for the secret.
rotation_occurred_within_frequency: Option<bool>
Whether the rotation occurred within the specified rotation frequency.
kms_key_id: Option<String>
The ARN, Key ID, or alias of the KMS key used to encrypt the SecretString
or SecretBinary
values for versions of this secret.
rotation_enabled: Option<bool>
Whether rotation is enabled.
rotation_lambda_arn: Option<String>
The ARN of the Lambda function that rotates the secret.
deleted: Option<bool>
Whether the secret is deleted.
name: Option<String>
The name of the secret.
description: Option<String>
The user-provided description of the secret.
Implementations§
source§impl AwsSecretsManagerSecretDetails
impl AwsSecretsManagerSecretDetails
sourcepub fn rotation_rules(&self) -> Option<&AwsSecretsManagerSecretRotationRules>
pub fn rotation_rules(&self) -> Option<&AwsSecretsManagerSecretRotationRules>
Defines the rotation schedule for the secret.
sourcepub fn rotation_occurred_within_frequency(&self) -> Option<bool>
pub fn rotation_occurred_within_frequency(&self) -> Option<bool>
Whether the rotation occurred within the specified rotation frequency.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The ARN, Key ID, or alias of the KMS key used to encrypt the SecretString
or SecretBinary
values for versions of this secret.
sourcepub fn rotation_enabled(&self) -> Option<bool>
pub fn rotation_enabled(&self) -> Option<bool>
Whether rotation is enabled.
sourcepub fn rotation_lambda_arn(&self) -> Option<&str>
pub fn rotation_lambda_arn(&self) -> Option<&str>
The ARN of the Lambda function that rotates the secret.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The user-provided description of the secret.
source§impl AwsSecretsManagerSecretDetails
impl AwsSecretsManagerSecretDetails
sourcepub fn builder() -> AwsSecretsManagerSecretDetailsBuilder
pub fn builder() -> AwsSecretsManagerSecretDetailsBuilder
Creates a new builder-style object to manufacture AwsSecretsManagerSecretDetails
.
Trait Implementations§
source§impl Clone for AwsSecretsManagerSecretDetails
impl Clone for AwsSecretsManagerSecretDetails
source§fn clone(&self) -> AwsSecretsManagerSecretDetails
fn clone(&self) -> AwsSecretsManagerSecretDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AwsSecretsManagerSecretDetails
impl PartialEq for AwsSecretsManagerSecretDetails
source§fn eq(&self, other: &AwsSecretsManagerSecretDetails) -> bool
fn eq(&self, other: &AwsSecretsManagerSecretDetails) -> bool
self
and other
values to be equal, and is used
by ==
.