Class: AWS.Config
- Inherits:
-
Object
- Object
- AWS.Config
- Defined in:
- lib/config.js
Overview
The main configuration class used by all service objects to set the region, credentials, and other options for requests.
By default, credentials and region settings are left unconfigured. This should be configured by the application before using any AWS service APIs.
In order to set global configuration options, properties should be assigned to the global AWS.config object.
Constructor Summary
-
new AWS.Config(options) ⇒ void
constructor
Creates a new configuration object.
General Configuration Options
-
computeChecksums ⇒ Boolean
readwrite
Whether to compute checksums for payload bodies when the service accepts it (currently supported in S3 only).
-
convertResponseTypes ⇒ Boolean
readwrite
Whether types are converted when parsing response data.
-
correctClockSkew ⇒ Boolean
readwrite
Whether to apply a clock skew correction and retry requests that fail because of an skewed client clock.
-
credentials ⇒ AWS.Credentials
readwrite
The AWS credentials to sign requests with.
-
endpointCacheSize ⇒ Number
readwrite
The size of the global cache storing endpoints from endpoint discovery operations.
-
endpointDiscoveryEnabled ⇒ Boolean
readwrite
Whether to enable endpoint discovery for operations that allow optionally using an endpoint returned by the service.
-
hostPrefixEnabled ⇒ Boolean
readwrite
Whether to marshal request parameters to the prefix of hostname.
-
httpOptions ⇒ map
readwrite
A set of options to pass to the low-level HTTP request.
-
logger ⇒ #write, #log
readwrite
An object that responds to .write() (like a stream) or .log() (like the console object) in order to log information about requests.
-
maxRedirects ⇒ Integer
readwrite
The maximum amount of redirects to follow for a service request.
-
maxRetries ⇒ Integer
readwrite
The maximum amount of retries to perform for a service request.
-
paramValidation ⇒ Boolean|map
readwrite
Whether input parameters should be validated against the operation description before sending the request.
-
region ⇒ AWS.Credentials
readwrite
The region to send service requests to.
-
retryDelayOptions ⇒ map
readwrite
A set of options to configure the retry delay on retryable errors.
-
s3BucketEndpoint ⇒ Boolean
readwrite
Whether the provided endpoint addresses an individual bucket (false if it addresses the root API endpoint).
-
s3DisableBodySigning ⇒ Boolean
readwrite
Whether to disable S3 body signing when using signature version
v4
. -
s3ForcePathStyle ⇒ Boolean
readwrite
Whether to force path style URLs for S3 objects.
-
signatureCache ⇒ Boolean
readwrite
Whether the signature to sign requests with (overriding the API configuration) is cached.
-
signatureVersion ⇒ String
readwrite
The signature version to sign requests with (overriding the API configuration).
-
sslEnabled ⇒ Boolean
readwrite
Whether SSL is enabled for requests.
-
systemClockOffset ⇒ Number
readwrite
An offset value in milliseconds to apply to all signing times.
-
useAccelerateEndpoint ⇒ Boolean
readwrite
Whether to use the Accelerate endpoint with the S3 service.
Service-Specific Config Options
-
acm ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.ACM.
-
acmpca ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.ACMPCA.
-
alexaforbusiness ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.AlexaForBusiness.
-
amplify ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Amplify.
-
apigateway ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.APIGateway.
-
apigatewaymanagementapi ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.ApiGatewayManagementApi.
-
apigatewayv2 ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.ApiGatewayV2.
-
applicationautoscaling ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.ApplicationAutoScaling.
-
appmesh ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.AppMesh.
-
appstream ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.AppStream.
-
appsync ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.AppSync.
-
athena ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Athena.
-
autoscaling ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.AutoScaling.
-
autoscalingplans ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.AutoScalingPlans.
-
backup ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Backup.
-
batch ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Batch.
-
budgets ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Budgets.
-
chime ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Chime.
-
cloud9 ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Cloud9.
-
clouddirectory ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.CloudDirectory.
-
cloudformation ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.CloudFormation.
-
cloudfront ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.CloudFront.
-
cloudhsm ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.CloudHSM.
-
cloudhsmv2 ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.CloudHSMV2.
-
cloudsearch ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.CloudSearch.
-
cloudsearchdomain ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.CloudSearchDomain.
-
cloudtrail ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.CloudTrail.
-
cloudwatch ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.CloudWatch.
-
cloudwatchevents ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.CloudWatchEvents.
-
cloudwatchlogs ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.CloudWatchLogs.
-
codebuild ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.CodeBuild.
-
codecommit ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.CodeCommit.
-
codedeploy ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.CodeDeploy.
-
codepipeline ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.CodePipeline.
-
codestar ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.CodeStar.
-
cognitoidentity ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.CognitoIdentity.
-
cognitoidentityserviceprovider ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.CognitoIdentityServiceProvider.
-
cognitosync ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.CognitoSync.
-
comprehend ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Comprehend.
-
comprehendmedical ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.ComprehendMedical.
-
configservice ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.ConfigService.
-
connect ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Connect.
-
costexplorer ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.CostExplorer.
-
cur ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.CUR.
-
datapipeline ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.DataPipeline.
-
datasync ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.DataSync.
-
dax ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.DAX.
-
devicefarm ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.DeviceFarm.
-
directconnect ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.DirectConnect.
-
directoryservice ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.DirectoryService.
-
discovery ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Discovery.
-
dlm ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.DLM.
-
dms ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.DMS.
-
docdb ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.DocDB.
-
dynamodb ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.DynamoDB.
-
dynamodbstreams ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.DynamoDBStreams.
-
ec2 ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.EC2.
-
ecr ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.ECR.
-
ecs ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.ECS.
-
efs ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.EFS.
-
eks ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.EKS.
-
elasticache ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.ElastiCache.
-
elasticbeanstalk ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.ElasticBeanstalk.
-
elastictranscoder ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.ElasticTranscoder.
-
elb ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.ELB.
-
elbv2 ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.ELBv2.
-
emr ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.EMR.
-
es ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.ES.
-
firehose ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Firehose.
-
fms ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.FMS.
-
fsx ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.FSx.
-
gamelift ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.GameLift.
-
glacier ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Glacier.
-
globalaccelerator ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.GlobalAccelerator.
-
glue ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Glue.
-
greengrass ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Greengrass.
-
guardduty ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.GuardDuty.
-
health ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Health.
-
iam ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.IAM.
-
importexport ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.ImportExport.
-
inspector ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Inspector.
-
iot ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Iot.
-
iot1clickdevicesservice ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.IoT1ClickDevicesService.
-
iot1clickprojects ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.IoT1ClickProjects.
-
iotanalytics ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.IoTAnalytics.
-
iotdata ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.IotData.
-
iotjobsdataplane ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.IoTJobsDataPlane.
-
kafka ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Kafka.
-
kinesis ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Kinesis.
-
kinesisanalytics ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.KinesisAnalytics.
-
kinesisanalyticsv2 ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.KinesisAnalyticsV2.
-
kinesisvideo ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.KinesisVideo.
-
kinesisvideoarchivedmedia ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.KinesisVideoArchivedMedia.
-
kinesisvideomedia ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.KinesisVideoMedia.
-
kms ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.KMS.
-
lambda ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Lambda.
-
lexmodelbuildingservice ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.LexModelBuildingService.
-
lexruntime ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.LexRuntime.
-
licensemanager ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.LicenseManager.
-
lightsail ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Lightsail.
-
machinelearning ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.MachineLearning.
-
macie ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Macie.
-
managedblockchain ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.ManagedBlockchain.
-
marketplacecommerceanalytics ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.MarketplaceCommerceAnalytics.
-
marketplaceentitlementservice ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.MarketplaceEntitlementService.
-
marketplacemetering ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.MarketplaceMetering.
-
mediaconnect ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.MediaConnect.
-
mediaconvert ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.MediaConvert.
-
medialive ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.MediaLive.
-
mediapackage ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.MediaPackage.
-
mediastore ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.MediaStore.
-
mediastoredata ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.MediaStoreData.
-
mediatailor ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.MediaTailor.
-
migrationhub ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.MigrationHub.
-
mobile ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Mobile.
-
mobileanalytics ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.MobileAnalytics.
-
mq ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.MQ.
-
mturk ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.MTurk.
-
neptune ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Neptune.
-
opsworks ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.OpsWorks.
-
opsworkscm ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.OpsWorksCM.
-
organizations ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Organizations.
-
pi ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.PI.
-
pinpoint ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Pinpoint.
-
pinpointemail ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.PinpointEmail.
-
pinpointsmsvoice ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.PinpointSMSVoice.
-
polly ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Polly.
-
pricing ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Pricing.
-
quicksight ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.QuickSight.
-
ram ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.RAM.
-
rds ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.RDS.
-
rdsdataservice ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.RDSDataService.
-
redshift ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Redshift.
-
rekognition ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Rekognition.
-
resourcegroups ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.ResourceGroups.
-
resourcegroupstaggingapi ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.ResourceGroupsTaggingAPI.
-
robomaker ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.RoboMaker.
-
route53 ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Route53.
-
route53domains ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Route53Domains.
-
route53resolver ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Route53Resolver.
-
s3 ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.S3.
-
s3control ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.S3Control.
-
sagemaker ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.SageMaker.
-
sagemakerruntime ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.SageMakerRuntime.
-
secretsmanager ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.SecretsManager.
-
securityhub ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.SecurityHub.
-
serverlessapplicationrepository ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.ServerlessApplicationRepository.
-
servicecatalog ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.ServiceCatalog.
-
servicediscovery ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.ServiceDiscovery.
-
ses ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.SES.
-
shield ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Shield.
-
signer ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Signer.
-
simpledb ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.SimpleDB.
-
sms ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.SMS.
-
snowball ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Snowball.
-
sns ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.SNS.
-
sqs ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.SQS.
-
ssm ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.SSM.
-
stepfunctions ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.StepFunctions.
-
storagegateway ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.StorageGateway.
-
sts ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.STS.
-
support ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Support.
-
swf ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.SWF.
-
textract ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Textract.
-
transcribeservice ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.TranscribeService.
-
transfer ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Transfer.
-
translate ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.Translate.
-
waf ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.WAF.
-
wafregional ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.WAFRegional.
-
workdocs ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.WorkDocs.
-
worklink ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.WorkLink.
-
workmail ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.WorkMail.
-
workspaces ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.WorkSpaces.
-
xray ⇒ AWS.Config, map
readwrite
Service-specific configuration options for AWS.XRay.
Managing Credentials
-
getCredentials(callback) ⇒ void
Loads credentials from the configuration object.
Loading and Setting Configuration Options
-
getPromisesDependency() ⇒ void
Gets the promise dependency set by
AWS.config.setPromisesDependency
. -
loadFromPath(path) ⇒ AWS.Config
Loads configuration data from a JSON file into this config object.
-
setPromisesDependency(dep) ⇒ void
Sets the promise dependency the SDK will use wherever Promises are returned.
-
update(options, allowUnknownKeys = false) ⇒ void
Updates the current configuration object with new options.
Constructor Details
Property Details
alexaforbusiness ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.AlexaForBusiness.
amplify ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.Amplify.
apigateway ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.APIGateway.
apigatewaymanagementapi ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.ApiGatewayManagementApi.
apigatewayv2 ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.ApiGatewayV2.
applicationautoscaling ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.ApplicationAutoScaling.
appmesh ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.AppMesh.
appstream ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.AppStream.
appsync ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.AppSync.
autoscaling ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.AutoScaling.
autoscalingplans ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.AutoScalingPlans.
budgets ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.Budgets.
clouddirectory ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.CloudDirectory.
cloudformation ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.CloudFormation.
cloudfront ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.CloudFront.
cloudhsm ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.CloudHSM.
cloudhsmv2 ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.CloudHSMV2.
cloudsearch ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.CloudSearch.
cloudsearchdomain ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.CloudSearchDomain.
cloudtrail ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.CloudTrail.
cloudwatch ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.CloudWatch.
cloudwatchevents ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.CloudWatchEvents.
cloudwatchlogs ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.CloudWatchLogs.
codebuild ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.CodeBuild.
codecommit ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.CodeCommit.
codedeploy ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.CodeDeploy.
codepipeline ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.CodePipeline.
codestar ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.CodeStar.
cognitoidentity ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.CognitoIdentity.
cognitoidentityserviceprovider ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.CognitoIdentityServiceProvider.
cognitosync ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.CognitoSync.
comprehend ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.Comprehend.
comprehendmedical ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.ComprehendMedical.
computeChecksums ⇒ Boolean (readwrite)
Returns whether to compute checksums for payload bodies when the service accepts it (currently supported in S3 only).
configservice ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.ConfigService.
connect ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.Connect.
convertResponseTypes ⇒ Boolean (readwrite)
Returns whether types are converted when parsing response data.
Currently only supported for JSON based services. Turning this off may
improve performance on large response payloads. Defaults to true
.
correctClockSkew ⇒ Boolean (readwrite)
Returns whether to apply a clock skew correction and retry
requests that fail because of an skewed client clock. Defaults to
false
.
costexplorer ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.CostExplorer.
datapipeline ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.DataPipeline.
datasync ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.DataSync.
devicefarm ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.DeviceFarm.
directconnect ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.DirectConnect.
directoryservice ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.DirectoryService.
discovery ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.Discovery.
dynamodb ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.DynamoDB.
dynamodbstreams ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.DynamoDBStreams.
elasticache ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.ElastiCache.
elasticbeanstalk ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.ElasticBeanstalk.
elastictranscoder ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.ElasticTranscoder.
endpointCacheSize ⇒ Number (readwrite)
Returns the size of the global cache storing endpoints from endpoint discovery operations. Once endpoint cache is created, updating this setting cannot change existing cache size. Defaults to 1000
endpointDiscoveryEnabled ⇒ Boolean (readwrite)
Returns whether to enable endpoint discovery for operations that allow optionally using an endpoint returned by the service. Defaults to 'false'
firehose ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.Firehose.
gamelift ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.GameLift.
glacier ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.Glacier.
globalaccelerator ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.GlobalAccelerator.
greengrass ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.Greengrass.
guardduty ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.GuardDuty.
hostPrefixEnabled ⇒ Boolean (readwrite)
Returns whether to marshal request parameters to the prefix of
hostname. Defaults to true
.
httpOptions ⇒ map (readwrite)
Returns A set of options to pass to the low-level HTTP request. Currently supported options are:
- proxy [String] — the URL to proxy requests through
- agent [http.Agent, https.Agent] — the Agent object to perform
HTTP requests with. Used for connection pooling. Defaults to the global
agent (
http.globalAgent
) for non-SSL connections. Note that for SSL connections, a special Agent object is used in order to enable peer certificate verification. This feature is only supported in the Node.js environment. - connectTimeout [Integer] — Sets the socket to timeout after
failing to establish a connection with the server after
connectTimeout
milliseconds. This timeout has no effect once a socket connection has been established. - timeout [Integer] — Sets the socket to timeout after timeout milliseconds of inactivity on the socket. Defaults to two minutes (120000)
- xhrAsync [Boolean] — Whether the SDK will send asynchronous HTTP requests. Used in the browser environment only. Set to false to send requests synchronously. Defaults to true (async on).
- xhrWithCredentials [Boolean] — Sets the "withCredentials" property of an XMLHttpRequest object. Used in the browser environment only. Defaults to false.
importexport ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.ImportExport.
inspector ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.Inspector.
iot1clickdevicesservice ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.IoT1ClickDevicesService.
iot1clickprojects ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.IoT1ClickProjects.
iotanalytics ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.IoTAnalytics.
iotdata ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.IotData.
iotjobsdataplane ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.IoTJobsDataPlane.
kinesis ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.Kinesis.
kinesisanalytics ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.KinesisAnalytics.
kinesisanalyticsv2 ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.KinesisAnalyticsV2.
kinesisvideo ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.KinesisVideo.
kinesisvideoarchivedmedia ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.KinesisVideoArchivedMedia.
kinesisvideomedia ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.KinesisVideoMedia.
lexmodelbuildingservice ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.LexModelBuildingService.
lexruntime ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.LexRuntime.
licensemanager ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.LicenseManager.
lightsail ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.Lightsail.
logger ⇒ #write, #log (readwrite)
Returns an object that responds to .write() (like a stream) or .log() (like the console object) in order to log information about requests
machinelearning ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.MachineLearning.
managedblockchain ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.ManagedBlockchain.
marketplacecommerceanalytics ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.MarketplaceCommerceAnalytics.
marketplaceentitlementservice ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.MarketplaceEntitlementService.
marketplacemetering ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.MarketplaceMetering.
maxRedirects ⇒ Integer (readwrite)
Returns the maximum amount of redirects to follow for a service request. Defaults to 10.
maxRetries ⇒ Integer (readwrite)
Returns the maximum amount of retries to perform for a service request. By default this value is calculated by the specific service object that the request is being made to.
mediaconnect ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.MediaConnect.
mediaconvert ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.MediaConvert.
medialive ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.MediaLive.
mediapackage ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.MediaPackage.
mediastore ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.MediaStore.
mediastoredata ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.MediaStoreData.
mediatailor ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.MediaTailor.
migrationhub ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.MigrationHub.
mobileanalytics ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.MobileAnalytics.
neptune ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.Neptune.
opsworks ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.OpsWorks.
opsworkscm ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.OpsWorksCM.
organizations ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.Organizations.
paramValidation ⇒ Boolean|map (readwrite)
Returns whether input parameters should be validated against the operation description before sending the request. Defaults to true. Pass a map to enable any of the following specific validation features:
- min [Boolean] — Validates that a value meets the min
constraint. This is enabled by default when paramValidation is set
to
true
. - max [Boolean] — Validates that a value meets the max constraint.
- pattern [Boolean] — Validates that a string value matches a regular expression.
- enum [Boolean] — Validates that a string value matches one of the allowable enum values.
pinpoint ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.Pinpoint.
pinpointemail ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.PinpointEmail.
pinpointsmsvoice ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.PinpointSMSVoice.
pricing ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.Pricing.
quicksight ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.QuickSight.
rdsdataservice ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.RDSDataService.
redshift ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.Redshift.
rekognition ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.Rekognition.
resourcegroups ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.ResourceGroups.
resourcegroupstaggingapi ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.ResourceGroupsTaggingAPI.
retryDelayOptions ⇒ map (readwrite)
Returns A set of options to configure the retry delay on retryable errors. Currently supported options are:
- base [Integer] — The base number of milliseconds to use in the exponential backoff for operation retries. Defaults to 100 ms for all services except DynamoDB, where it defaults to 50ms.
- customBackoff [function] — A custom function that accepts a retry count
and returns the amount of time to delay in milliseconds. The
base
option will be ignored if this option is supplied.
robomaker ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.RoboMaker.
route53 ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.Route53.
route53domains ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.Route53Domains.
route53resolver ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.Route53Resolver.
s3BucketEndpoint ⇒ Boolean (readwrite)
Setting this configuration option requires an endpoint
to be
provided explicitly to the service constructor.
Returns whether the provided endpoint addresses an individual bucket (false if it addresses the root API endpoint).
s3control ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.S3Control.
s3DisableBodySigning ⇒ Boolean (readwrite)
Returns whether to disable S3 body signing when using signature version v4
.
Body signing can only be disabled when using https. Defaults to true
.
sagemaker ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.SageMaker.
sagemakerruntime ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.SageMakerRuntime.
secretsmanager ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.SecretsManager.
securityhub ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.SecurityHub.
serverlessapplicationrepository ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.ServerlessApplicationRepository.
servicecatalog ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.ServiceCatalog.
servicediscovery ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.ServiceDiscovery.
signatureCache ⇒ Boolean (readwrite)
Returns whether the signature to sign requests with (overriding
the API configuration) is cached. Only applies to the signature version 'v4'.
Defaults to true
.
signatureVersion ⇒ String (readwrite)
Returns the signature version to sign requests with (overriding the API configuration). Possible values are: 'v2', 'v3', 'v4'.
simpledb ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.SimpleDB.
snowball ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.Snowball.
stepfunctions ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.StepFunctions.
storagegateway ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.StorageGateway.
support ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.Support.
systemClockOffset ⇒ Number (readwrite)
Returns an offset value in milliseconds to apply to all signing
times. Use this to compensate for clock skew when your system may be
out of sync with the service time. Note that this configuration option
can only be applied to the global AWS.config
object and cannot be
overridden in service-specific configuration. Defaults to 0 milliseconds.
textract ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.Textract.
transcribeservice ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.TranscribeService.
transfer ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.Transfer.
translate ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.Translate.
useAccelerateEndpoint ⇒ Boolean (readwrite)
This configuration option is only compatible with S3 while accessing dns-compatible buckets.
Returns Whether to use the Accelerate endpoint with the S3 service.
Defaults to false
.
wafregional ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.WAFRegional.
workdocs ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.WorkDocs.
worklink ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.WorkLink.
workmail ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.WorkMail.
workspaces ⇒ AWS.Config, map (readwrite)
Returns Service-specific configuration options for AWS.WorkSpaces.
Method Details
getCredentials(callback) ⇒ void
If you configure the SDK with static or environment credentials, the credential data should already be present in credentials attribute. This method is primarily necessary to load credentials from asynchronous sources, or sources that can refresh credentials periodically.
Loads credentials from the configuration object. This is used internally by the SDK to ensure that refreshable AWS.Credentials objects are properly refreshed and loaded when sending a request. If you want to ensure that your credentials are loaded prior to a request, you can use this method directly to provide accurate credential data stored in the object.
loadFromPath(path) ⇒ AWS.Config
Loading configuration will reset all existing configuration on the object.
This feature is not supported in the browser environment of the SDK.
Loads configuration data from a JSON file into this config object.