Class: Awshark::CloudFormation::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/awshark/cloud_formation/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#clientObject



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_pollingObject (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