class CFM::Configuration

Attributes

azs[RW]
parameters[RW]
stack_id[RW]
stack_name[RW]
stack_tag_value[RW]
template[RW]
template_path[RW]
vpc_id[RW]
yaml[RW]

Public Class Methods

new() click to toggle source
# File lib/etude_for_aws/cfm/configuration.rb, line 16
def initialize
  aws_certificate
  @yaml = ConfigurationHelper.load_yaml_file
  @stack_name = get_yaml_stack_name
  @stack_tag_value = get_yaml_stack_tag_value
  @template_path = get_yaml_template_path
  @azs = get_yaml_zas
end

Public Instance Methods

create_client() click to toggle source
# File lib/etude_for_aws/cfm/configuration.rb, line 29
def create_client
  Aws::CloudFormation::Client.new
end
get_template_file(type) click to toggle source
# File lib/etude_for_aws/cfm/configuration.rb, line 25
def get_template_file(type)
  get_yaml_template_file(type)
end