interface SecretTargetAttachmentProps
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.SecretsManager.SecretTargetAttachmentProps | 
  Java | software.amazon.awscdk.services.secretsmanager.SecretTargetAttachmentProps | 
  Python | aws_cdk.aws_secretsmanager.SecretTargetAttachmentProps | 
  TypeScript (source) | @aws-cdk/aws-secretsmanager » SecretTargetAttachmentProps | 
Construction properties for an AttachedSecret.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as secretsmanager from '@aws-cdk/aws-secretsmanager';
declare const secret: secretsmanager.Secret;
declare const secretAttachmentTarget: secretsmanager.ISecretAttachmentTarget;
const secretTargetAttachmentProps: secretsmanager.SecretTargetAttachmentProps = {
  secret: secret,
  target: secretAttachmentTarget,
};
Properties
| Name | Type | Description | 
|---|---|---|
| secret | ISecret | The secret to attach to the target. | 
| target | ISecret | The target to attach the secret to. | 
secret
Type:
ISecret
The secret to attach to the target.
target
Type:
ISecret
The target to attach the secret to.

 .NET
 Java
 Python
 TypeScript (