"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.DataSource = exports.VpcConnectionProperties = exports.SslProperties = exports.Permission = exports.Credentials = exports.CredentialPair = exports.Parameters = exports.Mysql = exports.AmazonElasticsearch = exports.Teradata = exports.S3 = exports.ManifestFileLocation = exports.Athena = exports.Presto = exports.Twitter = exports.AwsIotAnalytics = exports.AuroraPostgresql = exports.Spark = exports.Redshift = exports.ServiceNow = exports.Snowflake = exports.Oracle = exports.Aurora = exports.Rds = exports.MariaDb = exports.Jira = exports.SqlServer = exports.Postgresql = void 0;
const core = __importStar(require("@terrascript/core"));
class Postgresql extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Postgresql.prototype, "database", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Postgresql.prototype, "host", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], Postgresql.prototype, "port", void 0);
exports.Postgresql = Postgresql;
class SqlServer extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], SqlServer.prototype, "database", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], SqlServer.prototype, "host", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], SqlServer.prototype, "port", void 0);
exports.SqlServer = SqlServer;
class Jira extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Jira.prototype, "siteBaseUrl", void 0);
exports.Jira = Jira;
class MariaDb extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], MariaDb.prototype, "database", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], MariaDb.prototype, "host", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], MariaDb.prototype, "port", void 0);
exports.MariaDb = MariaDb;
class Rds extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Rds.prototype, "database", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Rds.prototype, "instanceId", void 0);
exports.Rds = Rds;
class Aurora extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Aurora.prototype, "database", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Aurora.prototype, "host", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], Aurora.prototype, "port", void 0);
exports.Aurora = Aurora;
class Oracle extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Oracle.prototype, "database", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Oracle.prototype, "host", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], Oracle.prototype, "port", void 0);
exports.Oracle = Oracle;
class Snowflake extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Snowflake.prototype, "database", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Snowflake.prototype, "host", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Snowflake.prototype, "warehouse", void 0);
exports.Snowflake = Snowflake;
class ServiceNow extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], ServiceNow.prototype, "siteBaseUrl", void 0);
exports.ServiceNow = ServiceNow;
class Redshift extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Redshift.prototype, "clusterId", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Redshift.prototype, "database", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Redshift.prototype, "host", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], Redshift.prototype, "port", void 0);
exports.Redshift = Redshift;
class Spark extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Spark.prototype, "host", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], Spark.prototype, "port", void 0);
exports.Spark = Spark;
class AuroraPostgresql extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], AuroraPostgresql.prototype, "database", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], AuroraPostgresql.prototype, "host", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], AuroraPostgresql.prototype, "port", void 0);
exports.AuroraPostgresql = AuroraPostgresql;
class AwsIotAnalytics extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], AwsIotAnalytics.prototype, "dataSetName", void 0);
exports.AwsIotAnalytics = AwsIotAnalytics;
class Twitter extends core.Schema {
}
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], Twitter.prototype, "maxRows", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Twitter.prototype, "query", void 0);
exports.Twitter = Twitter;
class Presto extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Presto.prototype, "catalog", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Presto.prototype, "host", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], Presto.prototype, "port", void 0);
exports.Presto = Presto;
class Athena extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Athena.prototype, "workGroup", void 0);
exports.Athena = Athena;
class ManifestFileLocation extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], ManifestFileLocation.prototype, "bucket", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], ManifestFileLocation.prototype, "key", void 0);
exports.ManifestFileLocation = ManifestFileLocation;
class S3 extends core.Schema {
}
__decorate([
    core.attr(ManifestFileLocation),
    __metadata("design:type", ManifestFileLocation)
], S3.prototype, "manifestFileLocation", void 0);
exports.S3 = S3;
class Teradata extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Teradata.prototype, "database", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Teradata.prototype, "host", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], Teradata.prototype, "port", void 0);
exports.Teradata = Teradata;
class AmazonElasticsearch extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], AmazonElasticsearch.prototype, "domain", void 0);
exports.AmazonElasticsearch = AmazonElasticsearch;
class Mysql extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Mysql.prototype, "database", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Mysql.prototype, "host", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], Mysql.prototype, "port", void 0);
exports.Mysql = Mysql;
class Parameters extends core.Schema {
}
__decorate([
    core.attr(AmazonElasticsearch),
    __metadata("design:type", AmazonElasticsearch)
], Parameters.prototype, "amazonElasticsearch", void 0);
__decorate([
    core.attr(Athena),
    __metadata("design:type", Athena)
], Parameters.prototype, "athena", void 0);
__decorate([
    core.attr(Aurora),
    __metadata("design:type", Aurora)
], Parameters.prototype, "aurora", void 0);
__decorate([
    core.attr(AuroraPostgresql),
    __metadata("design:type", AuroraPostgresql)
], Parameters.prototype, "auroraPostgresql", void 0);
__decorate([
    core.attr(AwsIotAnalytics),
    __metadata("design:type", AwsIotAnalytics)
], Parameters.prototype, "awsIotAnalytics", void 0);
__decorate([
    core.attr(Jira),
    __metadata("design:type", Jira)
], Parameters.prototype, "jira", void 0);
__decorate([
    core.attr(MariaDb),
    __metadata("design:type", MariaDb)
], Parameters.prototype, "mariaDb", void 0);
__decorate([
    core.attr(Mysql),
    __metadata("design:type", Mysql)
], Parameters.prototype, "mysql", void 0);
__decorate([
    core.attr(Oracle),
    __metadata("design:type", Oracle)
], Parameters.prototype, "oracle", void 0);
__decorate([
    core.attr(Postgresql),
    __metadata("design:type", Postgresql)
], Parameters.prototype, "postgresql", void 0);
__decorate([
    core.attr(Presto),
    __metadata("design:type", Presto)
], Parameters.prototype, "presto", void 0);
__decorate([
    core.attr(Rds),
    __metadata("design:type", Rds)
], Parameters.prototype, "rds", void 0);
__decorate([
    core.attr(Redshift),
    __metadata("design:type", Redshift)
], Parameters.prototype, "redshift", void 0);
__decorate([
    core.attr(S3),
    __metadata("design:type", S3)
], Parameters.prototype, "s3", void 0);
__decorate([
    core.attr(ServiceNow),
    __metadata("design:type", ServiceNow)
], Parameters.prototype, "serviceNow", void 0);
__decorate([
    core.attr(Snowflake),
    __metadata("design:type", Snowflake)
], Parameters.prototype, "snowflake", void 0);
__decorate([
    core.attr(Spark),
    __metadata("design:type", Spark)
], Parameters.prototype, "spark", void 0);
__decorate([
    core.attr(SqlServer),
    __metadata("design:type", SqlServer)
], Parameters.prototype, "sqlServer", void 0);
__decorate([
    core.attr(Teradata),
    __metadata("design:type", Teradata)
], Parameters.prototype, "teradata", void 0);
__decorate([
    core.attr(Twitter),
    __metadata("design:type", Twitter)
], Parameters.prototype, "twitter", void 0);
exports.Parameters = Parameters;
class CredentialPair extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CredentialPair.prototype, "password", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CredentialPair.prototype, "username", void 0);
exports.CredentialPair = CredentialPair;
class Credentials extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Credentials.prototype, "copySourceArn", void 0);
__decorate([
    core.attr(CredentialPair),
    __metadata("design:type", CredentialPair)
], Credentials.prototype, "credentialPair", void 0);
exports.Credentials = Credentials;
class Permission extends core.Schema {
}
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], Permission.prototype, "actions", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Permission.prototype, "principal", void 0);
exports.Permission = Permission;
class SslProperties extends core.Schema {
}
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], SslProperties.prototype, "disableSsl", void 0);
exports.SslProperties = SslProperties;
class VpcConnectionProperties extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], VpcConnectionProperties.prototype, "vpcConnectionArn", void 0);
exports.VpcConnectionProperties = VpcConnectionProperties;
class DataSource extends core.Resource {
    constructor(name, args) {
        super(name, "aws_quicksight_data_source", args);
    }
    getNamespace() {
        return "aws_quicksight";
    }
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DataSource.prototype, "arn", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DataSource.prototype, "awsAccountId", void 0);
__decorate([
    core.attr(Credentials),
    __metadata("design:type", Credentials)
], DataSource.prototype, "credentials", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], DataSource.prototype, "dataSourceId", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DataSource.prototype, "id", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], DataSource.prototype, "name", void 0);
__decorate([
    core.attr(Parameters),
    __metadata("design:type", Parameters)
], DataSource.prototype, "parameters", void 0);
__decorate([
    core.attr(Permission, { kind: "array" }),
    __metadata("design:type", Object)
], DataSource.prototype, "permission", void 0);
__decorate([
    core.attr(SslProperties),
    __metadata("design:type", SslProperties)
], DataSource.prototype, "sslProperties", void 0);
__decorate([
    core.attr(String, { kind: "map" }),
    __metadata("design:type", Object)
], DataSource.prototype, "tags", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "map" }),
    __metadata("design:type", Object)
], DataSource.prototype, "tagsAll", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], DataSource.prototype, "type", void 0);
__decorate([
    core.attr(VpcConnectionProperties),
    __metadata("design:type", VpcConnectionProperties)
], DataSource.prototype, "vpcConnectionProperties", void 0);
exports.DataSource = DataSource;
//# sourceMappingURL=data_source.js.map