Table of Contents

Class CfnSecretTargetAttachmentProps

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

Properties for defining a CfnSecretTargetAttachment.

public class CfnSecretTargetAttachmentProps : ICfnSecretTargetAttachmentProps
Inheritance
CfnSecretTargetAttachmentProps
Implements
Inherited Members

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

Constructors

CfnSecretTargetAttachmentProps()

public CfnSecretTargetAttachmentProps()

Properties

SecretId

The ARN or name of the secret.

public string SecretId { get; set; }

Property Value

string

Remarks

TargetId

The ID of the database or cluster.

public string TargetId { get; set; }

Property Value

string

Remarks

TargetType

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

public string TargetType { get; set; }

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