Class: OpsManagerUiDrivers::Version15::Settings::AWS
- Inherits:
-
Object
- Object
- OpsManagerUiDrivers::Version15::Settings::AWS
- Defined in:
- lib/ops_manager_ui_drivers/version15/settings.rb
Class Method Summary collapse
Instance Method Summary collapse
- #advanced_infrastructure_config_fields ⇒ Object
- #iaas_configuration_fields ⇒ Object
-
#initialize(test_settings) ⇒ AWS
constructor
A new instance of AWS.
Constructor Details
#initialize(test_settings) ⇒ AWS
Returns a new instance of AWS.
77 78 79 |
# File 'lib/ops_manager_ui_drivers/version15/settings.rb', line 77 def initialize(test_settings) @test_settings = test_settings end |
Class Method Details
.works_with?(iaas_type) ⇒ Boolean
73 74 75 |
# File 'lib/ops_manager_ui_drivers/version15/settings.rb', line 73 def self.works_with?(iaas_type) iaas_type == 'aws' end |
Instance Method Details
#advanced_infrastructure_config_fields ⇒ Object
93 94 95 |
# File 'lib/ops_manager_ui_drivers/version15/settings.rb', line 93 def advanced_infrastructure_config_fields { } end |
#iaas_configuration_fields ⇒ Object
81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/ops_manager_ui_drivers/version15/settings.rb', line 81 def iaas_configuration_fields { 'access_key_id' => test_settings.ops_manager.aws.aws_access_key, 'secret_access_key' => test_settings.ops_manager.aws.aws_secret_key, 'vpc_id' => test_settings.ops_manager.aws.vpc_id, 'security_group' => test_settings.ops_manager.aws.security_group, 'key_pair_name' => test_settings.ops_manager.aws.key_pair_name, 'ssh_private_key' => test_settings.ops_manager.aws.ssh_key, 'region' => test_settings.ops_manager.aws.region, } end |