Skip to content

S3  >  Structures  >  RedirectAllRequestsTo

RedirectAllRequestsTo

Structure Class

RedirectAllRequestsTo dataclass

Bases: _SerdeShape

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

Attributes

host_name instance-attribute
host_name: str

Name of the host where requests are redirected.

protocol class-attribute instance-attribute
protocol: str | None = ...

Protocol to use when redirecting requests. The default is the protocol that is used in the original request.