Class: RenderCFN::AwsObject

Inherits:
Object
  • Object
show all
Defined in:
lib/renderCFN/awsObject.rb

Instance Method Summary collapse

Constructor Details

#initialize(arguments) ⇒ AwsObject

Returns a new instance of AwsObject.



4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'lib/renderCFN/awsObject.rb', line 4

def initialize( arguments)
  @@action = arguments[:action] || nil
  @@stackType = arguments[:stackType] || nil
  @@environmentType = arguments[:environmentType] || nil
  @@environmentName = arguments[:environmentName] || nil
  @@stackName = "#{@@stackType}--#{@@environmentName}--#{@@environmentType}"
  @@zoneID = arguments[:zoneID]
  @@vpcID = arguments[:vpcID]
  @@pmData = arguments[:pmData] || false
  @@keyName = arguments[:keyName] || 'build'
  @@ami = arguments[:ami]
  @@bucket = arguments[:bucket]
  @@subnetList = arguments[:subnetList]
  @@publicSubnetList = arguments[:publicSubnetList]
  @@healthCheckEmergencyOverride = arguments[:healthCheckEmergencyOverride]
end

Instance Method Details

#getObject



25
26
27
# File 'lib/renderCFN/awsObject.rb', line 25

def get
return (@awsObject)
end

#nameObject



21
22
23
# File 'lib/renderCFN/awsObject.rb', line 21

def name
return @name
end