Class: AwsS3Buckets

Inherits:
Object
  • Object
show all
Includes:
AwsPluralResourceMixin
Defined in:
lib/resources/aws/aws_s3_buckets.rb

Overview

author: Matthew Dromazos author: Sam Cornwell

Defined Under Namespace

Classes: Backend

Instance Attribute Summary

Attributes included from AwsPluralResourceMixin

#table

Instance Method Summary collapse

Methods included from AwsPluralResourceMixin

included

Methods included from AwsResourceMixin

#catch_aws_errors, #check_resource_param_names, #initialize, #inspec_runner

Instance Method Details

#to_sObject



21
22
23
# File 'lib/resources/aws/aws_s3_buckets.rb', line 21

def to_s
  'S3 Buckets'
end

#validate_params(resource_params) ⇒ Object



25
26
27
28
29
30
# File 'lib/resources/aws/aws_s3_buckets.rb', line 25

def validate_params(resource_params)
  unless resource_params.empty?
    raise ArgumentError, 'aws_s3_buckets does not accept resource parameters.'
  end
  resource_params
end