interface SecretAttachmentTargetProps
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.SecretsManager.SecretAttachmentTargetProps | 
  Java | software.amazon.awscdk.services.secretsmanager.SecretAttachmentTargetProps | 
  Python | aws_cdk.aws_secretsmanager.SecretAttachmentTargetProps | 
  TypeScript (source) | @aws-cdk/aws-secretsmanager » SecretAttachmentTargetProps | 
Obtainable from
Database.asSecretAttachmentTarget(), Database.asSecretAttachmentTarget(), Database.asSecretAttachmentTarget(), Database.asSecretAttachmentTarget(), Serverless.asSecretAttachmentTarget(), Serverless.asSecretAttachmentTarget(), Cluster.asSecretAttachmentTarget()
Attachment target specifications.
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';
const secretAttachmentTargetProps: secretsmanager.SecretAttachmentTargetProps = {
  targetId: 'targetId',
  targetType: secretsmanager.AttachmentTargetType.INSTANCE,
};
Properties
| Name | Type | Description | 
|---|---|---|
| target | string | The id of the target to attach the secret to. | 
| target | Attachment | The type of the target to attach the secret to. | 
targetId
Type:
string
The id of the target to attach the secret to.
targetType
Type:
Attachment
The type of the target to attach the secret to.

 .NET
 Java
 Python
 TypeScript (