Skip to content

PutResourcePolicyResponse

Source code in docs_src/capo_cloudhsm_v2/types/put_resource_policy_response.py
class PutResourcePolicyResponse(TypedDict, closed=True):
    resource_arn: NotRequired["capo_cloudhsm_v2.types.cloud_hsm_arn.CloudHsmArn"]
    """<p>Amazon Resource Name (ARN) of the resource to which a policy is attached.</p>"""
    policy: NotRequired["capo_cloudhsm_v2.types.resource_policy.ResourcePolicy"]
    """<p>The policy attached to a resource.</p>"""

policy instance-attribute

policy: NotRequired[ResourcePolicy]

The policy attached to a resource.

resource_arn instance-attribute

resource_arn: NotRequired[CloudHsmArn]

Amazon Resource Name (ARN) of the resource to which a policy is attached.