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.



5598
5599
5600
5601
5602
5603
5604
5605
# File 'lib/aws-sdk-s3/types.rb', line 5598

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



5598
5599
5600
5601
5602
5603
5604
5605
# File 'lib/aws-sdk-s3/types.rb', line 5598

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.



5598
5599
5600
5601
5602
5603
5604
5605
# File 'lib/aws-sdk-s3/types.rb', line 5598

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:



5598
5599
5600
5601
5602
5603
5604
5605
# File 'lib/aws-sdk-s3/types.rb', line 5598

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