You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::S3::Types::IndexDocument

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb

Overview

Note:

When making an API call, you may pass IndexDocument data as a hash:

{
  suffix: "Suffix", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#suffixString

A suffix that is appended to a request that is for a directory on the website endpoint (e.g. if the suffix is index.html and you make a request to samplebucket/images/ the data that is returned will be for the object with the key name images/index.html) The suffix must not be empty and must not include a slash character.

Returns:

  • (String)


3580
3581
3582
3583
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 3580

class IndexDocument < Struct.new(
  :suffix)
  include Aws::Structure
end