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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-s3/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
}

Instance Attribute Summary collapse

Instance Attribute Details

#host_nameString

Name of the host where requests will be redirected.

Returns:

  • (String)


6681
6682
6683
6684
6685
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 6681

class RedirectAllRequestsTo < Struct.new(
  :host_name,
  :protocol)
  include Aws::Structure
end

#protocolString

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

Returns:

  • (String)


6681
6682
6683
6684
6685
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 6681

class RedirectAllRequestsTo < Struct.new(
  :host_name,
  :protocol)
  include Aws::Structure
end