Bucket Website Configuration V2Routing Rule Redirect Args
data class BucketWebsiteConfigurationV2RoutingRuleRedirectArgs(val hostName: Output<String>? = null, val httpRedirectCode: Output<String>? = null, val protocol: Output<String>? = null, val replaceKeyPrefixWith: Output<String>? = null, val replaceKeyWith: Output<String>? = null) : ConvertibleToJava<BucketWebsiteConfigurationV2RoutingRuleRedirectArgs>
Constructors
Properties
Link copied to clipboard
HTTP redirect code to use on the response.
Link copied to clipboard
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 key_prefix_equals
set to docs/
and in the redirect
set replace_key_prefix_with
to /documents
.
Link copied to clipboard
Specific object key to use in the redirect request. For example, redirect request to error.html
.