interface CfnResourcePolicyMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Logs.Mixins.CfnResourcePolicyMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslogs/mixins#CfnResourcePolicyMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.logs.mixins.CfnResourcePolicyMixinProps |
Python | aws_cdk.mixins_preview.aws_logs.mixins.CfnResourcePolicyMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_logs » mixins » CfnResourcePolicyMixinProps |
Properties for CfnResourcePolicyPropsMixin.
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 { mixins as logs_mixins } from '@aws-cdk/mixins-preview/aws-logs';
const cfnResourcePolicyMixinProps: logs_mixins.CfnResourcePolicyMixinProps = {
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
(optional)
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
(optional)
The name of the resource policy.

.NET
Go
Java
Python
TypeScript