Skip to content

Updates the resource-based policy

Description

Updates the resource-based policy.

Usage

entityresolution_put_policy(arn, token, policy)

Arguments

  • arn

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

  • token

    A unique identifier for the current revision of the policy.

  • 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.

Value

A list with the following syntax:

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

Request syntax

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