Class: ConfigOMat::Op::ConnectToAws
- Inherits:
-
LifecycleVM::OpBase
- Object
- LifecycleVM::OpBase
- ConfigOMat::Op::ConnectToAws
- Defined in:
- lib/config_o_mat/configurator/op/connect_to_aws.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
29 30 31 32 33 34 35 36 |
# File 'lib/config_o_mat/configurator/op/connect_to_aws.rb', line 29 def call client_opts = { logger: logger } client_opts[:region] = region if region self.appconfig_client = Aws::AppConfig::Client.new(client_opts) self.s3_client = Aws::S3::Client.new(client_opts.merge(use_dualstack_endpoint: true )) self.secretsmanager_client = Aws::SecretsManager::Client.new(client_opts) end |