Module: Formatron::CloudFormation::Resources::CloudFormation

Defined in:
lib/formatron/cloud_formation/resources/cloud_formation.rb

Overview

Generates CloudFormation template CloudFormation resources

Class Method Summary collapse

Class Method Details

.wait_condition(instance:, wait_condition_handle:) ⇒ Object



14
15
16
17
18
19
20
21
22
23
# File 'lib/formatron/cloud_formation/resources/cloud_formation.rb', line 14

def self.wait_condition(instance:, wait_condition_handle:)
  {
    Type: 'AWS::CloudFormation::WaitCondition',
    DependsOn: instance,
    Properties: {
      Handle: Template.ref(wait_condition_handle),
      Timeout: '1800'
    }
  }
end

.wait_condition_handleObject



8
9
10
11
12
# File 'lib/formatron/cloud_formation/resources/cloud_formation.rb', line 8

def self.wait_condition_handle
  {
    Type: 'AWS::CloudFormation::WaitConditionHandle'
  }
end