aws-cdk-lib.aws_secretsmanager.AttachedSecretOptions

interface AttachedSecretOptions

LanguageType name
.NETAmazon.CDK.AWS.SecretsManager.AttachedSecretOptions
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssecretsmanager#AttachedSecretOptions
Javasoftware.amazon.awscdk.services.secretsmanager.AttachedSecretOptions
Pythonaws_cdk.aws_secretsmanager.AttachedSecretOptions
TypeScript (source)aws-cdk-lib » aws_secretsmanager » AttachedSecretOptions

Options to add a secret attachment to a secret.

Example

// 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 secretAttachmentTarget: secretsmanager.ISecretAttachmentTarget;
const attachedSecretOptions: secretsmanager.AttachedSecretOptions = {
  target: secretAttachmentTarget,
};

Properties

NameTypeDescription
targetISecretAttachmentTargetThe target to attach the secret to.

target

Type: ISecretAttachmentTarget

The target to attach the secret to.