An attached secret.
import { SecretTargetAttachment } from 'aws-cdk-lib/aws-secretsmanager';Or use the module namespace:
import * as secretsmanager from 'aws-cdk-lib/aws-secretsmanager';
// secretsmanager.SecretTargetAttachmentConfiguration passed to the constructor as SecretTargetAttachmentProps.
secretRequiredISecretThe secret to attach to the target.
AttachedSecretOptionstargetRequiredinherited from AttachedSecretOptionsISecretAttachmentTargetThe target to attach the secret to.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-secretsmanager