class Aws::CredentialProviderChain

def instance_profile_credentials(options)

def instance_profile_credentials(options)
  if ENV["AWS_CONTAINER_CREDENTIALS_RELATIVE_URI"]
    ECSCredentials.new(options)
  else
    InstanceProfileCredentials.new(options)
  end
end