環境變數和系統屬性變更 - AWS SDK for Java 2.x

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

環境變數和系統屬性變更

1.x 環境變數 1.x 系統屬性 2.x 環境變數 2.x 系統屬性
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 不支援 (請求功能) 不支援 (請求功能)
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 不支援 (請求功能) 不支援 (請求功能)