...will request refreshable credentials from the relative URI specified by the AWS_CONTAINER_CREDENTIALS_RELATIVE_URI or the AWS_CONTAINER_CREDENTIALS_FULL_URI environment variable. If valid credentials are returned in the response, these will be used with zero configuration.
Ref: http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/ECSCredentials.html