Class SecretTargetAttachmentProps
Construction properties for an AttachedSecret.
Inheritance
System.Object
SecretTargetAttachmentProps
Namespace: Amazon.CDK.AWS.SecretsManager
Assembly: Amazon.CDK.AWS.SecretsManager.dll
Syntax (csharp)
public class SecretTargetAttachmentProps : Object, ISecretTargetAttachmentProps, IAttachedSecretOptions
Syntax (vb)
Public Class SecretTargetAttachmentProps
Inherits Object
Implements ISecretTargetAttachmentProps, IAttachedSecretOptions
Remarks
ExampleMetadata: fixture=_generated
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;
Secret secret;
ISecretAttachmentTarget secretAttachmentTarget;
var secretTargetAttachmentProps = new SecretTargetAttachmentProps {
Secret = secret,
Target = secretAttachmentTarget
};
Synopsis
Constructors
SecretTargetAttachmentProps() |
Properties
Secret | The secret to attach to the target. |
Target | The target to attach the secret to. |
Constructors
SecretTargetAttachmentProps()
public SecretTargetAttachmentProps()
Properties
Secret
Target
The target to attach the secret to.
public ISecretAttachmentTarget Target { get; set; }
Property Value