mirror of
https://github.com/inspec/inspec
synced 2024-11-24 05:33:17 +00:00
532f42df89
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
12 lines
286 B
Ruby
12 lines
286 B
Ruby
class AwsBackendBase
|
|
attr_reader :aws_transport
|
|
class << self; attr_accessor :aws_client_class end
|
|
|
|
def initialize(inspec = nil)
|
|
@aws_transport = inspec ? inspec.backend : nil
|
|
end
|
|
|
|
def aws_service_client
|
|
aws_transport.aws_client(self.class.aws_client_class)
|
|
end
|
|
end
|