Amazon S3: Get Bucket Policy
Description
This step retrieves the access control policy assigned to an S3 bucket and returns it in JSON format. Only the bucket owner can retrieve the policy. Use this step in workflows that audit bucket permissions, verify access policies before making changes, or export policy configurations for compliance reporting.
Note:
Only the owner of the bucket can delete the bucket policy.
Reference
SDK: Get Amazon S3 Bucket Policy
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 fields | |
| Bucket Name | Specify the name of the bucket whose policy needs to be returned. The field type is String. This field is mandatory. |
| Button: Get | Click the button to populate the list of available Buckets. |
| OUTPUT tab: | Output fields |
| Bucket Policy | Specify the output variable name in the field. Default variable name value: BucketPolicy. On successful execution, the field holds the output of the plugin step in JSON format. The field type is String. This field is mandatory. |