Class: Awshark::CloudFormation::Configuration
- Inherits:
-
Object
- Object
- Awshark::CloudFormation::Configuration
- Defined in:
- lib/awshark/cloud_formation/configuration.rb
Instance Attribute Summary collapse
- #client ⇒ Object
-
#event_polling ⇒ Object
readonly
Returns the value of attribute event_polling.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 |
# File 'lib/awshark/cloud_formation/configuration.rb', line 8 def initialize @event_polling = 3 end |
Instance Attribute Details
#client ⇒ Object
12 13 14 15 16 17 |
# File 'lib/awshark/cloud_formation/configuration.rb', line 12 def client @client ||= begin region = Aws.config[:region] Aws::CloudFormation::Client.new(region: region) end end |
#event_polling ⇒ Object (readonly)
Returns the value of attribute event_polling.
6 7 8 |
# File 'lib/awshark/cloud_formation/configuration.rb', line 6 def event_polling @event_polling end |