Amazon S3 API · Schema

Condition

A container for describing a condition that must be met for the specified redirect to apply. For example, 1. If request is for pages in the /docs folder, redirect to the /documents folder. 2. If request results in HTTP error 4xx, redirect request to another host where you might process the error.

Cloud StorageObject StorageStorage

Properties

Name Type Description
HttpErrorCodeReturnedEquals object
KeyPrefixEquals object
View JSON Schema on GitHub

JSON Schema

s3-condition-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Condition",
  "type": "object",
  "properties": {
    "HttpErrorCodeReturnedEquals": {},
    "KeyPrefixEquals": {}
  },
  "description": "A container for describing a condition that must be met for the specified redirect to apply. For example, 1. If request is for pages in the <code>/docs</code> folder, redirect to the <code>/documents</code> folder. 2. If request results in HTTP error 4xx, redirect request to another host where you might process the error."
}