SecretAttachmentTargetProps Struct
Attachment target specifications.
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';
const secretAttachmentTargetProps: secretsmanager.SecretAttachmentTargetProps = {
targetId: 'targetId',
targetType: secretsmanager.AttachmentTargetType.RDS_DB_INSTANCE,
};
Properties
The id of the target to attach the secret to.
targetTypeAttachmentTargetTypetarget_typeAttachmentTargetTypetargetTypeAttachmentTargetTypeTargetTypeAttachmentTargetTypeTargetTypeAttachmentTargetTyperequired#The type of the target to attach the secret to.