Class: Aws::S3::Types::RedirectAllRequestsTo

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

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#host_nameString

Name of the host where requests are redirected.

Returns:

  • (String)


15593
15594
15595
15596
15597
15598
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 15593

class RedirectAllRequestsTo < Struct.new(
  :host_name,
  :protocol)
  SENSITIVE = []
  include Aws::Structure
end

#protocolString

Protocol to use when redirecting requests. The default is the protocol that is used in the original request.

Returns:

  • (String)


15593
15594
15595
15596
15597
15598
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 15593

class RedirectAllRequestsTo < Struct.new(
  :host_name,
  :protocol)
  SENSITIVE = []
  include Aws::Structure
end