Class: Humidifier::IoT::Logging

Inherits:
Resource
  • Object
show all
Defined in:
lib/humidifier/magic.rb

Overview

A dynamically-defined class that represents an AWS::IoT::Logging resource

AWS Resource:

Constant Summary

Constants inherited from Resource

Resource::COMMON_ATTRIBUTES

Instance Method Summary collapse

Methods inherited from Resource

#initialize, #method_missing, prop?, #respond_to_missing?, #to_cf, #update, #update_attributes, #update_property

Constructor Details

This class inherits a constructor from Humidifier::Resource

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Humidifier::Resource

Instance Method Details

#account_idObject

returns the AccountId property



10
11
12
# File 'lib/humidifier/magic.rb', line 10

def 
  properties['account_id']
end

#account_id=(value) ⇒ Object

sets the AccountId property (String)



15
16
17
# File 'lib/humidifier/magic.rb', line 15

def (value)
  update_property('account_id', value)
end

#default_log_levelObject

returns the DefaultLogLevel property



20
21
22
# File 'lib/humidifier/magic.rb', line 20

def default_log_level
  properties['default_log_level']
end

#default_log_level=(value) ⇒ Object

sets the DefaultLogLevel property (String)



25
26
27
# File 'lib/humidifier/magic.rb', line 25

def default_log_level=(value)
  update_property('default_log_level', value)
end

#role_arnObject

returns the RoleArn property



30
31
32
# File 'lib/humidifier/magic.rb', line 30

def role_arn
  properties['role_arn']
end

#role_arn=(value) ⇒ Object

sets the RoleArn property (String)



35
36
37
# File 'lib/humidifier/magic.rb', line 35

def role_arn=(value)
  update_property('role_arn', value)
end