CfnResourcePolicyProps
- class aws_cdk.aws_logs.CfnResourcePolicyProps(*, policy_document, policy_name)
- Bases: - object- Properties for defining a - CfnResourcePolicy.- Parameters:
- policy_document ( - str) – 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.
- policy_name ( - str) – The name of the resource policy.
 
- Link:
- http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-resourcepolicy.html 
- ExampleMetadata:
- fixture=_generated 
 - Example: - # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_logs as logs cfn_resource_policy_props = logs.CfnResourcePolicyProps( policy_document="policyDocument", policy_name="policyName" ) - Attributes - policy_document
- 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. 
 - policy_name
- The name of the resource policy.