Skip to content

GetResourcePolicyResponse

Source code in docs_src/capo_billing/types/get_resource_policy_response.py
class GetResourcePolicyResponse(TypedDict, closed=True):
    resource_arn: "capo_billing.types.resource_arn.ResourceArn"
    """<p>The Amazon Resource Name (ARN) of the billing view resource to which the policy is attached to. </p>"""
    policy: NotRequired["capo_billing.types.policy_document.PolicyDocument"]
    """<p>The resource-based policy document attached to the resource in <code>JSON</code> format. </p>"""

policy instance-attribute

policy: NotRequired[PolicyDocument]

The resource-based policy document attached to the resource in JSON format.

resource_arn instance-attribute

resource_arn: ResourceArn

The Amazon Resource Name (ARN) of the billing view resource to which the policy is attached to.