SecretTargetAttachmentArgs

data class SecretTargetAttachmentArgs(val secretId: Output<String>? = null, val targetId: Output<String>? = null, val targetType: Output<String>? = null) : ConvertibleToJava<SecretTargetAttachmentArgs>

Resource Type definition for AWS::SecretsManager::SecretTargetAttachment

Constructors

Link copied to clipboard
constructor(secretId: Output<String>? = null, targetId: Output<String>? = null, targetType: Output<String>? = null)

Properties

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

The ARN or name of the secret. To reference a secret also created in this template, use the see Ref function with the secret's logical ID. This field is unique for each target attachment definition.

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

The ID of the database or cluster.

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

A string that defines the type of service or database associated with the secret. This value instructs Secrets Manager how to update the secret with the details of the service or database. This value must be one of the following:

Functions

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