Interface CfnApp.CustomRuleProperty

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

@Stability(Stable) public static interface CfnApp.CustomRuleProperty extends software.amazon.jsii.JsiiSerializable
The CustomRule property type allows you to specify redirects, rewrites, and reverse proxies.

Redirects enable a web app to reroute navigation from one URL to another.

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.amplify.*;
 CustomRuleProperty customRuleProperty = CustomRuleProperty.builder()
         .source("source")
         .target("target")
         // the properties below are optional
         .condition("condition")
         .status("status")
         .build();
 

See Also: