Environment variables and system properties changes - Amazon SDK for Java 2.x
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Environment variables and system properties changes

1.x Environment Variable 1.x System Property 2.x Environment Variable 2.x System Property
AWS_ACCESS_KEY_IDAWS_ACCESS_KEY aws.accessKeyId AWS_ACCESS_KEY_ID aws.accessKeyId
AWS_SECRET_KEYAWS_SECRET_ACCESS_KEY aws.secretKey AWS_SECRET_ACCESS_KEY aws.secretAccessKey
AWS_SESSION_TOKEN aws.sessionToken AWS_SESSION_TOKEN aws.sessionToken
AWS_REGION aws.region AWS_REGION aws.region
AWS_CONFIG_FILE AWS_CONFIG_FILE aws.configFile
AWS_CREDENTIAL_PROFILES_FILE AWS_SHARED_CREDENTIALS_FILE aws.sharedCredentialsFile
AWS_PROFILE aws.profile AWS_PROFILE aws.profile
AWS_EC2_METADATA_DISABLED com.amazonaws.sdk.disableEc2Metadata AWS_EC2_METADATA_DISABLED aws.disableEc2Metadata
com.amazonaws.sdk.ec2MetadataServiceEndpointOverride AWS_EC2_METADATA_SERVICE_ENDPOINT aws.ec2MetadataServiceEndpoint
AWS_CONTAINER_CREDENTIALS_RELATIVE_URI AWS_CONTAINER_CREDENTIALS_RELATIVE_URI aws.containerCredentialsPath
AWS_CONTAINER_CREDENTIALS_FULL_URI AWS_CONTAINER_CREDENTIALS_FULL_URI aws.containerCredentialsFullUri
AWS_CONTAINER_AUTHORIZATION_TOKEN AWS_CONTAINER_AUTHORIZATION_TOKEN aws.containerAuthorizationToken
AWS_CBOR_DISABLED com.amazonaws.sdk.disableCbor CBOR_ENABLED aws.cborEnabled
AWS_ION_BINARY_DISABLE com.amazonaws.sdk.disableIonBinary BINARY_ION_ENABLED aws.binaryIonEnabled
AWS_EXECUTION_ENV AWS_EXECUTION_ENV aws.executionEnvironment
com.amazonaws.sdk.disableCertChecking Not supported (Request feature) Not supported (Request feature)
com.amazonaws.sdk.enableDefaultMetrics Not supported Not supported
com.amazonaws.sdk.enableThrottledRetry Not supported Not supported
com.amazonaws.regions.RegionUtils.fileOverride Not supported (Request feature) Not supported (Request feature)
com.amazonaws.regions.RegionUtils.disableRemote Not supported (Request feature) Not supported (Request feature)
com.amazonaws.services.s3.disableImplicitGlobalClients Not supported (Request feature) Not supported (Request feature)
com.amazonaws.sdk.enableInRegionOptimizedMode Not supported (Request feature) Not supported (Request feature)