Module: Tapjoy::TassLib::AWS::EC2
- Defined in:
- lib/tapjoy/tass-lib/ec2.rb
Overview
This class contains AWS methods for ELB
Class Method Summary collapse
Class Method Details
.client ⇒ Object
7 8 9 |
# File 'lib/tapjoy/tass-lib/ec2.rb', line 7 def client @client ||= Aws::EC2::Client.new end |
.create_security_group(group) ⇒ Object
15 16 17 18 |
# File 'lib/tapjoy/tass-lib/ec2.rb', line 15 def create_security_group(group) self.client.create_security_group(group_name: group, description: "Security group for #{Tapjoy::TassLib.scaler_name}") end |
.describe_security_groups(group) ⇒ Object
11 12 13 |
# File 'lib/tapjoy/tass-lib/ec2.rb', line 11 def describe_security_groups(group) self.client.describe_security_groups(group_names: [group]) end |