UNPKG

@cdktf/provider-aws

Version:

Prebuilt aws Provider for Terraform CDK (cdktf)

955 lines 162 kB
"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w; Object.defineProperty(exports, "__esModule", { value: true }); exports.DataAwsGlueCatalogTable = exports.DataAwsGlueCatalogTableTargetTableList = exports.DataAwsGlueCatalogTableTargetTableOutputReference = exports.DataAwsGlueCatalogTableStorageDescriptorList = exports.DataAwsGlueCatalogTableStorageDescriptorOutputReference = exports.DataAwsGlueCatalogTableStorageDescriptorSortColumnsList = exports.DataAwsGlueCatalogTableStorageDescriptorSortColumnsOutputReference = exports.DataAwsGlueCatalogTableStorageDescriptorSkewedInfoList = exports.DataAwsGlueCatalogTableStorageDescriptorSkewedInfoOutputReference = exports.DataAwsGlueCatalogTableStorageDescriptorSerDeInfoList = exports.DataAwsGlueCatalogTableStorageDescriptorSerDeInfoOutputReference = exports.DataAwsGlueCatalogTableStorageDescriptorSchemaReferenceList = exports.DataAwsGlueCatalogTableStorageDescriptorSchemaReferenceOutputReference = exports.DataAwsGlueCatalogTableStorageDescriptorSchemaReferenceSchemaIdList = exports.DataAwsGlueCatalogTableStorageDescriptorSchemaReferenceSchemaIdOutputReference = exports.DataAwsGlueCatalogTableStorageDescriptorColumnsList = exports.DataAwsGlueCatalogTableStorageDescriptorColumnsOutputReference = exports.DataAwsGlueCatalogTablePartitionKeysList = exports.DataAwsGlueCatalogTablePartitionKeysOutputReference = exports.DataAwsGlueCatalogTablePartitionIndexList = exports.DataAwsGlueCatalogTablePartitionIndexOutputReference = void 0; exports.dataAwsGlueCatalogTablePartitionIndexToTerraform = dataAwsGlueCatalogTablePartitionIndexToTerraform; exports.dataAwsGlueCatalogTablePartitionIndexToHclTerraform = dataAwsGlueCatalogTablePartitionIndexToHclTerraform; exports.dataAwsGlueCatalogTablePartitionKeysToTerraform = dataAwsGlueCatalogTablePartitionKeysToTerraform; exports.dataAwsGlueCatalogTablePartitionKeysToHclTerraform = dataAwsGlueCatalogTablePartitionKeysToHclTerraform; exports.dataAwsGlueCatalogTableStorageDescriptorColumnsToTerraform = dataAwsGlueCatalogTableStorageDescriptorColumnsToTerraform; exports.dataAwsGlueCatalogTableStorageDescriptorColumnsToHclTerraform = dataAwsGlueCatalogTableStorageDescriptorColumnsToHclTerraform; exports.dataAwsGlueCatalogTableStorageDescriptorSchemaReferenceSchemaIdToTerraform = dataAwsGlueCatalogTableStorageDescriptorSchemaReferenceSchemaIdToTerraform; exports.dataAwsGlueCatalogTableStorageDescriptorSchemaReferenceSchemaIdToHclTerraform = dataAwsGlueCatalogTableStorageDescriptorSchemaReferenceSchemaIdToHclTerraform; exports.dataAwsGlueCatalogTableStorageDescriptorSchemaReferenceToTerraform = dataAwsGlueCatalogTableStorageDescriptorSchemaReferenceToTerraform; exports.dataAwsGlueCatalogTableStorageDescriptorSchemaReferenceToHclTerraform = dataAwsGlueCatalogTableStorageDescriptorSchemaReferenceToHclTerraform; exports.dataAwsGlueCatalogTableStorageDescriptorSerDeInfoToTerraform = dataAwsGlueCatalogTableStorageDescriptorSerDeInfoToTerraform; exports.dataAwsGlueCatalogTableStorageDescriptorSerDeInfoToHclTerraform = dataAwsGlueCatalogTableStorageDescriptorSerDeInfoToHclTerraform; exports.dataAwsGlueCatalogTableStorageDescriptorSkewedInfoToTerraform = dataAwsGlueCatalogTableStorageDescriptorSkewedInfoToTerraform; exports.dataAwsGlueCatalogTableStorageDescriptorSkewedInfoToHclTerraform = dataAwsGlueCatalogTableStorageDescriptorSkewedInfoToHclTerraform; exports.dataAwsGlueCatalogTableStorageDescriptorSortColumnsToTerraform = dataAwsGlueCatalogTableStorageDescriptorSortColumnsToTerraform; exports.dataAwsGlueCatalogTableStorageDescriptorSortColumnsToHclTerraform = dataAwsGlueCatalogTableStorageDescriptorSortColumnsToHclTerraform; exports.dataAwsGlueCatalogTableStorageDescriptorToTerraform = dataAwsGlueCatalogTableStorageDescriptorToTerraform; exports.dataAwsGlueCatalogTableStorageDescriptorToHclTerraform = dataAwsGlueCatalogTableStorageDescriptorToHclTerraform; exports.dataAwsGlueCatalogTableTargetTableToTerraform = dataAwsGlueCatalogTableTargetTableToTerraform; exports.dataAwsGlueCatalogTableTargetTableToHclTerraform = dataAwsGlueCatalogTableTargetTableToHclTerraform; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function dataAwsGlueCatalogTablePartitionIndexToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } function dataAwsGlueCatalogTablePartitionIndexToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } class DataAwsGlueCatalogTablePartitionIndexOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // index_name - computed: true, optional: false, required: false get indexName() { return this.getStringAttribute('index_name'); } // index_status - computed: true, optional: false, required: false get indexStatus() { return this.getStringAttribute('index_status'); } // keys - computed: true, optional: false, required: false get keys() { return this.getListAttribute('keys'); } } exports.DataAwsGlueCatalogTablePartitionIndexOutputReference = DataAwsGlueCatalogTablePartitionIndexOutputReference; _a = JSII_RTTI_SYMBOL_1; DataAwsGlueCatalogTablePartitionIndexOutputReference[_a] = { fqn: "@cdktf/provider-aws.dataAwsGlueCatalogTable.DataAwsGlueCatalogTablePartitionIndexOutputReference", version: "21.22.1" }; class DataAwsGlueCatalogTablePartitionIndexList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAwsGlueCatalogTablePartitionIndexOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsGlueCatalogTablePartitionIndexList = DataAwsGlueCatalogTablePartitionIndexList; _b = JSII_RTTI_SYMBOL_1; DataAwsGlueCatalogTablePartitionIndexList[_b] = { fqn: "@cdktf/provider-aws.dataAwsGlueCatalogTable.DataAwsGlueCatalogTablePartitionIndexList", version: "21.22.1" }; function dataAwsGlueCatalogTablePartitionKeysToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } function dataAwsGlueCatalogTablePartitionKeysToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } class DataAwsGlueCatalogTablePartitionKeysOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; // parameters - computed: true, optional: false, required: false this._parameters = new cdktf.StringMap(this, "parameters"); } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // comment - computed: true, optional: false, required: false get comment() { return this.getStringAttribute('comment'); } // name - computed: true, optional: false, required: false get name() { return this.getStringAttribute('name'); } get parameters() { return this._parameters; } // type - computed: true, optional: false, required: false get type() { return this.getStringAttribute('type'); } } exports.DataAwsGlueCatalogTablePartitionKeysOutputReference = DataAwsGlueCatalogTablePartitionKeysOutputReference; _c = JSII_RTTI_SYMBOL_1; DataAwsGlueCatalogTablePartitionKeysOutputReference[_c] = { fqn: "@cdktf/provider-aws.dataAwsGlueCatalogTable.DataAwsGlueCatalogTablePartitionKeysOutputReference", version: "21.22.1" }; class DataAwsGlueCatalogTablePartitionKeysList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAwsGlueCatalogTablePartitionKeysOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsGlueCatalogTablePartitionKeysList = DataAwsGlueCatalogTablePartitionKeysList; _d = JSII_RTTI_SYMBOL_1; DataAwsGlueCatalogTablePartitionKeysList[_d] = { fqn: "@cdktf/provider-aws.dataAwsGlueCatalogTable.DataAwsGlueCatalogTablePartitionKeysList", version: "21.22.1" }; function dataAwsGlueCatalogTableStorageDescriptorColumnsToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } function dataAwsGlueCatalogTableStorageDescriptorColumnsToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } class DataAwsGlueCatalogTableStorageDescriptorColumnsOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; // parameters - computed: true, optional: false, required: false this._parameters = new cdktf.StringMap(this, "parameters"); } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // comment - computed: true, optional: false, required: false get comment() { return this.getStringAttribute('comment'); } // name - computed: true, optional: false, required: false get name() { return this.getStringAttribute('name'); } get parameters() { return this._parameters; } // type - computed: true, optional: false, required: false get type() { return this.getStringAttribute('type'); } } exports.DataAwsGlueCatalogTableStorageDescriptorColumnsOutputReference = DataAwsGlueCatalogTableStorageDescriptorColumnsOutputReference; _e = JSII_RTTI_SYMBOL_1; DataAwsGlueCatalogTableStorageDescriptorColumnsOutputReference[_e] = { fqn: "@cdktf/provider-aws.dataAwsGlueCatalogTable.DataAwsGlueCatalogTableStorageDescriptorColumnsOutputReference", version: "21.22.1" }; class DataAwsGlueCatalogTableStorageDescriptorColumnsList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAwsGlueCatalogTableStorageDescriptorColumnsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsGlueCatalogTableStorageDescriptorColumnsList = DataAwsGlueCatalogTableStorageDescriptorColumnsList; _f = JSII_RTTI_SYMBOL_1; DataAwsGlueCatalogTableStorageDescriptorColumnsList[_f] = { fqn: "@cdktf/provider-aws.dataAwsGlueCatalogTable.DataAwsGlueCatalogTableStorageDescriptorColumnsList", version: "21.22.1" }; function dataAwsGlueCatalogTableStorageDescriptorSchemaReferenceSchemaIdToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } function dataAwsGlueCatalogTableStorageDescriptorSchemaReferenceSchemaIdToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } class DataAwsGlueCatalogTableStorageDescriptorSchemaReferenceSchemaIdOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // registry_name - computed: true, optional: false, required: false get registryName() { return this.getStringAttribute('registry_name'); } // schema_arn - computed: true, optional: false, required: false get schemaArn() { return this.getStringAttribute('schema_arn'); } // schema_name - computed: true, optional: false, required: false get schemaName() { return this.getStringAttribute('schema_name'); } } exports.DataAwsGlueCatalogTableStorageDescriptorSchemaReferenceSchemaIdOutputReference = DataAwsGlueCatalogTableStorageDescriptorSchemaReferenceSchemaIdOutputReference; _g = JSII_RTTI_SYMBOL_1; DataAwsGlueCatalogTableStorageDescriptorSchemaReferenceSchemaIdOutputReference[_g] = { fqn: "@cdktf/provider-aws.dataAwsGlueCatalogTable.DataAwsGlueCatalogTableStorageDescriptorSchemaReferenceSchemaIdOutputReference", version: "21.22.1" }; class DataAwsGlueCatalogTableStorageDescriptorSchemaReferenceSchemaIdList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAwsGlueCatalogTableStorageDescriptorSchemaReferenceSchemaIdOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsGlueCatalogTableStorageDescriptorSchemaReferenceSchemaIdList = DataAwsGlueCatalogTableStorageDescriptorSchemaReferenceSchemaIdList; _h = JSII_RTTI_SYMBOL_1; DataAwsGlueCatalogTableStorageDescriptorSchemaReferenceSchemaIdList[_h] = { fqn: "@cdktf/provider-aws.dataAwsGlueCatalogTable.DataAwsGlueCatalogTableStorageDescriptorSchemaReferenceSchemaIdList", version: "21.22.1" }; function dataAwsGlueCatalogTableStorageDescriptorSchemaReferenceToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } function dataAwsGlueCatalogTableStorageDescriptorSchemaReferenceToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } class DataAwsGlueCatalogTableStorageDescriptorSchemaReferenceOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; // schema_id - computed: true, optional: false, required: false this._schemaId = new DataAwsGlueCatalogTableStorageDescriptorSchemaReferenceSchemaIdList(this, "schema_id", false); } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } get schemaId() { return this._schemaId; } // schema_version_id - computed: true, optional: false, required: false get schemaVersionId() { return this.getStringAttribute('schema_version_id'); } // schema_version_number - computed: true, optional: false, required: false get schemaVersionNumber() { return this.getNumberAttribute('schema_version_number'); } } exports.DataAwsGlueCatalogTableStorageDescriptorSchemaReferenceOutputReference = DataAwsGlueCatalogTableStorageDescriptorSchemaReferenceOutputReference; _j = JSII_RTTI_SYMBOL_1; DataAwsGlueCatalogTableStorageDescriptorSchemaReferenceOutputReference[_j] = { fqn: "@cdktf/provider-aws.dataAwsGlueCatalogTable.DataAwsGlueCatalogTableStorageDescriptorSchemaReferenceOutputReference", version: "21.22.1" }; class DataAwsGlueCatalogTableStorageDescriptorSchemaReferenceList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAwsGlueCatalogTableStorageDescriptorSchemaReferenceOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsGlueCatalogTableStorageDescriptorSchemaReferenceList = DataAwsGlueCatalogTableStorageDescriptorSchemaReferenceList; _k = JSII_RTTI_SYMBOL_1; DataAwsGlueCatalogTableStorageDescriptorSchemaReferenceList[_k] = { fqn: "@cdktf/provider-aws.dataAwsGlueCatalogTable.DataAwsGlueCatalogTableStorageDescriptorSchemaReferenceList", version: "21.22.1" }; function dataAwsGlueCatalogTableStorageDescriptorSerDeInfoToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } function dataAwsGlueCatalogTableStorageDescriptorSerDeInfoToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } class DataAwsGlueCatalogTableStorageDescriptorSerDeInfoOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; // parameters - computed: true, optional: false, required: false this._parameters = new cdktf.StringMap(this, "parameters"); } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // name - computed: true, optional: false, required: false get name() { return this.getStringAttribute('name'); } get parameters() { return this._parameters; } // serialization_library - computed: true, optional: false, required: false get serializationLibrary() { return this.getStringAttribute('serialization_library'); } } exports.DataAwsGlueCatalogTableStorageDescriptorSerDeInfoOutputReference = DataAwsGlueCatalogTableStorageDescriptorSerDeInfoOutputReference; _l = JSII_RTTI_SYMBOL_1; DataAwsGlueCatalogTableStorageDescriptorSerDeInfoOutputReference[_l] = { fqn: "@cdktf/provider-aws.dataAwsGlueCatalogTable.DataAwsGlueCatalogTableStorageDescriptorSerDeInfoOutputReference", version: "21.22.1" }; class DataAwsGlueCatalogTableStorageDescriptorSerDeInfoList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAwsGlueCatalogTableStorageDescriptorSerDeInfoOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsGlueCatalogTableStorageDescriptorSerDeInfoList = DataAwsGlueCatalogTableStorageDescriptorSerDeInfoList; _m = JSII_RTTI_SYMBOL_1; DataAwsGlueCatalogTableStorageDescriptorSerDeInfoList[_m] = { fqn: "@cdktf/provider-aws.dataAwsGlueCatalogTable.DataAwsGlueCatalogTableStorageDescriptorSerDeInfoList", version: "21.22.1" }; function dataAwsGlueCatalogTableStorageDescriptorSkewedInfoToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } function dataAwsGlueCatalogTableStorageDescriptorSkewedInfoToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } class DataAwsGlueCatalogTableStorageDescriptorSkewedInfoOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; // skewed_column_value_location_maps - computed: true, optional: false, required: false this._skewedColumnValueLocationMaps = new cdktf.StringMap(this, "skewed_column_value_location_maps"); } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // skewed_column_names - computed: true, optional: false, required: false get skewedColumnNames() { return this.getListAttribute('skewed_column_names'); } get skewedColumnValueLocationMaps() { return this._skewedColumnValueLocationMaps; } // skewed_column_values - computed: true, optional: false, required: false get skewedColumnValues() { return this.getListAttribute('skewed_column_values'); } } exports.DataAwsGlueCatalogTableStorageDescriptorSkewedInfoOutputReference = DataAwsGlueCatalogTableStorageDescriptorSkewedInfoOutputReference; _o = JSII_RTTI_SYMBOL_1; DataAwsGlueCatalogTableStorageDescriptorSkewedInfoOutputReference[_o] = { fqn: "@cdktf/provider-aws.dataAwsGlueCatalogTable.DataAwsGlueCatalogTableStorageDescriptorSkewedInfoOutputReference", version: "21.22.1" }; class DataAwsGlueCatalogTableStorageDescriptorSkewedInfoList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAwsGlueCatalogTableStorageDescriptorSkewedInfoOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsGlueCatalogTableStorageDescriptorSkewedInfoList = DataAwsGlueCatalogTableStorageDescriptorSkewedInfoList; _p = JSII_RTTI_SYMBOL_1; DataAwsGlueCatalogTableStorageDescriptorSkewedInfoList[_p] = { fqn: "@cdktf/provider-aws.dataAwsGlueCatalogTable.DataAwsGlueCatalogTableStorageDescriptorSkewedInfoList", version: "21.22.1" }; function dataAwsGlueCatalogTableStorageDescriptorSortColumnsToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } function dataAwsGlueCatalogTableStorageDescriptorSortColumnsToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } class DataAwsGlueCatalogTableStorageDescriptorSortColumnsOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // column - computed: true, optional: false, required: false get column() { return this.getStringAttribute('column'); } // sort_order - computed: true, optional: false, required: false get sortOrder() { return this.getNumberAttribute('sort_order'); } } exports.DataAwsGlueCatalogTableStorageDescriptorSortColumnsOutputReference = DataAwsGlueCatalogTableStorageDescriptorSortColumnsOutputReference; _q = JSII_RTTI_SYMBOL_1; DataAwsGlueCatalogTableStorageDescriptorSortColumnsOutputReference[_q] = { fqn: "@cdktf/provider-aws.dataAwsGlueCatalogTable.DataAwsGlueCatalogTableStorageDescriptorSortColumnsOutputReference", version: "21.22.1" }; class DataAwsGlueCatalogTableStorageDescriptorSortColumnsList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAwsGlueCatalogTableStorageDescriptorSortColumnsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsGlueCatalogTableStorageDescriptorSortColumnsList = DataAwsGlueCatalogTableStorageDescriptorSortColumnsList; _r = JSII_RTTI_SYMBOL_1; DataAwsGlueCatalogTableStorageDescriptorSortColumnsList[_r] = { fqn: "@cdktf/provider-aws.dataAwsGlueCatalogTable.DataAwsGlueCatalogTableStorageDescriptorSortColumnsList", version: "21.22.1" }; function dataAwsGlueCatalogTableStorageDescriptorToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } function dataAwsGlueCatalogTableStorageDescriptorToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } class DataAwsGlueCatalogTableStorageDescriptorOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; // columns - computed: true, optional: false, required: false this._columns = new DataAwsGlueCatalogTableStorageDescriptorColumnsList(this, "columns", false); // parameters - computed: true, optional: false, required: false this._parameters = new cdktf.StringMap(this, "parameters"); // schema_reference - computed: true, optional: false, required: false this._schemaReference = new DataAwsGlueCatalogTableStorageDescriptorSchemaReferenceList(this, "schema_reference", false); // ser_de_info - computed: true, optional: false, required: false this._serDeInfo = new DataAwsGlueCatalogTableStorageDescriptorSerDeInfoList(this, "ser_de_info", false); // skewed_info - computed: true, optional: false, required: false this._skewedInfo = new DataAwsGlueCatalogTableStorageDescriptorSkewedInfoList(this, "skewed_info", false); // sort_columns - computed: true, optional: false, required: false this._sortColumns = new DataAwsGlueCatalogTableStorageDescriptorSortColumnsList(this, "sort_columns", false); } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // additional_locations - computed: true, optional: false, required: false get additionalLocations() { return this.getListAttribute('additional_locations'); } // bucket_columns - computed: true, optional: false, required: false get bucketColumns() { return this.getListAttribute('bucket_columns'); } get columns() { return this._columns; } // compressed - computed: true, optional: false, required: false get compressed() { return this.getBooleanAttribute('compressed'); } // input_format - computed: true, optional: false, required: false get inputFormat() { return this.getStringAttribute('input_format'); } // location - computed: true, optional: false, required: false get location() { return this.getStringAttribute('location'); } // number_of_buckets - computed: true, optional: false, required: false get numberOfBuckets() { return this.getNumberAttribute('number_of_buckets'); } // output_format - computed: true, optional: false, required: false get outputFormat() { return this.getStringAttribute('output_format'); } get parameters() { return this._parameters; } get schemaReference() { return this._schemaReference; } get serDeInfo() { return this._serDeInfo; } get skewedInfo() { return this._skewedInfo; } get sortColumns() { return this._sortColumns; } // stored_as_sub_directories - computed: true, optional: false, required: false get storedAsSubDirectories() { return this.getBooleanAttribute('stored_as_sub_directories'); } } exports.DataAwsGlueCatalogTableStorageDescriptorOutputReference = DataAwsGlueCatalogTableStorageDescriptorOutputReference; _s = JSII_RTTI_SYMBOL_1; DataAwsGlueCatalogTableStorageDescriptorOutputReference[_s] = { fqn: "@cdktf/provider-aws.dataAwsGlueCatalogTable.DataAwsGlueCatalogTableStorageDescriptorOutputReference", version: "21.22.1" }; class DataAwsGlueCatalogTableStorageDescriptorList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAwsGlueCatalogTableStorageDescriptorOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsGlueCatalogTableStorageDescriptorList = DataAwsGlueCatalogTableStorageDescriptorList; _t = JSII_RTTI_SYMBOL_1; DataAwsGlueCatalogTableStorageDescriptorList[_t] = { fqn: "@cdktf/provider-aws.dataAwsGlueCatalogTable.DataAwsGlueCatalogTableStorageDescriptorList", version: "21.22.1" }; function dataAwsGlueCatalogTableTargetTableToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } function dataAwsGlueCatalogTableTargetTableToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } class DataAwsGlueCatalogTableTargetTableOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // catalog_id - computed: true, optional: false, required: false get catalogId() { return this.getStringAttribute('catalog_id'); } // database_name - computed: true, optional: false, required: false get databaseName() { return this.getStringAttribute('database_name'); } // name - computed: true, optional: false, required: false get name() { return this.getStringAttribute('name'); } // region - computed: true, optional: false, required: false get region() { return this.getStringAttribute('region'); } } exports.DataAwsGlueCatalogTableTargetTableOutputReference = DataAwsGlueCatalogTableTargetTableOutputReference; _u = JSII_RTTI_SYMBOL_1; DataAwsGlueCatalogTableTargetTableOutputReference[_u] = { fqn: "@cdktf/provider-aws.dataAwsGlueCatalogTable.DataAwsGlueCatalogTableTargetTableOutputReference", version: "21.22.1" }; class DataAwsGlueCatalogTableTargetTableList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAwsGlueCatalogTableTargetTableOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsGlueCatalogTableTargetTableList = DataAwsGlueCatalogTableTargetTableList; _v = JSII_RTTI_SYMBOL_1; DataAwsGlueCatalogTableTargetTableList[_v] = { fqn: "@cdktf/provider-aws.dataAwsGlueCatalogTable.DataAwsGlueCatalogTableTargetTableList", version: "21.22.1" }; /** * Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/data-sources/glue_catalog_table aws_glue_catalog_table} */ class DataAwsGlueCatalogTable extends cdktf.TerraformDataSource { // ============== // STATIC Methods // ============== /** * Generates CDKTF code for importing a DataAwsGlueCatalogTable resource upon running "cdktf plan <stack-name>" * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the DataAwsGlueCatalogTable to import * @param importFromId The id of the existing DataAwsGlueCatalogTable that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/data-sources/glue_catalog_table#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataAwsGlueCatalogTable to import is found */ static generateConfigForImport(scope, importToId, importFromId, provider) { return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "aws_glue_catalog_table", importId: importFromId, provider }); } // =========== // INITIALIZER // =========== /** * Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/data-sources/glue_catalog_table aws_glue_catalog_table} Data Source * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options DataAwsGlueCatalogTableConfig */ constructor(scope, id, config) { super(scope, id, { terraformResourceType: 'aws_glue_catalog_table', terraformGeneratorMetadata: { providerName: 'aws', providerVersion: '6.25.0', providerVersionConstraint: '~> 6.0' }, provider: config.provider, dependsOn: config.dependsOn, count: config.count, lifecycle: config.lifecycle, provisioners: config.provisioners, connection: config.connection, forEach: config.forEach }); // parameters - computed: true, optional: false, required: false this._parameters = new cdktf.StringMap(this, "parameters"); // partition_index - computed: true, optional: false, required: false this._partitionIndex = new DataAwsGlueCatalogTablePartitionIndexList(this, "partition_index", false); // partition_keys - computed: true, optional: false, required: false this._partitionKeys = new DataAwsGlueCatalogTablePartitionKeysList(this, "partition_keys", false); // storage_descriptor - computed: true, optional: false, required: false this._storageDescriptor = new DataAwsGlueCatalogTableStorageDescriptorList(this, "storage_descriptor", false); // target_table - computed: true, optional: false, required: false this._targetTable = new DataAwsGlueCatalogTableTargetTableList(this, "target_table", false); this._catalogId = config.catalogId; this._databaseName = config.databaseName; this._id = c