AttachedSecretOptions

class aws_cdk.aws_secretsmanager.AttachedSecretOptions(*, target)

Bases: object

Options to add a secret attachment to a secret.

Parameters:

target (ISecretAttachmentTarget) – The target to attach the secret to.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_secretsmanager as secretsmanager

# secret_attachment_target: secretsmanager.ISecretAttachmentTarget

attached_secret_options = secretsmanager.AttachedSecretOptions(
    target=secret_attachment_target
)

Attributes

target

The target to attach the secret to.