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
- Struct
- Aws::S3::Types::RedirectAllRequestsTo
- 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
-
#host_name ⇒ String
Name of the host where requests are redirected.
-
#protocol ⇒ String
Protocol to use when redirecting requests.
Instance Attribute Details
#host_name ⇒ String
Name of the host where requests are redirected.
#protocol ⇒ String
Protocol to use when redirecting requests. The default is the protocol that is used in the original request.
Possible values:
- http
- https