https://github.com/viveknaskar/java-aws-s3
Java Project for Uploading Files to AWS S3 Using SDK v2
https://github.com/viveknaskar/java-aws-s3
aws aws-s3 java s3-bucket
Last synced: about 2 months ago
JSON representation
Java Project for Uploading Files to AWS S3 Using SDK v2
- Host: GitHub
- URL: https://github.com/viveknaskar/java-aws-s3
- Owner: viveknaskar
- Created: 2018-11-29T18:13:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-02-09T18:53:00.000Z (over 1 year ago)
- Last Synced: 2025-02-09T19:36:01.776Z (over 1 year ago)
- Topics: aws, aws-s3, java, s3-bucket
- Language: Java
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AWS S3 Java Demo
This project demonstrates how to interact with Amazon S3 using the AWS SDK for Java (v2). It includes functionalities for:
- Listing all available S3 buckets
- Uploading a file to a specified S3 bucket
## Prerequisites
Before running this application, ensure that:
- **Java 17** installed
- **Maven** installed
- An **AWS account** with necessary IAM permissions
#### AWS credentials set up via environment variables:
```sh
export AWS_ACCESS_KEY_ID=your-access-key
export AWS_SECRET_ACCESS_KEY=your-secret-key
```
## Configuration
Modify `application.properties` for custom configurations (if needed):
```properties
aws.region=us-east-2
aws.s3.bucket-name=your-bucket-name
```
## License
This project is licensed under the MIT License.