Skip to content

DescribeResourcePoliciesRequest

Source code in docs_src/capo_cloudwatch_logs/types/describe_resource_policies_request.py
class DescribeResourcePoliciesRequest(TypedDict, closed=True):
    next_token: NotRequired["capo_cloudwatch_logs.types.next_token.NextToken"]
    limit: NotRequired["capo_cloudwatch_logs.types.describe_limit.DescribeLimit"]
    """<p>The maximum number of resource policies to be displayed with one call of this API.</p>"""
    resource_arn: NotRequired["capo_cloudwatch_logs.types.arn.Arn"]
    """<p>The ARN of the CloudWatch Logs resource for which to query the resource policy.</p>"""
    policy_scope: NotRequired["capo_cloudwatch_logs.types.policy_scope.PolicyScope"]
    """<p>Specifies the scope of the resource policy. Valid values are <code>ACCOUNT</code> or <code>RESOURCE</code>. When not specified, defaults to <code>ACCOUNT</code>.</p>"""

limit instance-attribute

limit: NotRequired[DescribeLimit]

The maximum number of resource policies to be displayed with one call of this API.

next_token instance-attribute

next_token: NotRequired[NextToken]

policy_scope instance-attribute

policy_scope: NotRequired[PolicyScope]

Specifies the scope of the resource policy. Valid values are ACCOUNT or RESOURCE. When not specified, defaults to ACCOUNT.

resource_arn instance-attribute

resource_arn: NotRequired[Arn]

The ARN of the CloudWatch Logs resource for which to query the resource policy.