Table of Contents

Interface IResourcePolicyProps

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

Construction properties for a ResourcePolicy.

public interface IResourcePolicyProps

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
            };

Remarks

ExampleMetadata: fixture=_generated

Properties

Secret

The secret to attach a resource-based permissions policy.

ISecret Secret { get; }

Property Value

ISecret