interface ResourcePolicyProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.SecretsManager.ResourcePolicyProps |
Java | software.amazon.awscdk.services.secretsmanager.ResourcePolicyProps |
Python | aws_cdk.aws_secretsmanager.ResourcePolicyProps |
TypeScript (source) | @aws-cdk/aws-secretsmanager » ResourcePolicyProps |
Construction properties for a ResourcePolicy.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as secretsmanager from '@aws-cdk/aws-secretsmanager';
declare const secret: secretsmanager.Secret;
const resourcePolicyProps: secretsmanager.ResourcePolicyProps = {
secret: secret,
};
Properties
Name | Type | Description |
---|---|---|
secret | ISecret | The secret to attach a resource-based permissions policy. |
secret
Type:
ISecret
The secret to attach a resource-based permissions policy.