interface SecretTargetAttachmentProps
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.SecretsManager.SecretTargetAttachmentProps | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awssecretsmanager#SecretTargetAttachmentProps | 
|  Java | software.amazon.awscdk.services.secretsmanager.SecretTargetAttachmentProps | 
|  Python | aws_cdk.aws_secretsmanager.SecretTargetAttachmentProps | 
|  TypeScript (source) | aws-cdk-lib»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 { 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
| 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.
