{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-quicksight-datasource.json",
  "title": "AWSQuickSightDataSourceProperties",
  "description": "Definition of the AWS::QuickSight::DataSource Resource Type.. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-quicksight-datasource.json",
    "sourceSha256": "7655c47b4d1118b1697652c86efdb5fc957b13057622ab9588986c4bc1d495f1"
  },
  "type": "object",
  "properties": {
    "AlternateDataSourceParameters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DataSourceParameters"
      },
      "maxItems": 50,
      "minItems": 1,
      "description": "<p>A set of alternate data source parameters that you want to share for the credentials\n            stored with this data source. The credentials are applied in tandem with the data source\n            parameters when you copy a data source by using a create or update request. The API\n            operation compares the <code>DataSourceParameters</code> structure that's in the request\n            with the structures in the <code>AlternateDataSourceParameters</code> allow list. If the\n            structures are an exact match, the request is allowed to use the credentials from this\n            existing data source. If the <code>AlternateDataSourceParameters</code> list is null,\n            the <code>Credentials</code> originally used with this <code>DataSourceParameters</code>\n            are automatically allowed.</p>"
    },
    "AwsAccountId": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 12,
          "minLength": 12,
          "pattern": "^[0-9]{12}$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Credentials": {
      "$ref": "#/$defs/DataSourceCredentials"
    },
    "DataSourceId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "DataSourceParameters": {
      "$ref": "#/$defs/DataSourceParameters"
    },
    "ErrorInfo": {
      "$ref": "#/$defs/DataSourceErrorInfo"
    },
    "Name": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 128,
          "minLength": 1
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "<p>A display name for the data source.</p>"
    },
    "Permissions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ResourcePermission"
      },
      "maxItems": 64,
      "minItems": 1,
      "description": "<p>A list of resource permissions on the data source.</p>"
    },
    "SslProperties": {
      "$ref": "#/$defs/SslProperties"
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "maxItems": 200,
      "minItems": 1,
      "description": "<p>Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.</p>"
    },
    "Type": {
      "$ref": "#/$defs/DataSourceType"
    },
    "VpcConnectionProperties": {
      "$ref": "#/$defs/VpcConnectionProperties"
    }
  },
  "typeName": "AWS::QuickSight::DataSource",
  "$defs": {
    "AmazonElasticsearchParameters": {
      "type": "object",
      "description": "<p>Amazon Elasticsearch Service parameters.</p>",
      "properties": {
        "Domain": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 64,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The Amazon Elasticsearch Service domain.</p>"
        }
      },
      "required": [
        "Domain"
      ],
      "title": "AWSQuickSightDataSourceAmazonElasticsearchParametersDefinition"
    },
    "AmazonOpenSearchParameters": {
      "type": "object",
      "description": "<p>Amazon OpenSearch Service parameters.</p>",
      "properties": {
        "Domain": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 64,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The Amazon OpenSearch Service domain.</p>"
        }
      },
      "required": [
        "Domain"
      ],
      "title": "AWSQuickSightDataSourceAmazonOpenSearchParametersDefinition"
    },
    "AthenaParameters": {
      "type": "object",
      "description": "<p>Amazon Athena parameters.</p>",
      "properties": {
        "WorkGroup": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 128,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The workgroup that Amazon Athena uses.</p>"
        },
        "RoleArn": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 2048,
              "minLength": 20
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Use the <code>RoleArn</code> structure to override an account-wide role for a specific Athena data source. For example, say an account administrator has turned off all Athena access with an account-wide role. The administrator can then use <code>RoleArn</code> to bypass the account-wide role and allow Athena access for the single Athena data source that is specified in the structure, even if the account-wide role forbidding Athena access is still active.</p>"
        }
      },
      "title": "AWSQuickSightDataSourceAthenaParametersDefinition"
    },
    "AuroraParameters": {
      "type": "object",
      "description": "<p>Amazon Aurora parameters.</p>",
      "properties": {
        "Port": {
          "type": "number",
          "maximum": 65535,
          "minimum": 1,
          "description": "<p>Port.</p>"
        },
        "Database": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 128,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Database.</p>"
        },
        "Host": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 256,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Host.</p>"
        }
      },
      "required": [
        "Database",
        "Host",
        "Port"
      ],
      "title": "AWSQuickSightDataSourceAuroraParametersDefinition"
    },
    "AuroraPostgreSqlParameters": {
      "type": "object",
      "description": "<p>Amazon Aurora with PostgreSQL compatibility parameters.</p>",
      "properties": {
        "Port": {
          "type": "number",
          "maximum": 65535,
          "minimum": 1,
          "description": "<p>Port.</p>"
        },
        "Database": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 128,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Database.</p>"
        },
        "Host": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 256,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Host.</p>"
        }
      },
      "required": [
        "Database",
        "Host",
        "Port"
      ],
      "title": "AWSQuickSightDataSourceAuroraPostgreSqlParametersDefinition"
    },
    "AwsIotAnalyticsParameters": {
      "type": "object",
      "description": "<p>AWS IoT Analytics parameters.</p>",
      "properties": {
        "DataSetName": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 128,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Dataset name.</p>"
        }
      },
      "required": [
        "DataSetName"
      ],
      "title": "AWSQuickSightDataSourceAwsIotAnalyticsParametersDefinition"
    },
    "CredentialPair": {
      "type": "object",
      "description": "<p>The combination of user name and password that are used as credentials.</p>",
      "properties": {
        "AlternateDataSourceParameters": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DataSourceParameters"
          },
          "maxItems": 50,
          "minItems": 1,
          "description": "<p>A set of alternate data source parameters that you want to share for these\n            credentials. The credentials are applied in tandem with the data source parameters when\n            you copy a data source by using a create or update request. The API operation compares\n            the <code>DataSourceParameters</code> structure that's in the request with the\n            structures in the <code>AlternateDataSourceParameters</code> allow list. If the\n            structures are an exact match, the request is allowed to use the new data source with\n            the existing credentials. If the <code>AlternateDataSourceParameters</code> list is\n            null, the <code>DataSourceParameters</code> originally used with these\n                <code>Credentials</code> is automatically allowed.</p>"
        },
        "Username": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 64,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>User name.</p>"
        },
        "Password": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 1024,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Password.</p>"
        }
      },
      "required": [
        "Password",
        "Username"
      ],
      "title": "AWSQuickSightDataSourceCredentialPairDefinition"
    },
    "DatabricksParameters": {
      "type": "object",
      "description": "<p>Databricks parameters.</p>",
      "properties": {
        "Host": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 256,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Host.</p>"
        },
        "Port": {
          "type": "number",
          "maximum": 65535,
          "minimum": 1,
          "description": "<p>Port.</p>"
        },
        "SqlEndpointPath": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 4096,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The HTTP Path of the Databricks data source.</p>"
        }
      },
      "required": [
        "Host",
        "Port",
        "SqlEndpointPath"
      ],
      "title": "AWSQuickSightDataSourceDatabricksParametersDefinition"
    },
    "DataSourceCredentials": {
      "type": "object",
      "description": "<p>Data source credentials. This is a variant type structure. For this structure to be\n            valid, only one of the attributes can be non-null.</p>",
      "properties": {
        "CopySourceArn": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^arn:[-a-z0-9]*:quicksight:[-a-z0-9]*:[0-9]{12}:datasource/.+"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The Amazon Resource Name (ARN) of a data source that has the credential pair that you\n            want to use. When <code>CopySourceArn</code> is not null, the credential pair from the\n            data source in the ARN is used as the credentials for the\n            <code>DataSourceCredentials</code> structure.</p>"
        },
        "CredentialPair": {
          "$ref": "#/$defs/CredentialPair"
        },
        "SecretArn": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^arn:[-a-z0-9]*:secretsmanager:[-a-z0-9]*:[0-9]{12}:secret:.+",
              "maxLength": 2048,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.</p>"
        }
      },
      "title": "AWSQuickSightDataSourceDataSourceCredentialsDefinition"
    },
    "DataSourceErrorInfo": {
      "type": "object",
      "description": "<p>Error information for the data source creation or update.</p>",
      "properties": {
        "Type": {
          "$ref": "#/$defs/DataSourceErrorInfoType"
        },
        "Message": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Error message.</p>"
        }
      },
      "title": "AWSQuickSightDataSourceDataSourceErrorInfoDefinition"
    },
    "DataSourceErrorInfoType": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "ACCESS_DENIED",
            "COPY_SOURCE_NOT_FOUND",
            "TIMEOUT",
            "ENGINE_VERSION_NOT_SUPPORTED",
            "UNKNOWN_HOST",
            "GENERIC_SQL_FAILURE",
            "CONFLICT",
            "UNKNOWN"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSQuickSightDataSourceDataSourceErrorInfoTypeDefinition"
    },
    "DataSourceParameters": {
      "type": "object",
      "description": "<p>The parameters that Amazon QuickSight uses to connect to your underlying data source.\n            This is a variant type structure. For this structure to be valid, only one of the\n            attributes can be non-null.</p>",
      "properties": {
        "AuroraPostgreSqlParameters": {
          "$ref": "#/$defs/AuroraPostgreSqlParameters"
        },
        "TeradataParameters": {
          "$ref": "#/$defs/TeradataParameters"
        },
        "RdsParameters": {
          "$ref": "#/$defs/RdsParameters"
        },
        "AthenaParameters": {
          "$ref": "#/$defs/AthenaParameters"
        },
        "SparkParameters": {
          "$ref": "#/$defs/SparkParameters"
        },
        "MariaDbParameters": {
          "$ref": "#/$defs/MariaDbParameters"
        },
        "OracleParameters": {
          "$ref": "#/$defs/OracleParameters"
        },
        "PrestoParameters": {
          "$ref": "#/$defs/PrestoParameters"
        },
        "RedshiftParameters": {
          "$ref": "#/$defs/RedshiftParameters"
        },
        "MySqlParameters": {
          "$ref": "#/$defs/MySqlParameters"
        },
        "SqlServerParameters": {
          "$ref": "#/$defs/SqlServerParameters"
        },
        "SnowflakeParameters": {
          "$ref": "#/$defs/SnowflakeParameters"
        },
        "AmazonElasticsearchParameters": {
          "$ref": "#/$defs/AmazonElasticsearchParameters"
        },
        "AmazonOpenSearchParameters": {
          "$ref": "#/$defs/AmazonOpenSearchParameters"
        },
        "PostgreSqlParameters": {
          "$ref": "#/$defs/PostgreSqlParameters"
        },
        "AuroraParameters": {
          "$ref": "#/$defs/AuroraParameters"
        },
        "S3Parameters": {
          "$ref": "#/$defs/S3Parameters"
        },
        "DatabricksParameters": {
          "$ref": "#/$defs/DatabricksParameters"
        }
      },
      "title": "AWSQuickSightDataSourceDataSourceParametersDefinition"
    },
    "DataSourceType": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "ADOBE_ANALYTICS",
            "AMAZON_ELASTICSEARCH",
            "AMAZON_OPENSEARCH",
            "ATHENA",
            "AURORA",
            "AURORA_POSTGRESQL",
            "AWS_IOT_ANALYTICS",
            "DATABRICKS",
            "GITHUB",
            "JIRA",
            "MARIADB",
            "MYSQL",
            "ORACLE",
            "POSTGRESQL",
            "PRESTO",
            "REDSHIFT",
            "S3",
            "SALESFORCE",
            "SERVICENOW",
            "SNOWFLAKE",
            "SPARK",
            "SQLSERVER",
            "TERADATA",
            "TWITTER",
            "TIMESTREAM"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSQuickSightDataSourceDataSourceTypeDefinition"
    },
    "ManifestFileLocation": {
      "type": "object",
      "description": "<p>Amazon S3 manifest file location.</p>",
      "properties": {
        "Bucket": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 1024,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Amazon S3 bucket.</p>"
        },
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 1024,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Amazon S3 key that identifies an object.</p>"
        }
      },
      "required": [
        "Bucket",
        "Key"
      ],
      "title": "AWSQuickSightDataSourceManifestFileLocationDefinition"
    },
    "MariaDbParameters": {
      "type": "object",
      "description": "<p>MariaDB parameters.</p>",
      "properties": {
        "Port": {
          "type": "number",
          "maximum": 65535,
          "minimum": 1,
          "description": "<p>Port.</p>"
        },
        "Database": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 128,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Database.</p>"
        },
        "Host": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 256,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Host.</p>"
        }
      },
      "required": [
        "Database",
        "Host",
        "Port"
      ],
      "title": "AWSQuickSightDataSourceMariaDbParametersDefinition"
    },
    "MySqlParameters": {
      "type": "object",
      "description": "<p>MySQL parameters.</p>",
      "properties": {
        "Port": {
          "type": "number",
          "maximum": 65535,
          "minimum": 1,
          "description": "<p>Port.</p>"
        },
        "Database": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 128,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Database.</p>"
        },
        "Host": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 256,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Host.</p>"
        }
      },
      "required": [
        "Database",
        "Host",
        "Port"
      ],
      "title": "AWSQuickSightDataSourceMySqlParametersDefinition"
    },
    "OracleParameters": {
      "type": "object",
      "properties": {
        "Port": {
          "type": "number",
          "maximum": 65535,
          "minimum": 1
        },
        "Database": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 128,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Host": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 256,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Database",
        "Host",
        "Port"
      ],
      "title": "AWSQuickSightDataSourceOracleParametersDefinition"
    },
    "PostgreSqlParameters": {
      "type": "object",
      "description": "<p>PostgreSQL parameters.</p>",
      "properties": {
        "Port": {
          "type": "number",
          "maximum": 65535,
          "minimum": 1,
          "description": "<p>Port.</p>"
        },
        "Database": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 128,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Database.</p>"
        },
        "Host": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 256,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Host.</p>"
        }
      },
      "required": [
        "Database",
        "Host",
        "Port"
      ],
      "title": "AWSQuickSightDataSourcePostgreSqlParametersDefinition"
    },
    "PrestoParameters": {
      "type": "object",
      "description": "<p>Presto parameters.</p>",
      "properties": {
        "Port": {
          "type": "number",
          "maximum": 65535,
          "minimum": 1,
          "description": "<p>Port.</p>"
        },
        "Host": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 256,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Host.</p>"
        },
        "Catalog": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 128,
              "minLength": 0
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Catalog.</p>"
        }
      },
      "required": [
        "Catalog",
        "Host",
        "Port"
      ],
      "title": "AWSQuickSightDataSourcePrestoParametersDefinition"
    },
    "RdsParameters": {
      "type": "object",
      "description": "<p>Amazon RDS parameters.</p>",
      "properties": {
        "InstanceId": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 64,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Instance ID.</p>"
        },
        "Database": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 128,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Database.</p>"
        }
      },
      "required": [
        "Database",
        "InstanceId"
      ],
      "title": "AWSQuickSightDataSourceRdsParametersDefinition"
    },
    "RedshiftParameters": {
      "type": "object",
      "description": "<p>Amazon Redshift parameters. The <code>ClusterId</code> field can be blank if\n            <code>Host</code> and <code>Port</code> are both set. The <code>Host</code> and\n            <code>Port</code> fields can be blank if the <code>ClusterId</code> field is set.</p>",
      "properties": {
        "ClusterId": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 64,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Cluster ID. This field can be blank if the <code>Host</code> and <code>Port</code> are\n            provided.</p>"
        },
        "Port": {
          "type": "number",
          "maximum": 65535,
          "minimum": 0,
          "description": "<p>Port. This field can be blank if the <code>ClusterId</code> is provided.</p>"
        },
        "Database": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 128,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Database.</p>"
        },
        "Host": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 256,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Host. This field can be blank if <code>ClusterId</code> is provided.</p>"
        }
      },
      "required": [
        "Database"
      ],
      "title": "AWSQuickSightDataSourceRedshiftParametersDefinition"
    },
    "ResourcePermission": {
      "type": "object",
      "description": "<p>Permission for the resource.</p>",
      "properties": {
        "Actions": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "maxItems": 16,
          "minItems": 1,
          "description": "<p>The IAM action to grant or revoke permissions on.</p>"
        },
        "Principal": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 256,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The Amazon Resource Name (ARN) of the principal. This can be one of the\n            following:</p>\n        <ul>\n            <li>\n                <p>The ARN of an Amazon QuickSight user or group associated with a data source or dataset. (This is common.)</p>\n            </li>\n            <li>\n                <p>The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, dashboard, template, or theme. (This is common.)</p>\n            </li>\n            <li>\n                <p>The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight\n                    ARN. Use this option only to share resources (templates) across AWS accounts.\n                    (This is less common.) </p>\n            </li>\n         </ul>"
        }
      },
      "required": [
        "Actions",
        "Principal"
      ],
      "title": "AWSQuickSightDataSourceResourcePermissionDefinition"
    },
    "ResourceStatus": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "CREATION_IN_PROGRESS",
            "CREATION_SUCCESSFUL",
            "CREATION_FAILED",
            "UPDATE_IN_PROGRESS",
            "UPDATE_SUCCESSFUL",
            "UPDATE_FAILED",
            "DELETED"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSQuickSightDataSourceResourceStatusDefinition"
    },
    "S3Parameters": {
      "type": "object",
      "description": "<p>S3 parameters.</p>",
      "properties": {
        "ManifestFileLocation": {
          "$ref": "#/$defs/ManifestFileLocation"
        },
        "RoleArn": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 2048,
              "minLength": 20
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Use the <code>RoleArn</code> structure to override an account-wide role for a specific S3 data source. For example, say an account administrator has turned off all S3 access with an account-wide role. The administrator can then use <code>RoleArn</code> to bypass the account-wide role and allow S3 access for the single S3 data source that is specified in the structure, even if the account-wide role forbidding S3 access is still active.</p>"
        }
      },
      "required": [
        "ManifestFileLocation"
      ],
      "title": "AWSQuickSightDataSourceS3ParametersDefinition"
    },
    "SnowflakeParameters": {
      "type": "object",
      "description": "<p>Snowflake parameters.</p>",
      "properties": {
        "Warehouse": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 128,
              "minLength": 0
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Warehouse.</p>"
        },
        "Database": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 128,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Database.</p>"
        },
        "Host": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 256,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Host.</p>"
        }
      },
      "required": [
        "Database",
        "Host",
        "Warehouse"
      ],
      "title": "AWSQuickSightDataSourceSnowflakeParametersDefinition"
    },
    "SparkParameters": {
      "type": "object",
      "description": "<p>Spark parameters.</p>",
      "properties": {
        "Port": {
          "type": "number",
          "maximum": 65535,
          "minimum": 1,
          "description": "<p>Port.</p>"
        },
        "Host": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 256,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Host.</p>"
        }
      },
      "required": [
        "Host",
        "Port"
      ],
      "title": "AWSQuickSightDataSourceSparkParametersDefinition"
    },
    "SqlServerParameters": {
      "type": "object",
      "description": "<p>SQL Server parameters.</p>",
      "properties": {
        "Port": {
          "type": "number",
          "maximum": 65535,
          "minimum": 1,
          "description": "<p>Port.</p>"
        },
        "Database": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 128,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Database.</p>"
        },
        "Host": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 256,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Host.</p>"
        }
      },
      "required": [
        "Database",
        "Host",
        "Port"
      ],
      "title": "AWSQuickSightDataSourceSqlServerParametersDefinition"
    },
    "SslProperties": {
      "type": "object",
      "description": "<p>Secure Socket Layer (SSL) properties that apply when QuickSight connects to your\n            underlying data source.</p>",
      "properties": {
        "DisableSsl": {
          "type": "boolean",
          "description": "<p>A Boolean option to control whether SSL should be disabled.</p>"
        }
      },
      "title": "AWSQuickSightDataSourceSslPropertiesDefinition"
    },
    "Tag": {
      "type": "object",
      "description": "<p>The key or keys of the key-value pairs for the resource tag or tags assigned to the\n            resource.</p>",
      "properties": {
        "Value": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 256,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Tag value.</p>"
        },
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 128,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Tag key.</p>"
        }
      },
      "required": [
        "Key",
        "Value"
      ],
      "title": "AWSQuickSightDataSourceTagDefinition"
    },
    "TeradataParameters": {
      "type": "object",
      "description": "<p>Teradata parameters.</p>",
      "properties": {
        "Port": {
          "type": "number",
          "maximum": 65535,
          "minimum": 1,
          "description": "<p>Port.</p>"
        },
        "Database": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 128,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Database.</p>"
        },
        "Host": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 256,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Host.</p>"
        }
      },
      "required": [
        "Database",
        "Host",
        "Port"
      ],
      "title": "AWSQuickSightDataSourceTeradataParametersDefinition"
    },
    "VpcConnectionProperties": {
      "type": "object",
      "description": "<p>VPC connection properties.</p>",
      "properties": {
        "VpcConnectionArn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The Amazon Resource Name (ARN) for the VPC connection.</p>"
        }
      },
      "required": [
        "VpcConnectionArn"
      ],
      "title": "AWSQuickSightDataSourceVpcConnectionPropertiesDefinition"
    }
  },
  "additionalProperties": false,
  "primaryIdentifier": [
    "/properties/AwsAccountId",
    "/properties/DataSourceId"
  ],
  "readOnlyProperties": [
    "/properties/Arn",
    "/properties/CreatedTime",
    "/properties/LastUpdatedTime",
    "/properties/Status"
  ],
  "writeOnlyProperties": [
    "/properties/Credentials"
  ],
  "createOnlyProperties": [
    "/properties/AwsAccountId",
    "/properties/DataSourceId",
    "/properties/Type"
  ]
}
