Class: Aws::S3::Types::RedirectAllRequestsTo
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::RedirectAllRequestsTo
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-s3/types.rb
Overview
Note:
When making an API call, you may pass RedirectAllRequestsTo data as a 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.
Constant Summary collapse
- SENSITIVE =
[]
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.
14445 14446 14447 14448 14449 14450 |
# File 'lib/aws-sdk-s3/types.rb', line 14445 class RedirectAllRequestsTo < Struct.new( :host_name, :protocol) SENSITIVE = [] include Aws::Structure end |
#protocol ⇒ String
Protocol to use when redirecting requests. The default is the protocol that is used in the original request.
14445 14446 14447 14448 14449 14450 |
# File 'lib/aws-sdk-s3/types.rb', line 14445 class RedirectAllRequestsTo < Struct.new( :host_name, :protocol) SENSITIVE = [] include Aws::Structure end |