EasyManuals Logo

Amazon AWS SDK User Manual

Amazon AWS SDK
19 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #8 background imageLoading...
Page #8 background image
Configuration Guide
The Configuration Object
Configuration in the SDK can be done in two ways:
1. Global configuration on AWS.config, or,
2. Passing extra configuration to a service object
Setting global configuration with AWS.config is often easier to get up and running with, but service level
configuration can provide much more control over your requests. Both of these configuration mechanisms
are discussed.
Global Configuration (AWS.config)
By default, you can set global configuration by updating the AWS.config object with new settings.The
most common settings are:
accessKeyId, secretAccessKey, sessionToken — for credential management
region — to set the region for requests
sslEnabled — whether SSL is enabled or not
maxRetries — to control the number of retries for a request
The only things you need to set in order to use the SDK are credentials and the region value. Let's discuss
how to do that.
Setting AWS Credentials
Note
Remember, if you set your AWS credentials in your environment variables, the AWS SDK for
Node.js will automatically detect them, and you will not need to perform any manual credential
configuration in your application.
Version 0.9.1-pre.2 : Preview
4
AWS SDK for Node.js Getting Started Guide
The Configuration Object

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Amazon AWS SDK and is the answer not in the manual?

Amazon AWS SDK Specifications

General IconGeneral
CategorySoftware Development Kit (SDK)
DeveloperAmazon Web Services (AWS)
LicenseApache License 2.0
PurposeTo enable developers to interact with AWS services from their applications.
Supported LanguagesJava, Python, JavaScript, .NET, Ruby, PHP, Go, C++
Supported AWS ServicesAll AWS services
Operating SystemsWindows, macOS, Linux
Latest VersionVaries by SDK and language. Refer to the official AWS documentation for the specific SDK.
RepositoryGitHub (for many SDKs)
DocumentationAvailable on the AWS website.
SDK FeaturesAPI abstraction, request signing, error handling, retry logic, data serialization, and support for various authentication methods.

Related product manuals