class ZAWS::AWSCLI::Commands::EC2

Public Class Methods

new(shellout,aws) click to toggle source
# File lib/zaws/external/awscli/commands/ec2.rb, line 5
def initialize(shellout,aws)
  @shellout=shellout
  @aws=aws
end

Public Instance Methods

createSubnet() click to toggle source
# File lib/zaws/external/awscli/commands/ec2.rb, line 10
def createSubnet
  @_createSubnet ||= (ZAWS::External::AWSCLI::Commands::EC2::CreateSubnet.new(@shellout,@aws))
  return @_createSubnet
end
createTags() click to toggle source
# File lib/zaws/external/awscli/commands/ec2.rb, line 65
def createTags 
  @_createTags ||= (ZAWS::External::AWSCLI::Commands::EC2::CreateTags.new(@shellout,@aws))
  return @_createTags
end
createVPC() click to toggle source
# File lib/zaws/external/awscli/commands/ec2.rb, line 45
def createVPC
  @_createVPC ||= (ZAWS::AWSCLI::Commands::EC2::CreateVPC.new(@shellout,@aws))
  return @_createVPC
end
deleteSecurityGroup() click to toggle source
# File lib/zaws/external/awscli/commands/ec2.rb, line 30
                def deleteSecurityGroup
  @_deleteSecurityGroup ||= (ZAWS::External::AWSCLI::Commands::EC2::DeleteSecurityGroup.new(@shellout,@aws))
  return @_deleteSecurityGroup
end
deleteSubnet() click to toggle source
# File lib/zaws/external/awscli/commands/ec2.rb, line 25
def deleteSubnet
  @_deleteSubnet ||= (ZAWS::External::AWSCLI::Commands::EC2::DeleteSubnet.new(@shellout,@aws))
  return @_deleteSubnet
end
describeInstances() click to toggle source
# File lib/zaws/external/awscli/commands/ec2.rb, line 50
def describeInstances 
  @_describeInstances ||= (ZAWS::External::AWSCLI::Commands::EC2::DescribeInstances.new(@shellout,@aws))
  return @_describeInstances
end
describeSecurityGroups() click to toggle source
# File lib/zaws/external/awscli/commands/ec2.rb, line 20
def describeSecurityGroups
  @_describeSecurityGroups ||= (ZAWS::External::AWSCLI::Commands::EC2::DescribeSecurityGroups.new(@shellout,@aws))
  return @_describeSecurityGroups
end
describeSubnets() click to toggle source
# File lib/zaws/external/awscli/commands/ec2.rb, line 15
def describeSubnets
  @_describeSubnets ||= (ZAWS::External::AWSCLI::Commands::EC2::DescribeSubnets.new(@shellout,@aws))
  return @_describeSubnets
end
describeVPCs() click to toggle source
# File lib/zaws/external/awscli/commands/ec2.rb, line 35
def describeVPCs
  @_describeVPCs ||= (ZAWS::AWSCLI::Commands::EC2::DescribeVPCs.new(@shellout,@aws))
  return @_describeVPCs
end
describeVpcPeeringConnections() click to toggle source
# File lib/zaws/external/awscli/commands/ec2.rb, line 40
def describeVpcPeeringConnections
  @_describeVpcPeeringConnections ||= (ZAWS::AWSCLI::Commands::EC2::DescribeVpcPeeringConnections.new(@shellout,@aws))
  return @_describeVpcPeeringConnections
end
listHostedZones() click to toggle source
# File lib/zaws/external/awscli/commands/route53.rb, line 10
def listHostedZones
  @_listHostedZones ||= (ZAWS::External::AWSCLI::Commands::Route53::ListdHostedZones.new(@shellout, @aws))
  return @_listHostedZones
end
runInstances() click to toggle source
# File lib/zaws/external/awscli/commands/ec2.rb, line 55
def runInstances 
  @_runInstances ||= (ZAWS::AWSCLI::Commands::EC2::RunInstances.new(@shellout,@aws))
  return @_runInstances
end
stopInstances() click to toggle source
# File lib/zaws/external/awscli/commands/ec2.rb, line 60
def stopInstances 
  @_stopInstances ||= (ZAWS::AWSCLI::Commands::EC2::StopInstances.new(@shellout,@aws))
  return @_stopInstances
end