Class ResourcePolicyProps
Construction properties for a ResourcePolicy.
Inheritance
System.Object
ResourcePolicyProps
Implements
Namespace: Amazon.CDK.AWS.SecretsManager
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ResourcePolicyProps : Object, IResourcePolicyProps
Syntax (vb)
Public Class ResourcePolicyProps
Inherits Object
Implements IResourcePolicyProps
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;
var resourcePolicyProps = new ResourcePolicyProps {
Secret = secret
};
Synopsis
Constructors
ResourcePolicyProps() |
Properties
Secret | The secret to attach a resource-based permissions policy. |
Constructors
ResourcePolicyProps()
public ResourcePolicyProps()
Properties
Secret
The secret to attach a resource-based permissions policy.
public ISecret Secret { get; set; }
Property Value