You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Plugins::GlobalConfiguration OverviewThis plugin provides the ability to provide global configuration for all AWS classes or specific ones.
Global AWS configurationYou can specify global configuration defaults via Aws.config
Aws.config[:region] = 'us-west-2'
Options applied to Aws.config
are merged with constructed service interfaces.
Aws::EC2.new.config.region
Aws::EC2.new(region: 'us-east-1').config.region
Service Specific Global Configuration
Some services have very specific configuration options that are not shared by other services.
Aws.config[:force_path_style] = true
Aws::EC2.new
To avoid this issue, you can nest service specific options
Aws.config[:s3] = { force_path_style: true }
Aws::EC2.new Aws::S3.new.config.force_path_style
Attribute Summary collapse
#add_handlers, #add_options, #after_initialize, after_initialize, before_initialize, option
Methods included from Seahorse::Client::HandlerBuilder#handle, #handle_request, #handle_response
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4