Additional client changes - AWS SDK for Java

You can now use the Amazon S3 Transfer Manager (Developer Preview) in the AWS SDK for Java 2.x for accelerated file transfers. Give it a try and let us know what you think! By the way, the AWS SDK for Java team is hiring software development engineers!

Additional client changes

This topic describes additional changes to the default client in the AWS SDK for Java 2.x.

Default client changes

  • The default credential provider chain for Amazon S3 no longer includes anonymous credentials. You must specify anonymous access to Amazon S3 manually by using the AnonymousCredentialsProvider.

  • The following environment variables related to default client creation have been changed.

    1.x 2.x

    AWS_CBOR_DISABLED

    CBOR_ENABLED

    AWS_ION_BINARY_DISABLE

    BINARY_ION_ENABLED

  • The following system properties related to default client creation have been changed.

    1.x 2.x

    com.amazonaws.sdk.disableEc2Metadata

    aws.disableEc2Metadata

    com.amazonaws.sdk.ec2MetadataServiceEndpointOverride

    aws.ec2MetadataServiceEndpoint

    com.amazonaws.sdk.disableCbor

    aws.cborEnabled

    com.amazonaws.sdk.disableIonBinary

    aws.binaryIonEnabled

  • The following system properties are no longer supported in 2.x.

    1.x

    com.amazonaws.sdk.disableCertChecking

    com.amazonaws.sdk.enableDefaultMetrics

    com.amazonaws.sdk.enableThrottledRetry

    com.amazonaws.regions.RegionUtils.fileOverride

    com.amazonaws.regions.RegionUtils.disableRemote

    com.amazonaws.services.s3.disableImplicitGlobalClients

    com.amazonaws.sdk.enableInRegionOptimizedMode

  • Loading Region configuration from a custom endpoints.json file is no longer supported.