ballerinax/aws.s3 Ballerina library
The Ballerina AWS S3 provides the capability to manage buckets and objects in AWS S3.
This module supports Amazon S3 REST API
Before using this connector in your Ballerina application, complete the following:
To use the AWS S3 connector in your Ballerina application, update the .bal file as follows:
Step 1: Import connector
ballerinax/aws.s3 module into the Ballerina project.
Step 2: Create a new connector instance
s3:ConnectionConfig with the tokens obtained, and initialize the connector with it.
Step 3: Invoke connector operation
Now you can use the operations available within the connector. Note that they are in the form of remote operations.
Following is an example on how to create a bucket using the connector.
bal runcommand to compile and run the Ballerina program.
Released date: 9 months ago
Ballerina version: 2201.4.1
Current verison: 2922