GetSecretResult

data class GetSecretResult(val arn: String, val description: String, val id: String, val kmsKeyId: String, val name: String, val policy: String, val rotationEnabled: Boolean, val rotationLambdaArn: String, val rotationRules: List<GetSecretRotationRule>, val tags: Map<String, String>)

A collection of values returned by getSecret.

Constructors

Link copied to clipboard
constructor(arn: String, description: String, id: String, kmsKeyId: String, name: String, policy: String, rotationEnabled: Boolean, rotationLambdaArn: String, rotationRules: List<GetSecretRotationRule>, tags: Map<String, String>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val arn: String

ARN of the secret.

Link copied to clipboard

Description of the secret.

Link copied to clipboard
val id: String

The provider-assigned unique ID for this managed resource.

Link copied to clipboard

Key Management Service (KMS) Customer Master Key (CMK) associated with the secret.

Link copied to clipboard
Link copied to clipboard

Resource-based policy document that's attached to the secret.

Link copied to clipboard

Whether rotation is enabled or not.

Link copied to clipboard

Rotation Lambda function ARN if rotation is enabled.

Link copied to clipboard

Rotation rules if rotation is enabled.

Link copied to clipboard

Tags of the secret.