Skip to content

GetResourcePolicyResponse

Source code in docs_src/capo_mpa/types/get_resource_policy_response.py
class GetResourcePolicyResponse(TypedDict, closed=True):
    resource_arn: "capo_mpa.types.string.String"
    """<p>Amazon Resource Name (ARN) for the resource.</p>"""
    policy_type: "capo_mpa.types.policy_type.PolicyType"
    """<p>The type of policy</p>"""
    policy_version_arn: NotRequired["capo_mpa.types.string.String"]
    """<p>Amazon Resource Name (ARN) for the policy version.</p>"""
    policy_name: "capo_mpa.types.policy_name.PolicyName"
    """<p>Name of the policy.</p>"""
    policy_document: "capo_mpa.types.policy_document.PolicyDocument"
    """<p>Document that contains the contents for the policy.</p>"""

policy_document instance-attribute

policy_document: PolicyDocument

Document that contains the contents for the policy.

policy_name instance-attribute

policy_name: PolicyName

Name of the policy.

policy_type instance-attribute

policy_type: PolicyType

The type of policy

policy_version_arn instance-attribute

policy_version_arn: NotRequired[String]

Amazon Resource Name (ARN) for the policy version.

resource_arn instance-attribute

resource_arn: String

Amazon Resource Name (ARN) for the resource.