A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/sdkforruby/api/Aws/Plugins/GlobalConfiguration.html below:

GlobalConfiguration — AWS SDK for Ruby V2

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Plugins::GlobalConfiguration Overview

This plugin provides the ability to provide global configuration for all AWS classes or specific ones.

Global AWS configuration

You 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 Method Summary Methods inherited from Seahorse::Client::Plugin

#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