Class: Humidifier::Lambda::Function

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

Overview

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

#architecturesObject

returns the Architectures property



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

def architectures
  properties['architectures']
end

#architectures=(value) ⇒ Object

sets the Architectures property (List)



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

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

#codeObject

returns the Code property



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

def code
  properties['code']
end

#code=(value) ⇒ Object

sets the Code property (Structure)



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

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

#code_signing_config_arnObject

returns the CodeSigningConfigArn property



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

def code_signing_config_arn
  properties['code_signing_config_arn']
end

#code_signing_config_arn=(value) ⇒ Object

sets the CodeSigningConfigArn property (String)



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

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

#dead_letter_configObject

returns the DeadLetterConfig property



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

def dead_letter_config
  properties['dead_letter_config']
end

#dead_letter_config=(value) ⇒ Object

sets the DeadLetterConfig property (Structure)



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

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

#descriptionObject

returns the Description property



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

def description
  properties['description']
end

#description=(value) ⇒ Object

sets the Description property (String)



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

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

#environmentObject

returns the Environment property



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

def environment
  properties['environment']
end

#environment=(value) ⇒ Object

sets the Environment property (Structure)



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

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

#ephemeral_storageObject

returns the EphemeralStorage property



70
71
72
# File 'lib/humidifier/magic.rb', line 70

def ephemeral_storage
  properties['ephemeral_storage']
end

#ephemeral_storage=(value) ⇒ Object

sets the EphemeralStorage property (Structure)



75
76
77
# File 'lib/humidifier/magic.rb', line 75

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

#file_system_configsObject

returns the FileSystemConfigs property



80
81
82
# File 'lib/humidifier/magic.rb', line 80

def file_system_configs
  properties['file_system_configs']
end

#file_system_configs=(value) ⇒ Object

sets the FileSystemConfigs property (List)



85
86
87
# File 'lib/humidifier/magic.rb', line 85

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

#function_nameObject

returns the FunctionName property



90
91
92
# File 'lib/humidifier/magic.rb', line 90

def function_name
  properties['function_name']
end

#function_name=(value) ⇒ Object

sets the FunctionName property (String)



95
96
97
# File 'lib/humidifier/magic.rb', line 95

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

#handlerObject

returns the Handler property



100
101
102
# File 'lib/humidifier/magic.rb', line 100

def handler
  properties['handler']
end

#handler=(value) ⇒ Object

sets the Handler property (String)



105
106
107
# File 'lib/humidifier/magic.rb', line 105

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

#image_configObject

returns the ImageConfig property



110
111
112
# File 'lib/humidifier/magic.rb', line 110

def image_config
  properties['image_config']
end

#image_config=(value) ⇒ Object

sets the ImageConfig property (Structure)



115
116
117
# File 'lib/humidifier/magic.rb', line 115

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

#kms_key_arnObject

returns the KmsKeyArn property



120
121
122
# File 'lib/humidifier/magic.rb', line 120

def kms_key_arn
  properties['kms_key_arn']
end

#kms_key_arn=(value) ⇒ Object

sets the KmsKeyArn property (String)



125
126
127
# File 'lib/humidifier/magic.rb', line 125

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

#layersObject

returns the Layers property



130
131
132
# File 'lib/humidifier/magic.rb', line 130

def layers
  properties['layers']
end

#layers=(value) ⇒ Object

sets the Layers property (List)



135
136
137
# File 'lib/humidifier/magic.rb', line 135

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

#memory_sizeObject

returns the MemorySize property



140
141
142
# File 'lib/humidifier/magic.rb', line 140

def memory_size
  properties['memory_size']
end

#memory_size=(value) ⇒ Object

sets the MemorySize property (Integer)



145
146
147
# File 'lib/humidifier/magic.rb', line 145

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

#package_typeObject

returns the PackageType property



150
151
152
# File 'lib/humidifier/magic.rb', line 150

def package_type
  properties['package_type']
end

#package_type=(value) ⇒ Object

sets the PackageType property (String)



155
156
157
# File 'lib/humidifier/magic.rb', line 155

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

#reserved_concurrent_executionsObject

returns the ReservedConcurrentExecutions property



160
161
162
# File 'lib/humidifier/magic.rb', line 160

def reserved_concurrent_executions
  properties['reserved_concurrent_executions']
end

#reserved_concurrent_executions=(value) ⇒ Object

sets the ReservedConcurrentExecutions property (Integer)



165
166
167
# File 'lib/humidifier/magic.rb', line 165

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

#roleObject

returns the Role property



170
171
172
# File 'lib/humidifier/magic.rb', line 170

def role
  properties['role']
end

#role=(value) ⇒ Object

sets the Role property (String)



175
176
177
# File 'lib/humidifier/magic.rb', line 175

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

#runtimeObject

returns the Runtime property



180
181
182
# File 'lib/humidifier/magic.rb', line 180

def runtime
  properties['runtime']
end

#runtime=(value) ⇒ Object

sets the Runtime property (String)



185
186
187
# File 'lib/humidifier/magic.rb', line 185

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

#tagsObject

returns the Tags property



190
191
192
# File 'lib/humidifier/magic.rb', line 190

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (List)



195
196
197
# File 'lib/humidifier/magic.rb', line 195

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

#timeoutObject

returns the Timeout property



200
201
202
# File 'lib/humidifier/magic.rb', line 200

def timeout
  properties['timeout']
end

#timeout=(value) ⇒ Object

sets the Timeout property (Integer)



205
206
207
# File 'lib/humidifier/magic.rb', line 205

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

#tracing_configObject

returns the TracingConfig property



210
211
212
# File 'lib/humidifier/magic.rb', line 210

def tracing_config
  properties['tracing_config']
end

#tracing_config=(value) ⇒ Object

sets the TracingConfig property (Structure)



215
216
217
# File 'lib/humidifier/magic.rb', line 215

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

#vpc_configObject

returns the VpcConfig property



220
221
222
# File 'lib/humidifier/magic.rb', line 220

def vpc_config
  properties['vpc_config']
end

#vpc_config=(value) ⇒ Object

sets the VpcConfig property (Structure)



225
226
227
# File 'lib/humidifier/magic.rb', line 225

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