{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-rds/json-schema/amazon-rds-create-blue-green-deployment-response-schema.json",
  "title": "CreateBlueGreenDeploymentResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-rds-blue-green-deployment-api-openapi.yml#/components/schemas/CreateBlueGreenDeploymentResponse",
  "type": "object",
  "properties": {
    "BlueGreenDeployment": {
      "$ref": "#/$defs/BlueGreenDeployment"
    }
  },
  "$defs": {
    "BlueGreenDeployment": {
      "type": "object",
      "properties": {
        "BlueGreenDeploymentIdentifier": {
          "type": "string",
          "description": "The unique identifier of the blue/green deployment."
        },
        "BlueGreenDeploymentName": {
          "type": "string",
          "description": "The user-supplied name of the blue/green deployment."
        },
        "Source": {
          "type": "string",
          "description": "The source database for the blue/green deployment. Before switchover, the source database is the production database in the blue environment."
        },
        "Target": {
          "type": "string",
          "description": "The target database for the blue/green deployment. Before switchover, the target database is the clone database in the green environment."
        },
        "SwitchoverDetails": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SwitchoverDetail"
          },
          "description": "The details about each source and target resource in the blue/green deployment."
        },
        "Tasks": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/BlueGreenDeploymentTask"
          },
          "description": "Either tasks to be performed or tasks that have been completed on the target database before switchover."
        },
        "Status": {
          "type": "string",
          "description": "The status of the blue/green deployment. Valid Values: PROVISIONING - Resources are being created in the green environment. AVAILABLE - Resources are available in the green environment. SWITCHOVER_IN_PROGRESS - The deployment is being switched from the blue environment to the green environment. SWITCHOVER_COMPLETED - Switchover from the blue environment to the green environment is complete. INVALID_CONFIGURATION - Resources in the green environment are invalid, so switchover isn't possible. SWITCHOVER_FAILED - Switchover was attempted but failed. DELETING - The blue/green deployment is being d"
        },
        "StatusDetails": {
          "type": "string",
          "description": "Additional information about the status of the blue/green deployment."
        },
        "CreateTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time when the blue/green deployment was created, in Universal Coordinated Time (UTC)."
        },
        "DeleteTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time when the blue/green deployment was deleted, in Universal Coordinated Time (UTC)."
        },
        "TagList": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Tag"
          }
        }
      }
    },
    "BlueGreenDeploymentTask": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the blue/green deployment task."
        },
        "Status": {
          "type": "string",
          "description": "The status of the blue/green deployment task. Valid Values: PENDING - The resource is being prepared for deployment. IN_PROGRESS - The resource is being deployed. COMPLETED - The resource has been deployed. FAILED - Deployment of the resource failed."
        }
      }
    },
    "SwitchoverDetail": {
      "type": "object",
      "properties": {
        "SourceMember": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of a resource in the blue environment."
        },
        "TargetMember": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of a resource in the green environment."
        },
        "Status": {
          "type": "string",
          "description": "The switchover status of a resource in a blue/green deployment. Values: PROVISIONING - The resource is being prepared to switch over. AVAILABLE - The resource is ready to switch over. SWITCHOVER_IN_PROGRESS - The resource is being switched over. SWITCHOVER_COMPLETED - The resource has been switched over. SWITCHOVER_FAILED - The resource attempted to switch over but failed. MISSING_SOURCE - The source resource has been deleted. MISSING_TARGET - The target resource has been deleted."
        }
      }
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "A key is the required name of the tag. The string value can be from 1 to 128 Unicode characters in length and can't be prefixed with aws: or rds:. The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', ':', '/', '=', '+', '-', '@' (Java regex: \"^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=+\\\\-@]*)$\")."
        },
        "Value": {
          "type": "string",
          "description": "A value is the optional value of the tag. The string value can be from 1 to 256 Unicode characters in length and can't be prefixed with aws: or rds:. The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', ':', '/', '=', '+', '-', '@' (Java regex: \"^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=+\\\\-@]*)$\")."
        }
      }
    }
  }
}