Skip to content
v2.273.0

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 ​

secretISecretsecretISecretsecretISecretSecretISecretSecretISecretrequired#
The secret to attach to the target.

Used as props by ​