class Aws::S3::Types::RedirectAllRequestsTo

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

@note When making an API call, you may pass RedirectAllRequestsTo

data as a hash:

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

@!attribute [rw] host_name

Name of the host where requests are redirected.
@return [String]

@!attribute [rw] protocol

Protocol to use when redirecting requests. The default is the
protocol that is used in the original request.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RedirectAllRequestsTo AWS API Documentation

Constants

SENSITIVE