Class: Humidifier::Lambda::Function
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::Lambda::Function resource
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
-
#architectures ⇒ Object
returns the Architectures property.
-
#architectures=(value) ⇒ Object
sets the Architectures property (List).
-
#code ⇒ Object
returns the Code property.
-
#code=(value) ⇒ Object
sets the Code property (Structure).
-
#code_signing_config_arn ⇒ Object
returns the CodeSigningConfigArn property.
-
#code_signing_config_arn=(value) ⇒ Object
sets the CodeSigningConfigArn property (String).
-
#dead_letter_config ⇒ Object
returns the DeadLetterConfig property.
-
#dead_letter_config=(value) ⇒ Object
sets the DeadLetterConfig property (Structure).
-
#description ⇒ Object
returns the Description property.
-
#description=(value) ⇒ Object
sets the Description property (String).
-
#environment ⇒ Object
returns the Environment property.
-
#environment=(value) ⇒ Object
sets the Environment property (Structure).
-
#ephemeral_storage ⇒ Object
returns the EphemeralStorage property.
-
#ephemeral_storage=(value) ⇒ Object
sets the EphemeralStorage property (Structure).
-
#file_system_configs ⇒ Object
returns the FileSystemConfigs property.
-
#file_system_configs=(value) ⇒ Object
sets the FileSystemConfigs property (List).
-
#function_name ⇒ Object
returns the FunctionName property.
-
#function_name=(value) ⇒ Object
sets the FunctionName property (String).
-
#handler ⇒ Object
returns the Handler property.
-
#handler=(value) ⇒ Object
sets the Handler property (String).
-
#image_config ⇒ Object
returns the ImageConfig property.
-
#image_config=(value) ⇒ Object
sets the ImageConfig property (Structure).
-
#kms_key_arn ⇒ Object
returns the KmsKeyArn property.
-
#kms_key_arn=(value) ⇒ Object
sets the KmsKeyArn property (String).
-
#layers ⇒ Object
returns the Layers property.
-
#layers=(value) ⇒ Object
sets the Layers property (List).
-
#memory_size ⇒ Object
returns the MemorySize property.
-
#memory_size=(value) ⇒ Object
sets the MemorySize property (Integer).
-
#package_type ⇒ Object
returns the PackageType property.
-
#package_type=(value) ⇒ Object
sets the PackageType property (String).
-
#reserved_concurrent_executions ⇒ Object
returns the ReservedConcurrentExecutions property.
-
#reserved_concurrent_executions=(value) ⇒ Object
sets the ReservedConcurrentExecutions property (Integer).
-
#role ⇒ Object
returns the Role property.
-
#role=(value) ⇒ Object
sets the Role property (String).
-
#runtime ⇒ Object
returns the Runtime property.
-
#runtime=(value) ⇒ Object
sets the Runtime property (String).
-
#tags ⇒ Object
returns the Tags property.
-
#tags=(value) ⇒ Object
sets the Tags property (List).
-
#timeout ⇒ Object
returns the Timeout property.
-
#timeout=(value) ⇒ Object
sets the Timeout property (Integer).
-
#tracing_config ⇒ Object
returns the TracingConfig property.
-
#tracing_config=(value) ⇒ Object
sets the TracingConfig property (Structure).
-
#vpc_config ⇒ Object
returns the VpcConfig property.
-
#vpc_config=(value) ⇒ Object
sets the VpcConfig property (Structure).
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
#architectures ⇒ Object
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 |
#code ⇒ Object
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_arn ⇒ Object
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_config ⇒ Object
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 |
#description ⇒ Object
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 |
#environment ⇒ Object
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_storage ⇒ Object
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_configs ⇒ Object
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_name ⇒ Object
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 |
#handler ⇒ Object
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_config ⇒ Object
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_arn ⇒ Object
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 |
#layers ⇒ Object
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_size ⇒ Object
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_type ⇒ Object
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_executions ⇒ Object
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 |
#role ⇒ Object
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 |
#runtime ⇒ Object
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 |
#tags ⇒ Object
returns the Tags property
190 191 192 |
# File 'lib/humidifier/magic.rb', line 190 def properties['tags'] end |
#tags=(value) ⇒ Object
sets the Tags property (List)
195 196 197 |
# File 'lib/humidifier/magic.rb', line 195 def (value) update_property('tags', value) end |
#timeout ⇒ Object
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_config ⇒ Object
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_config ⇒ Object
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 |