Interface CfnBucket.RedirectRuleProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnBucket.RedirectRuleProperty.Jsii$Proxy
Enclosing class:
CfnBucket

@Stability(Stable) public static interface CfnBucket.RedirectRuleProperty extends software.amazon.jsii.JsiiSerializable
Specifies how requests are redirected.

In the event of an error, you can specify a different error code to return.

Example:

 // 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.*;
 RedirectRuleProperty redirectRuleProperty = RedirectRuleProperty.builder()
         .hostName("hostName")
         .httpRedirectCode("httpRedirectCode")
         .protocol("protocol")
         .replaceKeyPrefixWith("replaceKeyPrefixWith")
         .replaceKeyWith("replaceKeyWith")
         .build();
 

See Also: