class AwsS3Buckets
author: Sam Cornwell
author: Matthew Dromazos
def fetch_from_api
def fetch_from_api backend = BackendFactory.create(inspec_runner) @table = backend.list_buckets.buckets.map(&:to_h) end
def to_s
def to_s 'S3 Buckets' end
def validate_params(resource_params)
def validate_params(resource_params) unless resource_params.empty? raise ArgumentError, 'aws_s3_buckets does not accept resource parameters.' end resource_params end