interface CfnResourcePolicyProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Logs.CfnResourcePolicyProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslogs#CfnResourcePolicyProps |
![]() | software.amazon.awscdk.services.logs.CfnResourcePolicyProps |
![]() | aws_cdk.aws_logs.CfnResourcePolicyProps |
![]() | aws-cdk-lib » aws_logs » CfnResourcePolicyProps |
Properties for defining a CfnResourcePolicy
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-resourcepolicy.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_logs as logs } from 'aws-cdk-lib';
const cfnResourcePolicyProps: logs.CfnResourcePolicyProps = {
policyDocument: 'policyDocument',
policyName: 'policyName',
};
Properties
Name | Type | Description |
---|---|---|
policy | string | The details of the policy. |
policy | string | The name of the resource policy. |
policyDocument
Type:
string
The details of the policy.
It must be formatted in JSON, and you must use backslashes to escape characters that need to be escaped in JSON strings, such as double quote marks.
policyName
Type:
string
The name of the resource policy.