Class: SparkleFormation::SparkleStruct::Aws
- Inherits:
-
SparkleFormation::SparkleStruct
- Object
- AttributeStruct
- SparkleFormation::SparkleStruct
- SparkleFormation::SparkleStruct::Aws
- Defined in:
- lib/sparkle_formation/sparkle_struct.rb
Overview
AWS specific struct
Instance Method Summary collapse
-
#__attribute_key(key) ⇒ String
included
from SparkleFormation::SparkleAttribute
Format the provided key.
-
#_cf_account_id ⇒ Hash
(also: #_account_id, #account_id!)
included
from SparkleFormation::SparkleAttribute::Aws
Account ID generator.
-
#_cf_and(*args) ⇒ Hash
(also: #_and, #and!)
included
from SparkleFormation::SparkleAttribute::Aws
Fn::And generator.
-
#_cf_attr(logical_id, attribute_name) ⇒ Hash
(also: #_cf_get_att, #get_att!, #attr!)
included
from SparkleFormation::SparkleAttribute::Aws
Fn::GetAtt generator.
-
#_cf_base64(arg) ⇒ Hash
(also: #base64!)
included
from SparkleFormation::SparkleAttribute::Aws
Fn::Base64 generator.
-
#_cf_cidr(ipblock, count, cidrbits) ⇒ Hash
(also: #_cidr, #cidr!)
included
from SparkleFormation::SparkleAttribute::Aws
CIDR generator.
-
#_cf_condition(name) ⇒ Hash
(also: #_condition, #condition!)
included
from SparkleFormation::SparkleAttribute::Aws
Condition generator.
-
#_cf_depends_on(*args) ⇒ Array<String>
(also: #_depends_on, #depends_on!)
included
from SparkleFormation::SparkleAttribute::Aws
Resource dependency generator.
-
#_cf_equals(v1, v2) ⇒ Hash
(also: #_equals, #equals!)
included
from SparkleFormation::SparkleAttribute::Aws
Fn::Equals generator.
-
#_cf_get_azs(region = nil) ⇒ Hash
(also: #get_azs!, #azs!)
included
from SparkleFormation::SparkleAttribute::Aws
Fn::GetAZs generator.
-
#_cf_if(cond, true_value, false_value) ⇒ Hash
(also: #_if, #if!)
included
from SparkleFormation::SparkleAttribute::Aws
Fn::If generator.
-
#_cf_join(*args, opts = {}) ⇒ Hash
(also: #_join, #join!)
included
from SparkleFormation::SparkleAttribute::Aws
Fn::Join generator.
-
#_cf_map(map_name, top_level_key, second_level_key) ⇒ Hash
(also: #_cf_find_in_map, #find_in_map!, #map!)
included
from SparkleFormation::SparkleAttribute::Aws
Fn::FindInMap generator.
-
#_cf_no_value ⇒ Hash
(also: #_no_value, #no_value!)
included
from SparkleFormation::SparkleAttribute::Aws
No value generator.
-
#_cf_not(arg) ⇒ Hash
(also: #_not, #not!)
included
from SparkleFormation::SparkleAttribute::Aws
Fn::Not generator.
-
#_cf_notification_arns ⇒ Hash
(also: #_notification_arns, #notification_arns!)
included
from SparkleFormation::SparkleAttribute::Aws
Notification ARNs generator.
-
#_cf_on_condition(name) ⇒ SparkleStruct
(also: #_on_condition, #on_condition!)
included
from SparkleFormation::SparkleAttribute::Aws
Condition setter.
-
#_cf_or(*args) ⇒ Hash
(also: #_or, #or!)
included
from SparkleFormation::SparkleAttribute::Aws
Fn::Or generator.
-
#_cf_ref(thing) ⇒ Hash
(also: #_ref, #ref!)
included
from SparkleFormation::SparkleAttribute::Aws
Ref generator.
-
#_cf_region ⇒ Hash
(also: #_region, #region!)
included
from SparkleFormation::SparkleAttribute::Aws
Region generator.
-
#_cf_select(index, item) ⇒ Hash
(also: #_select, #select!)
included
from SparkleFormation::SparkleAttribute::Aws
Fn::Select generator.
-
#_cf_split(string, delimiter) ⇒ Hash
(also: #_split, #split!)
included
from SparkleFormation::SparkleAttribute::Aws
Split generator.
-
#_cf_stack_id ⇒ Hash
(also: #_stack_id, #stack_id!)
included
from SparkleFormation::SparkleAttribute::Aws
Stack ID generator.
-
#_cf_stack_name ⇒ Hash
(also: #_stack_name, #stack_name!)
included
from SparkleFormation::SparkleAttribute::Aws
Stack name generator.
-
#_cf_stack_output(stack_name, output_name) ⇒ Object
(also: #_stack_output, #stack_output!)
included
from SparkleFormation::SparkleAttribute::Aws
Reference output value from nested stack.
-
#_cf_sub(string, variables = nil) ⇒ Hash
(also: #_sub, #sub!)
included
from SparkleFormation::SparkleAttribute::Aws
Sub generator.
-
#_cf_tags(hash) ⇒ SparkleStruct
(also: #_tags, #tags!)
included
from SparkleFormation::SparkleAttribute::Aws
Set tags on a resource.
-
#_cf_transform(name, parameters) ⇒ Hash
(also: #_transform, #transform!)
included
from SparkleFormation::SparkleAttribute::Aws
Transform generator.
-
#_cf_value_import(thing) ⇒ Hash
(also: #_import_value, #import_value!)
included
from SparkleFormation::SparkleAttribute::Aws
ValueImport generator.
- #_dynamic(name, *args) {|new_struct| ... } ⇒ self (also: #dynamic!) included from SparkleFormation::SparkleAttribute
-
#_method(sym) ⇒ Method
(also: #method!)
included
from SparkleFormation::SparkleAttribute
Lookup a method definition on self.
-
#_nest(template, *names, options = {}) ⇒ self
(also: #nest!)
included
from SparkleFormation::SparkleAttribute
Nest a stack resource.
-
#_puts(obj, ...) ⇒ NilClass
(also: #puts!)
included
from SparkleFormation::SparkleAttribute
Print to stdout.
-
#_raise(*args) ⇒ Object
(also: #raise!)
included
from SparkleFormation::SparkleAttribute
Raise an exception.
-
#_registry(name, *args) ⇒ Object
(also: #registry!)
included
from SparkleFormation::SparkleAttribute
Return value of registry item.
-
#_resource_name ⇒ String
(also: #resource_name!)
included
from SparkleFormation::SparkleAttribute
Return current resource name.
-
#_system(command) ⇒ String
(also: #system!)
included
from SparkleFormation::SparkleAttribute
Execute system command.
-
#taggable? ⇒ TrueClass, FalseClass
included
from SparkleFormation::SparkleAttribute::Aws
Resource can be tagged.
Constructor Details
This class inherits a constructor from SparkleFormation::SparkleStruct
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class SparkleFormation::SparkleStruct
Instance Method Details
#__attribute_key(key) ⇒ String Originally defined in module SparkleFormation::SparkleAttribute
Format the provided key. If symbol type is provided formatting is forced. Otherwise the default formatting is applied
#_cf_account_id ⇒ Hash Also known as: _account_id, account_id! Originally defined in module SparkleFormation::SparkleAttribute::Aws
Account ID generator
#_cf_and(*args) ⇒ Hash Also known as: _and, and! Originally defined in module SparkleFormation::SparkleAttribute::Aws
symbols will be processed and set as condition. strings will be set as condition directly. procs will be evaluated
Fn::And generator
#_cf_attr(logical_id, attribute_name) ⇒ Hash Also known as: _cf_get_att, get_att!, attr! Originally defined in module SparkleFormation::SparkleAttribute::Aws
#_cf_base64(arg) ⇒ Hash Also known as: base64! Originally defined in module SparkleFormation::SparkleAttribute::Aws
Fn::Base64 generator
#_cf_cidr(ipblock, count, cidrbits) ⇒ Hash Also known as: _cidr, cidr! Originally defined in module SparkleFormation::SparkleAttribute::Aws
CIDR generator
#_cf_condition(name) ⇒ Hash Also known as: _condition, condition! Originally defined in module SparkleFormation::SparkleAttribute::Aws
Condition generator
#_depends_on(resource_name) ⇒ Array<String> #_depends_on(resource_names) ⇒ Array<String> #_depends_on(*resource_names) ⇒ Array<String> Also known as: _depends_on, depends_on! Originally defined in module SparkleFormation::SparkleAttribute::Aws
this will directly modify the struct at its current context to inject depends on structure
Resource dependency generator
#_cf_equals(v1, v2) ⇒ Hash Also known as: _equals, equals! Originally defined in module SparkleFormation::SparkleAttribute::Aws
Fn::Equals generator
#_cf_get_azs(region = nil) ⇒ Hash Also known as: get_azs!, azs! Originally defined in module SparkleFormation::SparkleAttribute::Aws
Fn::GetAZs generator
#_cf_if(cond, true_value, false_value) ⇒ Hash Also known as: _if, if! Originally defined in module SparkleFormation::SparkleAttribute::Aws
Fn::If generator
#_cf_join(*args, opts = {}) ⇒ Hash Also known as: _join, join! Originally defined in module SparkleFormation::SparkleAttribute::Aws
#_cf_map(map_name, top_level_key, second_level_key) ⇒ Hash Also known as: _cf_find_in_map, find_in_map!, map! Originally defined in module SparkleFormation::SparkleAttribute::Aws
#_cf_no_value ⇒ Hash Also known as: _no_value, no_value! Originally defined in module SparkleFormation::SparkleAttribute::Aws
No value generator
#_cf_not(arg) ⇒ Hash Also known as: _not, not! Originally defined in module SparkleFormation::SparkleAttribute::Aws
Fn::Not generator
#_cf_notification_arns ⇒ Hash Also known as: _notification_arns, notification_arns! Originally defined in module SparkleFormation::SparkleAttribute::Aws
Notification ARNs generator
#_cf_on_condition(name) ⇒ SparkleStruct Also known as: _on_condition, on_condition! Originally defined in module SparkleFormation::SparkleAttribute::Aws
this is used to set a => "Name" into the current context, generally the top level of a resource
Condition setter
#_cf_or(*args) ⇒ Hash Also known as: _or, or! Originally defined in module SparkleFormation::SparkleAttribute::Aws
Fn::Or generator
#_cf_ref(thing) ⇒ Hash Also known as: _ref, ref! Originally defined in module SparkleFormation::SparkleAttribute::Aws
Symbol value will force key processing
Ref generator
#_cf_region ⇒ Hash Also known as: _region, region! Originally defined in module SparkleFormation::SparkleAttribute::Aws
Region generator
#_cf_select(index, item) ⇒ Hash Also known as: _select, select! Originally defined in module SparkleFormation::SparkleAttribute::Aws
Fn::Select generator
#_cf_split(string, delimiter) ⇒ Hash Also known as: _split, split! Originally defined in module SparkleFormation::SparkleAttribute::Aws
Split generator
#_cf_stack_id ⇒ Hash Also known as: _stack_id, stack_id! Originally defined in module SparkleFormation::SparkleAttribute::Aws
Stack ID generator
#_cf_stack_name ⇒ Hash Also known as: _stack_name, stack_name! Originally defined in module SparkleFormation::SparkleAttribute::Aws
Stack name generator
#_cf_stack_output(stack_name, output_name) ⇒ Object Also known as: _stack_output, stack_output! Originally defined in module SparkleFormation::SparkleAttribute::Aws
Reference output value from nested stack
#_cf_sub(string, variables = nil) ⇒ Hash Also known as: _sub, sub! Originally defined in module SparkleFormation::SparkleAttribute::Aws
Sub generator
#_cf_tags(hash) ⇒ SparkleStruct Also known as: , Originally defined in module SparkleFormation::SparkleAttribute::Aws
Set tags on a resource
#_cf_transform(name, parameters) ⇒ Hash Also known as: _transform, transform! Originally defined in module SparkleFormation::SparkleAttribute::Aws
Transform generator
#_cf_value_import(thing) ⇒ Hash Also known as: _import_value, import_value! Originally defined in module SparkleFormation::SparkleAttribute::Aws
ValueImport generator
#_dynamic(resource_type, custom_name, options = {}) ⇒ self #_dynamic(dynamic_name, custom_name, options = {}) ⇒ self Also known as: dynamic! Originally defined in module SparkleFormation::SparkleAttribute
#_method(sym) ⇒ Method Also known as: method! Originally defined in module SparkleFormation::SparkleAttribute
usually used as puts! method!(:foo).source_location
#_nest(template, *names, options = {}) ⇒ self Also known as: nest! Originally defined in module SparkleFormation::SparkleAttribute
#_puts(obj, ...) ⇒ NilClass Also known as: puts! Originally defined in module SparkleFormation::SparkleAttribute
#_raise(*args) ⇒ Object Also known as: raise! Originally defined in module SparkleFormation::SparkleAttribute
Raise an exception
#_registry(name) ⇒ Object #_registry(name, *args, options = {}) ⇒ Object Also known as: registry! Originally defined in module SparkleFormation::SparkleAttribute
Return value of registry item
#_resource_name ⇒ String Also known as: resource_name! Originally defined in module SparkleFormation::SparkleAttribute
Return current resource name
#_system(command) ⇒ String Also known as: system! Originally defined in module SparkleFormation::SparkleAttribute
Execute system command
#taggable? ⇒ TrueClass, FalseClass Originally defined in module SparkleFormation::SparkleAttribute::Aws
Returns resource can be tagged