Table of Contents

Interface ICfnSecretTargetAttachmentProps

Namespace
Amazon.CDK.AWS.SecretsManager
Assembly
Amazon.CDK.AWS.SecretsManager.dll

Properties for defining a CfnSecretTargetAttachment.

public interface ICfnSecretTargetAttachmentProps

Examples

// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.SecretsManager;

             var cfnSecretTargetAttachmentProps = new CfnSecretTargetAttachmentProps {
                 SecretId = "secretId",
                 TargetId = "targetId",
                 TargetType = "targetType"
             };

Remarks

Properties

SecretId

The ARN or name of the secret.

string SecretId { get; }

Property Value

string

Remarks

TargetId

The ID of the database or cluster.

string TargetId { get; }

Property Value

string

Remarks

TargetType

A string that defines the type of service or database associated with the secret.

string TargetType { get; }

Property Value

string

Remarks

This value instructs Secrets Manager how to update the secret with the details of the service or database. This value must be one of the following:

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secrettargetattachment.html#cfn-secretsmanager-secrettargetattachment-targettype