v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1424136125.4 KB

Attaches a resource-based permission policy to the Amazon Web Services Migration Hub Refactor Spaces environment. The policy must contain the same actions and condition statements as the <code>arn:aws:ram::aws:permission/AWSRAMDefaultPermissionRefactorSpacesEnvironment</code> permission in Resource Access Manager. The policy must not contain new lines or blank lines.

put/resourcepolicy

Request body

Policystring required

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

ResourceArnstring required

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

Response

Success

PutResourcePolicyResponse required