Table of Contents

Class SecretAttachmentTargetProps

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

Attachment target specifications.

public class SecretAttachmentTargetProps : ISecretAttachmentTargetProps
Inheritance
SecretAttachmentTargetProps
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 secretAttachmentTargetProps = new SecretAttachmentTargetProps {
                TargetId = "targetId",
                TargetType = AttachmentTargetType.INSTANCE
            };

Remarks

ExampleMetadata: fixture=_generated

Constructors

SecretAttachmentTargetProps()

public SecretAttachmentTargetProps()

Properties

TargetId

The id of the target to attach the secret to.

public string TargetId { get; set; }

Property Value

string

TargetType

The type of the target to attach the secret to.

public AttachmentTargetType TargetType { get; set; }

Property Value

AttachmentTargetType