{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RedshiftDestinationConfiguration",
  "title": "RedshiftDestinationConfiguration",
  "type": "object",
  "required": [
    "RoleARN",
    "ClusterJDBCURL",
    "CopyCommand",
    "Username",
    "Password",
    "S3Configuration"
  ],
  "properties": {
    "RoleARN": {
      "allOf": [
        {
          "$ref": "#/components/schemas/RoleARN"
        },
        {
          "description": "The Amazon Resource Name (ARN) of the Amazon Web Services credentials. For more information, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces</a>."
        }
      ]
    },
    "ClusterJDBCURL": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ClusterJDBCURL"
        },
        {
          "description": "The database connection string."
        }
      ]
    },
    "CopyCommand": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CopyCommand"
        },
        {
          "description": "The <code>COPY</code> command."
        }
      ]
    },
    "Username": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Username"
        },
        {
          "description": "The name of the user."
        }
      ]
    },
    "Password": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Password"
        },
        {
          "description": "The user password."
        }
      ]
    },
    "RetryOptions": {
      "allOf": [
        {
          "$ref": "#/components/schemas/RedshiftRetryOptions"
        },
        {
          "description": "The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes)."
        }
      ]
    },
    "S3Configuration": {
      "allOf": [
        {
          "$ref": "#/components/schemas/S3DestinationConfiguration"
        },
        {
          "description": "<p>The configuration for the intermediate Amazon S3 location from which Amazon Redshift obtains data. Restrictions are described in the topic for <a>CreateDeliveryStream</a>.</p> <p>The compression formats <code>SNAPPY</code> or <code>ZIP</code> cannot be specified in <code>RedshiftDestinationConfiguration.S3Configuration</code> because the Amazon Redshift <code>COPY</code> operation that reads from the S3 bucket doesn't support these compression formats.</p>"
        }
      ]
    },
    "ProcessingConfiguration": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ProcessingConfiguration"
        },
        {
          "description": "The data processing configuration."
        }
      ]
    },
    "S3BackupMode": {
      "allOf": [
        {
          "$ref": "#/components/schemas/RedshiftS3BackupMode"
        },
        {
          "description": "The Amazon S3 backup mode. After you create a delivery stream, you can update it to enable Amazon S3 backup if it is disabled. If backup is enabled, you can't update the delivery stream to disable it. "
        }
      ]
    },
    "S3BackupConfiguration": {
      "allOf": [
        {
          "$ref": "#/components/schemas/S3DestinationConfiguration"
        },
        {
          "description": "The configuration for backup in Amazon S3."
        }
      ]
    },
    "CloudWatchLoggingOptions": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CloudWatchLoggingOptions"
        },
        {
          "description": "The CloudWatch logging options for your delivery stream."
        }
      ]
    }
  },
  "description": "Describes the configuration of a destination in Amazon Redshift."
}