interface SecretAttachmentTargetProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.SecretsManager.SecretAttachmentTargetProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awssecretsmanager#SecretAttachmentTargetProps |
![]() | software.amazon.awscdk.services.secretsmanager.SecretAttachmentTargetProps |
![]() | aws_cdk.aws_secretsmanager.SecretAttachmentTargetProps |
![]() | aws-cdk-lib » 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 { aws_secretsmanager as secretsmanager } from 'aws-cdk-lib';
const secretAttachmentTargetProps: secretsmanager.SecretAttachmentTargetProps = {
targetId: 'targetId',
targetType: secretsmanager.AttachmentTargetType.RDS_DB_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.