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