CmdID / aws / aws cloudhsmv2
aws cloudhsmv2 put-resource-policy
Creates or updates an CloudHSM resource policy. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--policyThe policy you want to associate with a resource.--resource-arnAmazon Resource Name (ARN) of the resource to which you want to attach a policy.