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.



6516
6517
6518
6519
6520
6521
6522
6523
# File 'lib/aws-sdk-s3/types.rb', line 6516

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



6516
6517
6518
6519
6520
6521
6522
6523
# File 'lib/aws-sdk-s3/types.rb', line 6516

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.



6516
6517
6518
6519
6520
6521
6522
6523
# File 'lib/aws-sdk-s3/types.rb', line 6516

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:



6516
6517
6518
6519
6520
6521
6522
6523
# File 'lib/aws-sdk-s3/types.rb', line 6516

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