AWS SDK for Java
The AWS SDK for Java is a development kit for working with AWS services.
Preparation for work
Create a service account .
Assign a role to a service account .
Create a static access key .
Installation
To install the AWS SDK for JAVA, follow the instructions on the manufacturer's website.
Customization
To configure, create configuration files in your home directory and specify in them:
Static key in file
.aws/credentials
:Default region in file
.aws/config
:
Use the address to access ColdStack s3.coldstack.io
.
Code examples
The sample code is located in the directory aws-java-sdk/samples/AmazonS3
in the archive with the SDK distribution kit.
To connect to Object Storage, replace the code in the example
on the
Last updated