cloudhsm:PutResourcePolicy is a Write access-level action in the cloudhsm service. Grants permission to attach a policy to an AWS CloudHSM resource
ARNs that cloudhsm:PutResourcePolicy can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants cloudhsm:PutResourcePolicy.
Filters access by tag key-value pairs attached to the resource
A minimal policy that allows cloudhsm:PutResourcePolicy. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowCloudhsmPutResourcePolicy",
"Effect": "Allow",
"Action": "cloudhsm:PutResourcePolicy",
"Resource": "*"
}
]
}