Class: Aws::SecurityHub::Types::AwsSecretsManagerSecretDetails

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb

Overview

Note:

When making an API call, you may pass AwsSecretsManagerSecretDetails data as a hash:

{
  rotation_rules: {
    automatically_after_days: 1,
  },
  rotation_occurred_within_frequency: false,
  kms_key_id: "NonEmptyString",
  rotation_enabled: false,
  rotation_lambda_arn: "NonEmptyString",
  deleted: false,
  name: "NonEmptyString",
  description: "NonEmptyString",
}

Details about an Secrets Manager secret.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#deletedBoolean

Whether the secret is deleted.

Returns:

  • (Boolean)


16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 16763

class AwsSecretsManagerSecretDetails < Struct.new(
  :rotation_rules,
  :rotation_occurred_within_frequency,
  :kms_key_id,
  :rotation_enabled,
  :rotation_lambda_arn,
  :deleted,
  :name,
  :description)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The user-provided description of the secret.

Returns:

  • (String)


16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 16763

class AwsSecretsManagerSecretDetails < Struct.new(
  :rotation_rules,
  :rotation_occurred_within_frequency,
  :kms_key_id,
  :rotation_enabled,
  :rotation_lambda_arn,
  :deleted,
  :name,
  :description)
  SENSITIVE = []
  include Aws::Structure
end

#kms_key_idString

The ARN, Key ID, or alias of the KMS key used to encrypt the SecretString or SecretBinary values for versions of this secret.

Returns:

  • (String)


16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 16763

class AwsSecretsManagerSecretDetails < Struct.new(
  :rotation_rules,
  :rotation_occurred_within_frequency,
  :kms_key_id,
  :rotation_enabled,
  :rotation_lambda_arn,
  :deleted,
  :name,
  :description)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the secret.

Returns:

  • (String)


16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 16763

class AwsSecretsManagerSecretDetails < Struct.new(
  :rotation_rules,
  :rotation_occurred_within_frequency,
  :kms_key_id,
  :rotation_enabled,
  :rotation_lambda_arn,
  :deleted,
  :name,
  :description)
  SENSITIVE = []
  include Aws::Structure
end

#rotation_enabledBoolean

Whether rotation is enabled.

Returns:

  • (Boolean)


16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 16763

class AwsSecretsManagerSecretDetails < Struct.new(
  :rotation_rules,
  :rotation_occurred_within_frequency,
  :kms_key_id,
  :rotation_enabled,
  :rotation_lambda_arn,
  :deleted,
  :name,
  :description)
  SENSITIVE = []
  include Aws::Structure
end

#rotation_lambda_arnString

The ARN of the Lambda function that rotates the secret.

Returns:

  • (String)


16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 16763

class AwsSecretsManagerSecretDetails < Struct.new(
  :rotation_rules,
  :rotation_occurred_within_frequency,
  :kms_key_id,
  :rotation_enabled,
  :rotation_lambda_arn,
  :deleted,
  :name,
  :description)
  SENSITIVE = []
  include Aws::Structure
end

#rotation_occurred_within_frequencyBoolean

Whether the rotation occurred within the specified rotation frequency.

Returns:

  • (Boolean)


16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 16763

class AwsSecretsManagerSecretDetails < Struct.new(
  :rotation_rules,
  :rotation_occurred_within_frequency,
  :kms_key_id,
  :rotation_enabled,
  :rotation_lambda_arn,
  :deleted,
  :name,
  :description)
  SENSITIVE = []
  include Aws::Structure
end

#rotation_rulesTypes::AwsSecretsManagerSecretRotationRules

Defines the rotation schedule for the secret.



16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 16763

class AwsSecretsManagerSecretDetails < Struct.new(
  :rotation_rules,
  :rotation_occurred_within_frequency,
  :kms_key_id,
  :rotation_enabled,
  :rotation_lambda_arn,
  :deleted,
  :name,
  :description)
  SENSITIVE = []
  include Aws::Structure
end