class AWS::S3::WebsiteConfiguration

def initialize options = {}

Options Hash: (**options)
  • :routing_rules (Array) --
  • :error_document (Hash) --
  • :index_document (Hash) --
  • :redirect_all_requests_to (Hash) --
def initialize options = {}
  @options = deep_copy(options)
  if @options.empty?
    @options[:index_document] = { :suffix => 'index.html' }
    @options[:error_document] = { :key => 'error.html' }
  end
end