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
}

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#host_nameString

Name of the host where requests will be redirected.

Returns:

  • (String)

    Name of the host where requests will be redirected.

#protocolString

Protocol to use (http, https) when redirecting requests. The default is the protocol that is used in the original request.

Possible values:

  • http
  • https

Returns:

  • (String)

    Protocol to use (http, https) when redirecting requests.