@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:37.001Z") @Stability(value=Experimental) public interface RoutingRule extends software.amazon.jsii.JsiiSerializable
https://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html| Modifier and Type | Interface and Description |
|---|---|
static class |
RoutingRule.Builder
A builder for
RoutingRule |
static class |
RoutingRule.Jsii$Proxy
An implementation for
RoutingRule |
| Modifier and Type | Method and Description |
|---|---|
static RoutingRule.Builder |
builder() |
default RoutingRuleCondition |
getCondition()
(experimental) Specifies a condition that must be met for the specified redirect to apply.
|
default String |
getHostName()
(experimental) The host name to use in the redirect request.
|
default String |
getHttpRedirectCode()
(experimental) The HTTP redirect code to use on the response.
|
default RedirectProtocol |
getProtocol()
(experimental) Protocol to use when redirecting requests.
|
default ReplaceKey |
getReplaceKey()
(experimental) Specifies the object key prefix to use in the redirect request.
|
@Stability(value=Experimental) @Nullable default RoutingRuleCondition getCondition()
Default: - No condition
@Stability(value=Experimental) @Nullable default String getHostName()
Default: - The host name used in the original request.
@Stability(value=Experimental) @Nullable default String getHttpRedirectCode()
Default: "301" - Moved Permanently
@Stability(value=Experimental) @Nullable default RedirectProtocol getProtocol()
Default: - The protocol used in the original request.
@Stability(value=Experimental) @Nullable default ReplaceKey getReplaceKey()
Default: - The key will not be replaced
@Stability(value=Experimental) static RoutingRule.Builder builder()
RoutingRule.Builder of RoutingRuleCopyright © 2021. All rights reserved.