You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing RedirectAllRequestsTo as input to an Aws::Client method, you can use a vanilla Hash:

{
  host_name: "HostName", # required
  protocol: "http", # accepts http, https
}

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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#host_nameString

Name of the host where requests are redirected.

Returns:

  • (String)

    Name of the host where requests are redirected.

#protocolString

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

Possible values:

  • http
  • https

Returns:

  • (String)

    Protocol to use when redirecting requests.