Amazon S3: Set Bucket Policy
Description
Amazon S3: Set Bucket Policy plugin step sets the bucket policy for provided Amazon S3 bucket. Bucket policies provide access control management at the bucket level for both, the bucket resource and contained object resources.
Notes:
- After execution of the step, an already applied bucket policy will be overwritten with the new bucket policy.
- Only the owner of a bucket can set the bucket policy.
- At any given point in time, not more than one policy can be assigned to the bucket.
References
Configurations
| Field Name | Description |
|---|---|
| Step Name | Specify a unique name for the step. |
| Connection tab: | For the Amazone S3 connection fields details, click Common Tab: Connection Fields |
| INPUT tab: | Input fields |
| Bucket Name | Specify the name of the bucket for which you want to assign the policy. The field type is String. This field is mandatory. |
| Button: Get | Click the button to populate the list of available Buckets. |
| Bucket Policy | Specify the Bucket Policy in JSON text to be assigned to the Amazon S3 bucket. Double-click the field to insert fields in the Bucket Policy from the navigator. Else, use template support in the request body to substitute fields and environment variables/parameters in appropriate placeholders for previous step/input step - ?{fieldname}, Environment variables - ${environment variable}.Note: Ensure when substituting a string value (field or environment variable), we have to explicitly enclose that value in double quotes (""). |