module Aws::SiteMonitor
Constants
- VERSION
Public Class Methods
ec2_client()
click to toggle source
# File lib/aws/site_monitor.rb, line 18 def self.ec2_client @ec2_client ||= begin ::Aws.config.update({ credentials: ::Aws::Credentials.new(ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']) }) ::Aws::EC2::Client.new(region: ENV['AWS_REGION']) end end