Amazon S3: Get Bucket Policy
Description
Amazon S3: Get Bucket Policy plugin step returns the policy assigned to the Amazon S3 bucket.
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: | Connection fields |
Region | Specify a valid AWS region or click the Get button to choose a region from the Region Explorer window. The field type is String. This field is mandatory. |
Button: Get | Click Get button to open the Region Explorer window populated with the list of Regions available on the Amazon S3 instance. Choose a Region. |
Access Key: | Access key to authenticate an Amazon S3 cloud instance. |
Accept Values from fields | Leave checkbox unchecked to accept Access Key value from a field in the previous steps of the stream using a drop down list. Else enable checkbox for Access Key field to appear as Text box. |
Access Key | Specify the Access Key to authenticate Amazon S3 cloud instance. If checkbox above is enabled Access Key field appears as Text box and accepts static values or variables. Else if checkbox above is disabled Access Key field appears as a drop down to select fields from previous steps. The field type is String. This field is mandatory. |
Secret Key: | Secret key to authenticate Amazon AWS cloud. |
Accept Values from fields | Leave checkbox unchecked to accept Secret Key value from a field in the previous steps of the stream using a drop down list. Else enable checkbox for Secret Key field to appear as Text box. |
Secret Key | Specify the Secret Key to authenticate Amazon S3 cloud instance. If checkbox above is enabled Secret Key field appears as Text box and accepts static values or variables. Else if checkbox above is disabled Secret Key field appears as a drop down to select fields from previous steps. The field type is String. This field is mandatory. |
Button: Test Connection | Click Test Connection button to verify whether the connection is available or not. Region, Access key and Secret Key are mandatory to authenticate Amazon S3 cloud instance. For the purpose of verification fields coming from previous steps are not allowed since field values can only be accessed when workflow is in running state. Static values and environment variables are allowed. |
INPUT tab: | 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. |