@Stability(value=Stable)
public static interface CfnBucket.RoutingRuleProperty
extends software.amazon.jsii.JsiiSerializable
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.s3.*;
RoutingRuleProperty routingRuleProperty = RoutingRuleProperty.builder()
.redirectRule(RedirectRuleProperty.builder()
.hostName("hostName")
.httpRedirectCode("httpRedirectCode")
.protocol("protocol")
.replaceKeyPrefixWith("replaceKeyPrefixWith")
.replaceKeyWith("replaceKeyWith")
.build())
// the properties below are optional
.routingRuleCondition(RoutingRuleConditionProperty.builder()
.httpErrorCodeReturnedEquals("httpErrorCodeReturnedEquals")
.keyPrefixEquals("keyPrefixEquals")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBucket.RoutingRuleProperty.Builder
A builder for
CfnBucket.RoutingRuleProperty |
static class |
CfnBucket.RoutingRuleProperty.Jsii$Proxy
An implementation for
CfnBucket.RoutingRuleProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnBucket.RoutingRuleProperty.Builder |
builder() |
Object |
getRedirectRule()
`CfnBucket.RoutingRuleProperty.RedirectRule`.
|
default Object |
getRoutingRuleCondition()
`CfnBucket.RoutingRuleProperty.RoutingRuleCondition`.
|
@Stability(value=Stable) @NotNull Object getRedirectRule()
@Stability(value=Stable) @Nullable default Object getRoutingRuleCondition()
@Stability(value=Stable) static CfnBucket.RoutingRuleProperty.Builder builder()
Copyright © 2021. All rights reserved.