Add Policy Statement
entityresolution_add_policy_statement | R Documentation |
Adds a policy statement object¶
Description¶
Adds a policy statement object. To retrieve a list of existing policy
statements, use the get_policy
API.
Usage¶
entityresolution_add_policy_statement(action, arn, condition, effect,
principal, statementId)
Arguments¶
action |
[required] The action that the principal can use on the resource. For example, |
arn |
[required] The Amazon Resource Name (ARN) of the resource that will be accessed by the principal. |
condition |
A set of condition keys that you can use in key policies. |
effect |
[required] Determines whether the permissions specified in the
policy are to be allowed ( If you set the value of the |
principal |
[required] The Amazon Web Services service or Amazon Web Services account that can access the resource defined as ARN. |
statementId |
[required] A statement identifier that differentiates the statement from others in the same policy. |
Value¶
A list with the following syntax:
list(
arn = "string",
policy = "string",
token = "string"
)
Request syntax¶
svc$add_policy_statement(
action = list(
"string"
),
arn = "string",
condition = "string",
effect = "Allow"|"Deny",
principal = list(
"string"
),
statementId = "string"
)