AWSS3Redirect Class Reference

Inherits from AWSModel : AWSMTLModel
Declared in AWSS3Model.h
AWSS3Model.m

  hostName

The host name to use in the redirect request.

@property (nonatomic, strong) NSString *hostName

Declared In

AWSS3Model.h

  httpRedirectCode

The HTTP redirect code to use on the response. Not required if one of the siblings is present.

@property (nonatomic, strong) NSString *httpRedirectCode

Declared In

AWSS3Model.h

  protocols

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

@property (nonatomic, assign) AWSS3Protocols protocols

Declared In

AWSS3Model.h

  replaceKeyPrefixWith

The object key prefix to use in the redirect request. For example, to redirect requests for all pages with prefix docs/ (objects in the docs/ folder) to documents/, you can set a condition block with KeyPrefixEquals set to docs/ and in the Redirect set ReplaceKeyPrefixWith to /documents. Not required if one of the siblings is present. Can be present only if ReplaceKeyWith is not provided.

@property (nonatomic, strong) NSString *replaceKeyPrefixWith

Declared In

AWSS3Model.h

  replaceKeyWith

The specific object key to use in the redirect request. For example, redirect request to error.html. Not required if one of the sibling is present. Can be present only if ReplaceKeyPrefixWith is not provided.

@property (nonatomic, strong) NSString *replaceKeyWith

Declared In

AWSS3Model.h