SecretArgs

data class SecretArgs(val description: Output<String>? = null, val generateSecretString: Output<SecretGenerateSecretStringArgs>? = null, val kmsKeyId: Output<String>? = null, val name: Output<String>? = null, val replicaRegions: Output<List<SecretReplicaRegionArgs>>? = null, val secretString: Output<String>? = null, val tags: Output<List<SecretTagArgs>>? = null) : ConvertibleToJava<SecretArgs>

Resource Type definition for AWS::SecretsManager::Secret

Constructors

Link copied to clipboard
fun SecretArgs(description: Output<String>? = null, generateSecretString: Output<SecretGenerateSecretStringArgs>? = null, kmsKeyId: Output<String>? = null, name: Output<String>? = null, replicaRegions: Output<List<SecretReplicaRegionArgs>>? = null, secretString: Output<String>? = null, tags: Output<List<SecretTagArgs>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): SecretArgs

Properties

Link copied to clipboard
val description: Output<String>? = null

(Optional) Specifies a user-provided description of the secret.

Link copied to clipboard

(Optional) Specifies text data that you want to encrypt and store in this new version of the secret.

Link copied to clipboard
val kmsKeyId: Output<String>? = null

(Optional) Specifies the ARN, Key ID, or alias of the AWS KMS customer master key (CMK) used to encrypt the SecretString.

Link copied to clipboard
val name: Output<String>? = null

The friendly name of the secret. You can use forward slashes in the name to represent a path hierarchy.

Link copied to clipboard

(Optional) A list of ReplicaRegion objects. The ReplicaRegion type consists of a Region (required) and the KmsKeyId which can be an ARN, Key ID, or Alias.

Link copied to clipboard
val secretString: Output<String>? = null

(Optional) Specifies text data that you want to encrypt and store in this new version of the secret.

Link copied to clipboard
val tags: Output<List<SecretTagArgs>>? = null

The list of user-defined tags associated with the secret. Use tags to manage your AWS resources. For additional information about tags, see TagResource.