v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14128056.6 KB

Attaches a resource-based policy to an Entity. Examples of an entity include: <code>AmiProduct</code> and <code>ContainerProduct</code>.

post/PutResourcePolicy

Request body

ResourceArnstring required

The Amazon Resource Name (ARN) of the Entity resource you want to associate with a resource policy.

Policystring required

The policy document to set; formatted in JSON.

Response

Success

PutResourcePolicyResponse required