AWSS3RedirectAllRequestsTo
Objective-C
@interface AWSS3RedirectAllRequestsTo
Swift
class AWSS3RedirectAllRequestsTo
Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.
Required parameters: [HostName]
-
Name of the host where requests are redirected.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable hostName;
Swift
var hostName: String? { get set }
-
Protocol to use when redirecting requests. The default is the protocol that is used in the original request.
Declaration
Objective-C
@property (nonatomic) AWSS3Protocols protocols;
Swift
var protocols: AWSS3Protocols { get set }