Class: ZAWS::AWS
- Inherits:
-
Object
- Object
- ZAWS::AWS
- Defined in:
- lib/zaws/services/aws.rb
Instance Method Summary collapse
- #awscli ⇒ Object
- #cloud_trail ⇒ Object
- #ec2 ⇒ Object
- #elb ⇒ Object
- #iam ⇒ Object
-
#initialize(shellout, awscli, undofile = nil) ⇒ AWS
constructor
A new instance of AWS.
- #route53 ⇒ Object
- #s3 ⇒ Object
Constructor Details
#initialize(shellout, awscli, undofile = nil) ⇒ AWS
Returns a new instance of AWS.
4 5 6 7 8 |
# File 'lib/zaws/services/aws.rb', line 4 def initialize(shellout, awscli,undofile=nil) @shellout=shellout @_awscli= awscli ? awscli : ZAWS::AWSCLI.new(@shellout) @undofile=undofile end |
Instance Method Details
#awscli ⇒ Object
10 11 12 |
# File 'lib/zaws/services/aws.rb', line 10 def awscli return @_awscli end |
#cloud_trail ⇒ Object
30 31 32 |
# File 'lib/zaws/services/aws.rb', line 30 def cloud_trail @_cloud_trail ||= (ZAWS::CloudTrail.new(@shellout, self)) end |
#ec2 ⇒ Object
14 15 16 |
# File 'lib/zaws/services/aws.rb', line 14 def ec2 @_ec2 ||= (ZAWS::EC2.new(@shellout, self,@undofile)) end |
#elb ⇒ Object
18 19 20 |
# File 'lib/zaws/services/aws.rb', line 18 def elb @_elb ||= (ZAWS::ELB.new(@shellout, self,@undofile)) end |
#iam ⇒ Object
34 35 36 |
# File 'lib/zaws/services/aws.rb', line 34 def iam @_iam ||= (ZAWS::IAM.new(@shellout, self)) end |
#route53 ⇒ Object
22 23 24 |
# File 'lib/zaws/services/aws.rb', line 22 def route53 @_route53 ||= (ZAWS::Route53.new(@shellout, self)) end |
#s3 ⇒ Object
26 27 28 |
# File 'lib/zaws/services/aws.rb', line 26 def s3 @_s3 ||= (ZAWS::S3.new(@shellout, self)) end |