SecretTargetAttachmentProps Struct
Construction properties for an AttachedSecret.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_secretsmanager as secretsmanager } from 'aws-cdk-lib';
declare const secret: secretsmanager.Secret;
declare const secretAttachmentTarget: secretsmanager.ISecretAttachmentTarget;
const secretTargetAttachmentProps: secretsmanager.SecretTargetAttachmentProps = {
secret: secret,
target: secretAttachmentTarget,
};
Properties
The secret to attach to the target.
targetISecretAttachmentTargettargetISecretAttachmentTargettargetISecretAttachmentTargetTargetISecretAttachmentTargetTargetISecretAttachmentTargetrequired#The target to attach the secret to.