Sha256: ce14e63ec792e9de0a37ed8687bd6b6eececbcde268addb37221c5d45ae9c99f

Contents?: true

Size: 641 Bytes

Versions: 32

Compression:

Stored size: 641 Bytes

Contents

require "aws-sdk-cloudformation"
require "aws-sdk-cloudwatchlogs"
require "aws-sdk-ec2"
require "aws-sdk-ecr"
require "aws-sdk-ecs"
require "aws-sdk-elasticloadbalancingv2"

module Ufo
  module AwsService
    def cloudformation
      @cloudformation ||= Aws::CloudFormation::Client.new
    end

    def cloudwatchlogs
      @cloudwatchlogs ||= Aws::CloudWatchLogs::Client.new
    end

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

    def ecr
      @ecr ||= Aws::ECR::Client.new
    end

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

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

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
ufo-4.1.8 lib/ufo/aws_service.rb
ufo-4.1.7 lib/ufo/aws_service.rb
ufo-4.1.6 lib/ufo/aws_service.rb
ufo-4.1.5 lib/ufo/aws_service.rb
ufo-4.1.4 lib/ufo/aws_service.rb
ufo-4.1.2 lib/ufo/aws_service.rb
ufo-4.1.1 lib/ufo/aws_service.rb
ufo-4.1.0 lib/ufo/aws_service.rb
ufo-4.0.3 lib/ufo/aws_service.rb
ufo-4.0.2 lib/ufo/aws_service.rb
ufo-4.0.1 lib/ufo/aws_service.rb
ufo-4.0.0 lib/ufo/aws_service.rb