Creates a resource control policy for a given resource
Source:R/lookoutequipment_operations.R
lookoutequipment_put_resource_policy.RdCreates a resource control policy for a given resource.
See https://www.paws-r-sdk.com/docs/lookoutequipment_put_resource_policy/ for full documentation.
Usage
lookoutequipment_put_resource_policy(
ResourceArn,
ResourcePolicy,
PolicyRevisionId = NULL,
ClientToken
)Arguments
- ResourceArn
[required] The Amazon Resource Name (ARN) of the resource for which the policy is being created.
- ResourcePolicy
[required] The JSON-formatted resource policy to create.
- PolicyRevisionId
A unique identifier for a revision of the resource policy.
- ClientToken
[required] A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one.