Class: Humidifier::Kinesis::Stream

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

Overview

A dynamically-defined class that represents an AWS::Kinesis::Stream 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

#nameObject

returns the Name property



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

def name
  properties['name']
end

#name=(value) ⇒ Object

sets the Name property (String)



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

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

#retention_period_hoursObject

returns the RetentionPeriodHours property



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

def retention_period_hours
  properties['retention_period_hours']
end

#retention_period_hours=(value) ⇒ Object

sets the RetentionPeriodHours property (Integer)



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

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

#shard_countObject

returns the ShardCount property



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

def shard_count
  properties['shard_count']
end

#shard_count=(value) ⇒ Object

sets the ShardCount property (Integer)



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

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

#stream_encryptionObject

returns the StreamEncryption property



40
41
42
# File 'lib/humidifier/magic.rb', line 40

def stream_encryption
  properties['stream_encryption']
end

#stream_encryption=(value) ⇒ Object

sets the StreamEncryption property (Structure)



45
46
47
# File 'lib/humidifier/magic.rb', line 45

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

#stream_mode_detailsObject

returns the StreamModeDetails property



50
51
52
# File 'lib/humidifier/magic.rb', line 50

def stream_mode_details
  properties['stream_mode_details']
end

#stream_mode_details=(value) ⇒ Object

sets the StreamModeDetails property (Structure)



55
56
57
# File 'lib/humidifier/magic.rb', line 55

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

#tagsObject

returns the Tags property



60
61
62
# File 'lib/humidifier/magic.rb', line 60

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (List)



65
66
67
# File 'lib/humidifier/magic.rb', line 65

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