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.



6407
6408
6409
6410
6411
6412
6413
6414
# File 'lib/aws-sdk-s3/types.rb', line 6407

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`).



6407
6408
6409
6410
6411
6412
6413
6414
# File 'lib/aws-sdk-s3/types.rb', line 6407

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.



6407
6408
6409
6410
6411
6412
6413
6414
# File 'lib/aws-sdk-s3/types.rb', line 6407

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:



6407
6408
6409
6410
6411
6412
6413
6414
# File 'lib/aws-sdk-s3/types.rb', line 6407

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