Class: Aws::S3::Types::GetBucketWebsiteOutput

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#error_documentTypes::ErrorDocument

The object key name of the website error document to use for 4XX class errors.


5109
5110
5111
5112
5113
5114
5115
5116
# File 'lib/aws-sdk-s3/types.rb', line 5109

class GetBucketWebsiteOutput < Struct.new(
  :redirect_all_requests_to,
  :index_document,
  :error_document,
  :routing_rules)
  SENSITIVE = []
  include Aws::Structure
end

#index_documentTypes::IndexDocument

The name of the index document for the website (for example `index.html`).


5109
5110
5111
5112
5113
5114
5115
5116
# File 'lib/aws-sdk-s3/types.rb', line 5109

class GetBucketWebsiteOutput < Struct.new(
  :redirect_all_requests_to,
  :index_document,
  :error_document,
  :routing_rules)
  SENSITIVE = []
  include Aws::Structure
end

#redirect_all_requests_toTypes::RedirectAllRequestsTo

Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.


5109
5110
5111
5112
5113
5114
5115
5116
# File 'lib/aws-sdk-s3/types.rb', line 5109

class GetBucketWebsiteOutput < Struct.new(
  :redirect_all_requests_to,
  :index_document,
  :error_document,
  :routing_rules)
  SENSITIVE = []
  include Aws::Structure
end

#routing_rulesArray<Types::RoutingRule>

Rules that define when a redirect is applied and the redirect behavior.

Returns:


5109
5110
5111
5112
5113
5114
5115
5116
# File 'lib/aws-sdk-s3/types.rb', line 5109

class GetBucketWebsiteOutput < Struct.new(
  :redirect_all_requests_to,
  :index_document,
  :error_document,
  :routing_rules)
  SENSITIVE = []
  include Aws::Structure
end