Learn R Programming

paws.cost.management (version 0.8.0)

marketplacecatalog_put_resource_policy: Attaches a resource-based policy to an entity

Description

Attaches a resource-based policy to an entity. Examples of an entity include: AmiProduct and ContainerProduct.

See https://www.paws-r-sdk.com/docs/marketplacecatalog_put_resource_policy/ for full documentation.

Usage

marketplacecatalog_put_resource_policy(ResourceArn, Policy)

Arguments

ResourceArn

[required] The Amazon Resource Name (ARN) of the entity resource you want to associate with a resource policy.

Policy

[required] The policy document to set; formatted in JSON.