Skip to content

Put Policy

entityresolution_put_policy R Documentation

Updates the resource-based policy

Description

Updates the resource-based policy.

Usage

entityresolution_put_policy(arn, policy, token)

Arguments

arn

[required] The Amazon Resource Name (ARN) of the resource for which the policy needs to be updated.

policy

[required] The resource-based policy.

If you set the value of the effect parameter in the policy to Deny for the put_policy operation, you must also set the value of the effect parameter to Deny for the add_policy_statement operation.

token

A unique identifier for the current revision of the policy.

Value

A list with the following syntax:

list(
  arn = "string",
  policy = "string",
  token = "string"
)

Request syntax

svc$put_policy(
  arn = "string",
  policy = "string",
  token = "string"
)