Updates the resource-based policy¶
Description¶
Updates the resource-based policy.
Usage¶
Arguments¶
-
arn[required] The Amazon Resource Name (ARN) of the resource for which the policy needs to be updated.
-
tokenA unique identifier for the current revision of the policy.
-
policy[required] The resource-based policy.
If you set the value of the
effectparameter in thepolicytoDenyfor theput_policyoperation, you must also set the value of theeffectparameter toDenyfor theadd_policy_statementoperation.
Value¶
A list with the following syntax: