Description - Replaces a policy on a bucket. If the bucket already has a policy, the one in this request completely replaces it.

Runtime Class - com.ibi.agents.XDPutBucketPolicyAgent


Configuration

This action requires a Amazon S3 Generic as well as the following required parameters.

Parameter Groups

 ParameterTypeDescription
*Name:stringSets the policy for the specified bucket.
* - denotes required
 ParameterTypeDescription
Policy Script:stringJSON representation of this AWS access control policy. If no policy is given, a generic public-read policy will be set to the bucket.
* - denotes required

Output Events

NameDescription
invalid_policyinvalid_policy
onNoSuchBucketThe specified bucket does not exist.
successThe operation was successful.
onFailUnreachableThe host was located but cannot be reached.
onFailConnectCould not connect to the external system.
onInvalidVersionInvalid Version
onFailTimeoutThe operation timed out.
onNoSuchKeyThe specified key does not exist.
onInvalidAccessKeyIDThe AWS access key ID you provided does not exist in our records.