{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":30935,"path":"it-operations-management/itom-cloud-accelerate/cal-aws-put-s3-bucket-encryption.md","title":"AWS Put S3 Bucket Encryption action","bundle":null,"doc_type":null,"release":"australia","body":"\n# AWS Put S3 Bucket Encryption action\n\nAction that configures the default encryption and Amazon Web Services \\(AWS\\) S3 Bucket Key for an existing bucket.\n\n## Roles and availability\n\n-   **Subscription requirements**\n\n    To use this action in custom flows, you must obtain an Integration Hub Enterprise subscription or an App Engine subscription. For more information, see [Request Integration Hub](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/integrate-applications/request-ih-overview.md).\n\n-   **Role requirements**\n\n    This action requires roles granted by delegated development or assigned to the user. For more information, see [User access to Flow Designer](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/build-workflows/user-access-flow-designer.md).\n\n\n## Cloud permission\n\nTo execute this action, the caller must have the **s3:PutEncryptionConfiguration** cloud permission.\n\n## Inputs\n\nProvide a value for each input that your action needs. To add dynamic values, you can also select data pills using the pill picker.\n\n-   **Bucket Name**\n\n    Data type: **String**\n\n    Name of the AWS S3 bucket.\n\n-   **Credential Alias**\n\n    Data type: **Record**\n\n    Credential alias for the AWS credential.\n\n-   **Location**\n\n    Data type: **String**\n\n    Name of the datacenter.\n\n-   **Use MID**\n\n    Data type: **True/False**\n\n    Selection to indicate whether to use a MID Server to make the outbound calls.\n\n-   **MID Server**\n\n    Data type: **Record**\n\n    MID Server for making the outbound calls.\n\n-   **Gov Cloud**\n\n    Data type: **True/False**\n\n    Not supported.\n\n\n## Outputs\n\nYou can use these outputs as inputs for other actions.\n\n-   **Is Access Denied**\n\n    Data type: **String**\n\n    Server authorization status of the call.\n\n    -   **True**: The server has authorized the call\n    -   **False**: The server didn't authorize the call\n-   **Bucket Region**\n\n    Data type: **String**\n\n    Datacenter where the specified AWS S3 bucket is hosted.\n\n-   **Error Code**\n\n    Data type: **String**\n\n    Client error code returned for the failed call.\n\n-   **Result**\n\n    Data type: **True/False**\n\n    Status of the action.\n\n    -   **True**: Successful\n    -   **False**: Failed\n-   **Redirected**\n\n    Data type: **String**\n\n    If the AWS S3 bucket is not available in the specified datacenter, the **Bucket Region** variable specifies the datacenter of the AWS S3 bucket.\n\n-   **Error Message**\n\n    Data type: **String**\n\n    Error message returned for the failed call.\n\n\n**Parent Topic:**[Cloud Action Library reference](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/itom-cloud-accelerate/cloud-action-library-reference.md)\n\n"}}