Class: RenderCFN::AwsObject
- Inherits:
-
Object
- Object
- RenderCFN::AwsObject
- Defined in:
- lib/renderCFN/awsObject.rb
Direct Known Subclasses
AutoScalingGroup, DnsWizard, InstanceProfile, LaunchConfiguration, LoadBalancer, Role, SQS, SecurityGroup, Stack
Instance Method Summary collapse
- #get ⇒ Object
-
#initialize(arguments) ⇒ AwsObject
constructor
A new instance of AwsObject.
- #name ⇒ Object
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
#get ⇒ Object
25 26 27 |
# File 'lib/renderCFN/awsObject.rb', line 25 def get return (@awsObject) end |
#name ⇒ Object
21 22 23 |
# File 'lib/renderCFN/awsObject.rb', line 21 def name return @name end |