Sha256: 2e7ae85967e4b506451aa7c083c3e156366d037fb95f9dd676e59564d7590a6d

Contents?: true

Size: 794 Bytes

Versions: 4

Compression:

Stored size: 794 Bytes

Contents

require 'aws-sdk'

module AwsInventory::AwsServices
  include AwsInventory::Shared

  def cfn
    @cfn ||= Aws::CloudFormation::Client.new
  end

  def ec2
    @ec2 ||= Aws::EC2::Client.new
  end

  def pricing
    @pricing ||= Aws::Pricing::Client.new
  end

  def rds
    @rds ||= Aws::RDS::Client.new
  end

  def route53
    @route53 ||= Aws::Route53::Client.new
  end

  def acm
    @acm ||= Aws::ACM::Client.new
  end

  def elbv1
    @elbv1 ||= Aws::ElasticLoadBalancing::Client.new
  end

  def elbv2
    @elbv2 ||= Aws::ElasticLoadBalancingV2::Client.new
  end

  def eb
    @eb ||= Aws::ElasticBeanstalk::Client.new
  end

  def ecs
    @ecs ||= Aws::ECS::Client.new
  end

  def iam
    @iam ||= Aws::IAM::Client.new
  end

  def cw
    @cw ||= Aws::CloudWatch::Client.new
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
aws-inventory-0.4.5 lib/aws_inventory/aws_services.rb
aws-inventory-0.4.3 lib/aws_inventory/aws_services.rb
aws-inventory-0.4.2 lib/aws_inventory/aws_services.rb
aws-inventory-0.4.0 lib/aws_inventory/aws_services.rb