PutResourcePolicyRequest
¶
Source code in docs_src/capo_cloudhsm_v2/types/put_resource_policy_request.py
policy
instance-attribute
¶
policy: NotRequired[ResourcePolicy]
The policy you want to associate with a resource.
For an example policy, see Working with shared backups in the CloudHSM User Guide
resource_arn
instance-attribute
¶
resource_arn: NotRequired[CloudHsmArn]
Amazon Resource Name (ARN) of the resource to which you want to attach a policy.