new AmazonS3WebsiteConfigurationRoutingRulesRoutingRuleConditionProperty()
Properties:
Name | Type | Description |
---|---|---|
HttpErrorCodeReturnedEquals |
String | Required: Conditional. Applies this redirect if the error code equals this value in the event of an error. |
KeyPrefixEquals |
String | Required: Conditional. The object key name prefix when the redirect is applied. For example, to redirect requests for ExamplePage.html, set the key prefix to ExamplePage.html. To redirect request for all pages with the prefix docs/, set the key prefix to docs/, which identifies all objects in the docs/ folder. |