Class: AwsCftTools::Client::Base
- Inherits:
-
Object
- Object
- AwsCftTools::Client::Base
- Defined in:
- lib/aws_cft_tools/client/base.rb
Overview
CloudFormation Client
All of the business logic behind direct interaction with the AWS API for CloudFormation templates and stacks.
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Class Method Summary collapse
Instance Method Summary collapse
-
#aws_client ⇒ Object
The AWS SDK client object for this part of the AwsCftTools client.
-
#initialize(options = {}) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(options = {}) ⇒ Base
Returns a new instance of Base.
21 22 23 |
# File 'lib/aws_cft_tools/client/base.rb', line 21 def initialize( = {}) @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
12 13 14 |
# File 'lib/aws_cft_tools/client/base.rb', line 12 def @options end |
Class Method Details
.aws_client_class ⇒ Object
37 |
# File 'lib/aws_cft_tools/client/base.rb', line 37 def self.aws_client_class; end |
Instance Method Details
#aws_client ⇒ Object
The AWS SDK client object for this part of the AwsCftTools client
27 28 29 30 31 32 33 34 35 |
# File 'lib/aws_cft_tools/client/base.rb', line 27 def aws_client @aws_client ||= begin klass = self.class.aws_client_class klass && klass.new( region: [:region], profile: [:profile] ) end end |