SecretAttachmentTargetProps

class aws_cdk.aws_secretsmanager.SecretAttachmentTargetProps(*, target_id, target_type)

Bases: object

Attachment target specifications.

Parameters
  • target_id (str) – The id of the target to attach the secret to.

  • target_type (AttachmentTargetType) – The type of the target to attach the secret to.

Attributes

target_id

The id of the target to attach the secret to.

Return type

str

target_type

The type of the target to attach the secret to.

Return type

AttachmentTargetType