Skip to content

ResourcePolicy

Source code in docs_src/capo_cloudwatch_logs/types/resource_policy.py
class ResourcePolicy(TypedDict, closed=True):
    policy_name: NotRequired["capo_cloudwatch_logs.types.policy_name.PolicyName"]
    """<p>The name of the resource policy.</p>"""
    policy_document: NotRequired[
        "capo_cloudwatch_logs.types.policy_document.PolicyDocument"
    ]
    """<p>The details of the policy.</p>"""
    last_updated_time: NotRequired["capo_cloudwatch_logs.types.timestamp.Timestamp"]
    """<p>Timestamp showing when this policy was last updated, expressed as the number of milliseconds after <code>Jan 1, 1970 00:00:00 UTC</code>.</p>"""
    policy_scope: NotRequired["capo_cloudwatch_logs.types.policy_scope.PolicyScope"]
    """<p>Specifies scope of the resource policy. Valid values are ACCOUNT or RESOURCE.</p>"""
    resource_arn: NotRequired["capo_cloudwatch_logs.types.arn.Arn"]
    """<p>The ARN of the CloudWatch Logs resource to which the resource policy is attached. Only populated for resource-scoped policies.</p>"""
    revision_id: NotRequired[
        "capo_cloudwatch_logs.types.expected_revision_id.ExpectedRevisionId"
    ]
    """<p>The revision ID of the resource policy. Only populated for resource-scoped policies.</p>"""

last_updated_time instance-attribute

last_updated_time: NotRequired[Timestamp]

Timestamp showing when this policy was last updated, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

policy_document instance-attribute

policy_document: NotRequired[PolicyDocument]

The details of the policy.

policy_name instance-attribute

policy_name: NotRequired[PolicyName]

The name of the resource policy.

policy_scope instance-attribute

policy_scope: NotRequired[PolicyScope]

Specifies scope of the resource policy. Valid values are ACCOUNT or RESOURCE.

resource_arn instance-attribute

resource_arn: NotRequired[Arn]

The ARN of the CloudWatch Logs resource to which the resource policy is attached. Only populated for resource-scoped policies.

revision_id instance-attribute

revision_id: NotRequired[ExpectedRevisionId]

The revision ID of the resource policy. Only populated for resource-scoped policies.