Package io.quarkus.amazon.s3.runtime
Interface S3Config
@ConfigMapping(prefix="quarkus.s3")
@ConfigRoot(phase=RUN_TIME)
public interface S3Config
-
Method Summary
Modifier and TypeMethodDescriptionbooleanEnable using the accelerate endpoint when accessing S3.Async HTTP transport configurationsaws()AWS services configurationsbooleanEnable doing a validation of the checksum of an object stored in S3.booleanEnable using chunked encoding when signing the request payload forPutObjectRequestandUploadPartRequest.AWS CRT-based S3 client configurationsbooleanEnable dualstack mode for accessing S3.booleanEnable using path style access for accessing S3 objects instead of DNS style access.Define the profile name that should be consulted to determine the default value ofuseArnRegionEnabled().sdk()AWS SDK client configurationsSync HTTP transport configurationsbooleanEnable cross-region call to the region specified in the S3 resource ARN different than the region the client was configured with.
-
Method Details
-
accelerateMode
@WithDefault("false") boolean accelerateMode()Enable using the accelerate endpoint when accessing S3.Accelerate endpoints allow faster transfer of objects by using Amazon CloudFront's globally distributed edge locations.
-
checksumValidation
@WithDefault("true") boolean checksumValidation()Enable doing a validation of the checksum of an object stored in S3. -
chunkedEncoding
@WithDefault("true") boolean chunkedEncoding()Enable using chunked encoding when signing the request payload forPutObjectRequestandUploadPartRequest. -
dualstack
@WithDefault("false") boolean dualstack()Enable dualstack mode for accessing S3. If you want to use IPv6 when accessing S3, dualstack must be enabled. -
pathStyleAccess
@WithDefault("false") boolean pathStyleAccess()Enable using path style access for accessing S3 objects instead of DNS style access. DNS style access is preferred as it will result in better load balancing when accessing S3. -
useArnRegionEnabled
@WithDefault("false") boolean useArnRegionEnabled()Enable cross-region call to the region specified in the S3 resource ARN different than the region the client was configured with. If this flag is not set to 'true', the cross-region call will throw an exception. -
profileName
Define the profile name that should be consulted to determine the default value ofuseArnRegionEnabled(). This is not used, if theuseArnRegionEnabled()is configured to 'true'.If not specified, the value in `AWS_PROFILE` environment variable or `aws.profile` system property is used and defaults to `default` name.
-
sdk
AWS SDK client configurations -
aws
AWS services configurations -
syncClient
Sync HTTP transport configurations -
asyncClient
Async HTTP transport configurations -
crtClient
AWS CRT-based S3 client configurations
-