Skip to content

PutResourcePolicyRequest

Source code in docs_src/capo_migration_hub_refactor_spaces/types/put_resource_policy_request.py
class PutResourcePolicyRequest(TypedDict, closed=True):
    resource_arn: "capo_migration_hub_refactor_spaces.types.resource_arn.ResourceArn"
    """<p>The Amazon Resource Name (ARN) of the resource to which the policy is being attached. </p>"""
    policy: "capo_migration_hub_refactor_spaces.types.policy_string.PolicyString"
    """<p>A JSON-formatted string for an Amazon Web Services resource-based policy. </p>"""

policy instance-attribute

policy: PolicyString

A JSON-formatted string for an Amazon Web Services resource-based policy.

resource_arn instance-attribute

resource_arn: ResourceArn

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