CfnResourcePolicyProps

class aws_cdk.aws_logs.CfnResourcePolicyProps(*, policy_document, policy_name)

Bases: object

Properties for defining a AWS::Logs::ResourcePolicy.

Parameters
  • policy_document (str) – AWS::Logs::ResourcePolicy.PolicyDocument.

  • policy_name (str) – AWS::Logs::ResourcePolicy.PolicyName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-resourcepolicy.html

Attributes

policy_document

AWS::Logs::ResourcePolicy.PolicyDocument.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-resourcepolicy.html#cfn-logs-resourcepolicy-policydocument

Return type

str

policy_name

AWS::Logs::ResourcePolicy.PolicyName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-resourcepolicy.html#cfn-logs-resourcepolicy-policyname

Return type

str