AWSS3WebsiteConfiguration
Objective-C
@interface AWSS3WebsiteConfiguration
Swift
class AWSS3WebsiteConfiguration
Specifies website configuration parameters for an Amazon S3 bucket.
-
The name of the error document for the website.
Declaration
Objective-C
@property (nonatomic, strong) AWSS3ErrorDocument *_Nullable errorDocument;
Swift
var errorDocument: AWSS3ErrorDocument? { get set }
-
The name of the index document for the website.
Declaration
Objective-C
@property (nonatomic, strong) AWSS3IndexDocument *_Nullable indexDocument;
Swift
var indexDocument: AWSS3IndexDocument? { get set }
-
The redirect behavior for every request to this bucket’s website endpoint.
If you specify this property, you can’t specify any other property.
Declaration
Objective-C
@property (nonatomic, strong) AWSS3RedirectAllRequestsTo *_Nullable redirectAllRequestsTo;
Swift
var redirectAllRequestsTo: AWSS3RedirectAllRequestsTo? { get set }
-
Rules that define when a redirect is applied and the redirect behavior.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<AWSS3RoutingRule *> *_Nullable routingRules;
Swift
var routingRules: [AWSS3RoutingRule]? { get set }