@cdktf/provider-aws
Version:
Prebuilt aws Provider for Terraform CDK (cdktf)
918 lines • 173 kB
JavaScript
"use strict";
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DataAwsKendraIndex = exports.DataAwsKendraIndexUserTokenConfigurationsList = exports.DataAwsKendraIndexUserTokenConfigurationsOutputReference = exports.DataAwsKendraIndexUserTokenConfigurationsJwtTokenTypeConfigurationList = exports.DataAwsKendraIndexUserTokenConfigurationsJwtTokenTypeConfigurationOutputReference = exports.DataAwsKendraIndexUserTokenConfigurationsJsonTokenTypeConfigurationList = exports.DataAwsKendraIndexUserTokenConfigurationsJsonTokenTypeConfigurationOutputReference = exports.DataAwsKendraIndexUserGroupResolutionConfigurationList = exports.DataAwsKendraIndexUserGroupResolutionConfigurationOutputReference = exports.DataAwsKendraIndexServerSideEncryptionConfigurationList = exports.DataAwsKendraIndexServerSideEncryptionConfigurationOutputReference = exports.DataAwsKendraIndexIndexStatisticsList = exports.DataAwsKendraIndexIndexStatisticsOutputReference = exports.DataAwsKendraIndexIndexStatisticsTextDocumentStatisticsList = exports.DataAwsKendraIndexIndexStatisticsTextDocumentStatisticsOutputReference = exports.DataAwsKendraIndexIndexStatisticsFaqStatisticsList = exports.DataAwsKendraIndexIndexStatisticsFaqStatisticsOutputReference = exports.DataAwsKendraIndexDocumentMetadataConfigurationUpdatesList = exports.DataAwsKendraIndexDocumentMetadataConfigurationUpdatesOutputReference = exports.DataAwsKendraIndexDocumentMetadataConfigurationUpdatesSearchList = exports.DataAwsKendraIndexDocumentMetadataConfigurationUpdatesSearchOutputReference = exports.DataAwsKendraIndexDocumentMetadataConfigurationUpdatesRelevanceList = exports.DataAwsKendraIndexDocumentMetadataConfigurationUpdatesRelevanceOutputReference = exports.DataAwsKendraIndexCapacityUnitsList = exports.DataAwsKendraIndexCapacityUnitsOutputReference = void 0;
exports.dataAwsKendraIndexCapacityUnitsToTerraform = dataAwsKendraIndexCapacityUnitsToTerraform;
exports.dataAwsKendraIndexCapacityUnitsToHclTerraform = dataAwsKendraIndexCapacityUnitsToHclTerraform;
exports.dataAwsKendraIndexDocumentMetadataConfigurationUpdatesRelevanceToTerraform = dataAwsKendraIndexDocumentMetadataConfigurationUpdatesRelevanceToTerraform;
exports.dataAwsKendraIndexDocumentMetadataConfigurationUpdatesRelevanceToHclTerraform = dataAwsKendraIndexDocumentMetadataConfigurationUpdatesRelevanceToHclTerraform;
exports.dataAwsKendraIndexDocumentMetadataConfigurationUpdatesSearchToTerraform = dataAwsKendraIndexDocumentMetadataConfigurationUpdatesSearchToTerraform;
exports.dataAwsKendraIndexDocumentMetadataConfigurationUpdatesSearchToHclTerraform = dataAwsKendraIndexDocumentMetadataConfigurationUpdatesSearchToHclTerraform;
exports.dataAwsKendraIndexDocumentMetadataConfigurationUpdatesToTerraform = dataAwsKendraIndexDocumentMetadataConfigurationUpdatesToTerraform;
exports.dataAwsKendraIndexDocumentMetadataConfigurationUpdatesToHclTerraform = dataAwsKendraIndexDocumentMetadataConfigurationUpdatesToHclTerraform;
exports.dataAwsKendraIndexIndexStatisticsFaqStatisticsToTerraform = dataAwsKendraIndexIndexStatisticsFaqStatisticsToTerraform;
exports.dataAwsKendraIndexIndexStatisticsFaqStatisticsToHclTerraform = dataAwsKendraIndexIndexStatisticsFaqStatisticsToHclTerraform;
exports.dataAwsKendraIndexIndexStatisticsTextDocumentStatisticsToTerraform = dataAwsKendraIndexIndexStatisticsTextDocumentStatisticsToTerraform;
exports.dataAwsKendraIndexIndexStatisticsTextDocumentStatisticsToHclTerraform = dataAwsKendraIndexIndexStatisticsTextDocumentStatisticsToHclTerraform;
exports.dataAwsKendraIndexIndexStatisticsToTerraform = dataAwsKendraIndexIndexStatisticsToTerraform;
exports.dataAwsKendraIndexIndexStatisticsToHclTerraform = dataAwsKendraIndexIndexStatisticsToHclTerraform;
exports.dataAwsKendraIndexServerSideEncryptionConfigurationToTerraform = dataAwsKendraIndexServerSideEncryptionConfigurationToTerraform;
exports.dataAwsKendraIndexServerSideEncryptionConfigurationToHclTerraform = dataAwsKendraIndexServerSideEncryptionConfigurationToHclTerraform;
exports.dataAwsKendraIndexUserGroupResolutionConfigurationToTerraform = dataAwsKendraIndexUserGroupResolutionConfigurationToTerraform;
exports.dataAwsKendraIndexUserGroupResolutionConfigurationToHclTerraform = dataAwsKendraIndexUserGroupResolutionConfigurationToHclTerraform;
exports.dataAwsKendraIndexUserTokenConfigurationsJsonTokenTypeConfigurationToTerraform = dataAwsKendraIndexUserTokenConfigurationsJsonTokenTypeConfigurationToTerraform;
exports.dataAwsKendraIndexUserTokenConfigurationsJsonTokenTypeConfigurationToHclTerraform = dataAwsKendraIndexUserTokenConfigurationsJsonTokenTypeConfigurationToHclTerraform;
exports.dataAwsKendraIndexUserTokenConfigurationsJwtTokenTypeConfigurationToTerraform = dataAwsKendraIndexUserTokenConfigurationsJwtTokenTypeConfigurationToTerraform;
exports.dataAwsKendraIndexUserTokenConfigurationsJwtTokenTypeConfigurationToHclTerraform = dataAwsKendraIndexUserTokenConfigurationsJwtTokenTypeConfigurationToHclTerraform;
exports.dataAwsKendraIndexUserTokenConfigurationsToTerraform = dataAwsKendraIndexUserTokenConfigurationsToTerraform;
exports.dataAwsKendraIndexUserTokenConfigurationsToHclTerraform = dataAwsKendraIndexUserTokenConfigurationsToHclTerraform;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function dataAwsKendraIndexCapacityUnitsToTerraform(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 dataAwsKendraIndexCapacityUnitsToHclTerraform(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 DataAwsKendraIndexCapacityUnitsOutputReference 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;
}
}
// query_capacity_units - computed: true, optional: false, required: false
get queryCapacityUnits() {
return this.getNumberAttribute('query_capacity_units');
}
// storage_capacity_units - computed: true, optional: false, required: false
get storageCapacityUnits() {
return this.getNumberAttribute('storage_capacity_units');
}
}
exports.DataAwsKendraIndexCapacityUnitsOutputReference = DataAwsKendraIndexCapacityUnitsOutputReference;
_a = JSII_RTTI_SYMBOL_1;
DataAwsKendraIndexCapacityUnitsOutputReference[_a] = { fqn: "@cdktf/provider-aws.dataAwsKendraIndex.DataAwsKendraIndexCapacityUnitsOutputReference", version: "21.22.1" };
class DataAwsKendraIndexCapacityUnitsList 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 DataAwsKendraIndexCapacityUnitsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAwsKendraIndexCapacityUnitsList = DataAwsKendraIndexCapacityUnitsList;
_b = JSII_RTTI_SYMBOL_1;
DataAwsKendraIndexCapacityUnitsList[_b] = { fqn: "@cdktf/provider-aws.dataAwsKendraIndex.DataAwsKendraIndexCapacityUnitsList", version: "21.22.1" };
function dataAwsKendraIndexDocumentMetadataConfigurationUpdatesRelevanceToTerraform(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 dataAwsKendraIndexDocumentMetadataConfigurationUpdatesRelevanceToHclTerraform(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 DataAwsKendraIndexDocumentMetadataConfigurationUpdatesRelevanceOutputReference 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;
// values_importance_map - computed: true, optional: false, required: false
this._valuesImportanceMap = new cdktf.NumberMap(this, "values_importance_map");
}
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;
}
}
// duration - computed: true, optional: false, required: false
get duration() {
return this.getStringAttribute('duration');
}
// freshness - computed: true, optional: false, required: false
get freshness() {
return this.getBooleanAttribute('freshness');
}
// importance - computed: true, optional: false, required: false
get importance() {
return this.getNumberAttribute('importance');
}
// rank_order - computed: true, optional: false, required: false
get rankOrder() {
return this.getStringAttribute('rank_order');
}
get valuesImportanceMap() {
return this._valuesImportanceMap;
}
}
exports.DataAwsKendraIndexDocumentMetadataConfigurationUpdatesRelevanceOutputReference = DataAwsKendraIndexDocumentMetadataConfigurationUpdatesRelevanceOutputReference;
_c = JSII_RTTI_SYMBOL_1;
DataAwsKendraIndexDocumentMetadataConfigurationUpdatesRelevanceOutputReference[_c] = { fqn: "@cdktf/provider-aws.dataAwsKendraIndex.DataAwsKendraIndexDocumentMetadataConfigurationUpdatesRelevanceOutputReference", version: "21.22.1" };
class DataAwsKendraIndexDocumentMetadataConfigurationUpdatesRelevanceList 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 DataAwsKendraIndexDocumentMetadataConfigurationUpdatesRelevanceOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAwsKendraIndexDocumentMetadataConfigurationUpdatesRelevanceList = DataAwsKendraIndexDocumentMetadataConfigurationUpdatesRelevanceList;
_d = JSII_RTTI_SYMBOL_1;
DataAwsKendraIndexDocumentMetadataConfigurationUpdatesRelevanceList[_d] = { fqn: "@cdktf/provider-aws.dataAwsKendraIndex.DataAwsKendraIndexDocumentMetadataConfigurationUpdatesRelevanceList", version: "21.22.1" };
function dataAwsKendraIndexDocumentMetadataConfigurationUpdatesSearchToTerraform(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 dataAwsKendraIndexDocumentMetadataConfigurationUpdatesSearchToHclTerraform(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 DataAwsKendraIndexDocumentMetadataConfigurationUpdatesSearchOutputReference 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;
}
}
// displayable - computed: true, optional: false, required: false
get displayable() {
return this.getBooleanAttribute('displayable');
}
// facetable - computed: true, optional: false, required: false
get facetable() {
return this.getBooleanAttribute('facetable');
}
// searchable - computed: true, optional: false, required: false
get searchable() {
return this.getBooleanAttribute('searchable');
}
// sortable - computed: true, optional: false, required: false
get sortable() {
return this.getBooleanAttribute('sortable');
}
}
exports.DataAwsKendraIndexDocumentMetadataConfigurationUpdatesSearchOutputReference = DataAwsKendraIndexDocumentMetadataConfigurationUpdatesSearchOutputReference;
_e = JSII_RTTI_SYMBOL_1;
DataAwsKendraIndexDocumentMetadataConfigurationUpdatesSearchOutputReference[_e] = { fqn: "@cdktf/provider-aws.dataAwsKendraIndex.DataAwsKendraIndexDocumentMetadataConfigurationUpdatesSearchOutputReference", version: "21.22.1" };
class DataAwsKendraIndexDocumentMetadataConfigurationUpdatesSearchList 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 DataAwsKendraIndexDocumentMetadataConfigurationUpdatesSearchOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAwsKendraIndexDocumentMetadataConfigurationUpdatesSearchList = DataAwsKendraIndexDocumentMetadataConfigurationUpdatesSearchList;
_f = JSII_RTTI_SYMBOL_1;
DataAwsKendraIndexDocumentMetadataConfigurationUpdatesSearchList[_f] = { fqn: "@cdktf/provider-aws.dataAwsKendraIndex.DataAwsKendraIndexDocumentMetadataConfigurationUpdatesSearchList", version: "21.22.1" };
function dataAwsKendraIndexDocumentMetadataConfigurationUpdatesToTerraform(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 dataAwsKendraIndexDocumentMetadataConfigurationUpdatesToHclTerraform(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 DataAwsKendraIndexDocumentMetadataConfigurationUpdatesOutputReference 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;
// relevance - computed: true, optional: false, required: false
this._relevance = new DataAwsKendraIndexDocumentMetadataConfigurationUpdatesRelevanceList(this, "relevance", false);
// search - computed: true, optional: false, required: false
this._search = new DataAwsKendraIndexDocumentMetadataConfigurationUpdatesSearchList(this, "search", 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;
}
}
// name - computed: true, optional: false, required: false
get name() {
return this.getStringAttribute('name');
}
get relevance() {
return this._relevance;
}
get search() {
return this._search;
}
// type - computed: true, optional: false, required: false
get type() {
return this.getStringAttribute('type');
}
}
exports.DataAwsKendraIndexDocumentMetadataConfigurationUpdatesOutputReference = DataAwsKendraIndexDocumentMetadataConfigurationUpdatesOutputReference;
_g = JSII_RTTI_SYMBOL_1;
DataAwsKendraIndexDocumentMetadataConfigurationUpdatesOutputReference[_g] = { fqn: "@cdktf/provider-aws.dataAwsKendraIndex.DataAwsKendraIndexDocumentMetadataConfigurationUpdatesOutputReference", version: "21.22.1" };
class DataAwsKendraIndexDocumentMetadataConfigurationUpdatesList 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 DataAwsKendraIndexDocumentMetadataConfigurationUpdatesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAwsKendraIndexDocumentMetadataConfigurationUpdatesList = DataAwsKendraIndexDocumentMetadataConfigurationUpdatesList;
_h = JSII_RTTI_SYMBOL_1;
DataAwsKendraIndexDocumentMetadataConfigurationUpdatesList[_h] = { fqn: "@cdktf/provider-aws.dataAwsKendraIndex.DataAwsKendraIndexDocumentMetadataConfigurationUpdatesList", version: "21.22.1" };
function dataAwsKendraIndexIndexStatisticsFaqStatisticsToTerraform(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 dataAwsKendraIndexIndexStatisticsFaqStatisticsToHclTerraform(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 DataAwsKendraIndexIndexStatisticsFaqStatisticsOutputReference 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;
}
}
// indexed_question_answers_count - computed: true, optional: false, required: false
get indexedQuestionAnswersCount() {
return this.getNumberAttribute('indexed_question_answers_count');
}
}
exports.DataAwsKendraIndexIndexStatisticsFaqStatisticsOutputReference = DataAwsKendraIndexIndexStatisticsFaqStatisticsOutputReference;
_j = JSII_RTTI_SYMBOL_1;
DataAwsKendraIndexIndexStatisticsFaqStatisticsOutputReference[_j] = { fqn: "@cdktf/provider-aws.dataAwsKendraIndex.DataAwsKendraIndexIndexStatisticsFaqStatisticsOutputReference", version: "21.22.1" };
class DataAwsKendraIndexIndexStatisticsFaqStatisticsList 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 DataAwsKendraIndexIndexStatisticsFaqStatisticsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAwsKendraIndexIndexStatisticsFaqStatisticsList = DataAwsKendraIndexIndexStatisticsFaqStatisticsList;
_k = JSII_RTTI_SYMBOL_1;
DataAwsKendraIndexIndexStatisticsFaqStatisticsList[_k] = { fqn: "@cdktf/provider-aws.dataAwsKendraIndex.DataAwsKendraIndexIndexStatisticsFaqStatisticsList", version: "21.22.1" };
function dataAwsKendraIndexIndexStatisticsTextDocumentStatisticsToTerraform(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 dataAwsKendraIndexIndexStatisticsTextDocumentStatisticsToHclTerraform(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 DataAwsKendraIndexIndexStatisticsTextDocumentStatisticsOutputReference 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;
}
}
// indexed_text_bytes - computed: true, optional: false, required: false
get indexedTextBytes() {
return this.getNumberAttribute('indexed_text_bytes');
}
// indexed_text_documents_count - computed: true, optional: false, required: false
get indexedTextDocumentsCount() {
return this.getNumberAttribute('indexed_text_documents_count');
}
}
exports.DataAwsKendraIndexIndexStatisticsTextDocumentStatisticsOutputReference = DataAwsKendraIndexIndexStatisticsTextDocumentStatisticsOutputReference;
_l = JSII_RTTI_SYMBOL_1;
DataAwsKendraIndexIndexStatisticsTextDocumentStatisticsOutputReference[_l] = { fqn: "@cdktf/provider-aws.dataAwsKendraIndex.DataAwsKendraIndexIndexStatisticsTextDocumentStatisticsOutputReference", version: "21.22.1" };
class DataAwsKendraIndexIndexStatisticsTextDocumentStatisticsList 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 DataAwsKendraIndexIndexStatisticsTextDocumentStatisticsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAwsKendraIndexIndexStatisticsTextDocumentStatisticsList = DataAwsKendraIndexIndexStatisticsTextDocumentStatisticsList;
_m = JSII_RTTI_SYMBOL_1;
DataAwsKendraIndexIndexStatisticsTextDocumentStatisticsList[_m] = { fqn: "@cdktf/provider-aws.dataAwsKendraIndex.DataAwsKendraIndexIndexStatisticsTextDocumentStatisticsList", version: "21.22.1" };
function dataAwsKendraIndexIndexStatisticsToTerraform(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 dataAwsKendraIndexIndexStatisticsToHclTerraform(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 DataAwsKendraIndexIndexStatisticsOutputReference 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;
// faq_statistics - computed: true, optional: false, required: false
this._faqStatistics = new DataAwsKendraIndexIndexStatisticsFaqStatisticsList(this, "faq_statistics", false);
// text_document_statistics - computed: true, optional: false, required: false
this._textDocumentStatistics = new DataAwsKendraIndexIndexStatisticsTextDocumentStatisticsList(this, "text_document_statistics", 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 faqStatistics() {
return this._faqStatistics;
}
get textDocumentStatistics() {
return this._textDocumentStatistics;
}
}
exports.DataAwsKendraIndexIndexStatisticsOutputReference = DataAwsKendraIndexIndexStatisticsOutputReference;
_o = JSII_RTTI_SYMBOL_1;
DataAwsKendraIndexIndexStatisticsOutputReference[_o] = { fqn: "@cdktf/provider-aws.dataAwsKendraIndex.DataAwsKendraIndexIndexStatisticsOutputReference", version: "21.22.1" };
class DataAwsKendraIndexIndexStatisticsList 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 DataAwsKendraIndexIndexStatisticsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAwsKendraIndexIndexStatisticsList = DataAwsKendraIndexIndexStatisticsList;
_p = JSII_RTTI_SYMBOL_1;
DataAwsKendraIndexIndexStatisticsList[_p] = { fqn: "@cdktf/provider-aws.dataAwsKendraIndex.DataAwsKendraIndexIndexStatisticsList", version: "21.22.1" };
function dataAwsKendraIndexServerSideEncryptionConfigurationToTerraform(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 dataAwsKendraIndexServerSideEncryptionConfigurationToHclTerraform(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 DataAwsKendraIndexServerSideEncryptionConfigurationOutputReference 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;
}
}
// kms_key_id - computed: true, optional: false, required: false
get kmsKeyId() {
return this.getStringAttribute('kms_key_id');
}
}
exports.DataAwsKendraIndexServerSideEncryptionConfigurationOutputReference = DataAwsKendraIndexServerSideEncryptionConfigurationOutputReference;
_q = JSII_RTTI_SYMBOL_1;
DataAwsKendraIndexServerSideEncryptionConfigurationOutputReference[_q] = { fqn: "@cdktf/provider-aws.dataAwsKendraIndex.DataAwsKendraIndexServerSideEncryptionConfigurationOutputReference", version: "21.22.1" };
class DataAwsKendraIndexServerSideEncryptionConfigurationList 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 DataAwsKendraIndexServerSideEncryptionConfigurationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAwsKendraIndexServerSideEncryptionConfigurationList = DataAwsKendraIndexServerSideEncryptionConfigurationList;
_r = JSII_RTTI_SYMBOL_1;
DataAwsKendraIndexServerSideEncryptionConfigurationList[_r] = { fqn: "@cdktf/provider-aws.dataAwsKendraIndex.DataAwsKendraIndexServerSideEncryptionConfigurationList", version: "21.22.1" };
function dataAwsKendraIndexUserGroupResolutionConfigurationToTerraform(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 dataAwsKendraIndexUserGroupResolutionConfigurationToHclTerraform(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 DataAwsKendraIndexUserGroupResolutionConfigurationOutputReference 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;
}
}
// user_group_resolution_mode - computed: true, optional: false, required: false
get userGroupResolutionMode() {
return this.getStringAttribute('user_group_resolution_mode');
}
}
exports.DataAwsKendraIndexUserGroupResolutionConfigurationOutputReference = DataAwsKendraIndexUserGroupResolutionConfigurationOutputReference;
_s = JSII_RTTI_SYMBOL_1;
DataAwsKendraIndexUserGroupResolutionConfigurationOutputReference[_s] = { fqn: "@cdktf/provider-aws.dataAwsKendraIndex.DataAwsKendraIndexUserGroupResolutionConfigurationOutputReference", version: "21.22.1" };
class DataAwsKendraIndexUserGroupResolutionConfigurationList 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 DataAwsKendraIndexUserGroupResolutionConfigurationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAwsKendraIndexUserGroupResolutionConfigurationList = DataAwsKendraIndexUserGroupResolutionConfigurationList;
_t = JSII_RTTI_SYMBOL_1;
DataAwsKendraIndexUserGroupResolutionConfigurationList[_t] = { fqn: "@cdktf/provider-aws.dataAwsKendraIndex.DataAwsKendraIndexUserGroupResolutionConfigurationList", version: "21.22.1" };
function dataAwsKendraIndexUserTokenConfigurationsJsonTokenTypeConfigurationToTerraform(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 dataAwsKendraIndexUserTokenConfigurationsJsonTokenTypeConfigurationToHclTerraform(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 DataAwsKendraIndexUserTokenConfigurationsJsonTokenTypeConfigurationOutputReference 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;
}
}
// group_attribute_field - computed: true, optional: false, required: false
get groupAttributeField() {
return this.getStringAttribute('group_attribute_field');
}
// user_name_attribute_field - computed: true, optional: false, required: false
get userNameAttributeField() {
return this.getStringAttribute('user_name_attribute_field');
}
}
exports.DataAwsKendraIndexUserTokenConfigurationsJsonTokenTypeConfigurationOutputReference = DataAwsKendraIndexUserTokenConfigurationsJsonTokenTypeConfigurationOutputReference;
_u = JSII_RTTI_SYMBOL_1;
DataAwsKendraIndexUserTokenConfigurationsJsonTokenTypeConfigurationOutputReference[_u] = { fqn: "@cdktf/provider-aws.dataAwsKendraIndex.DataAwsKendraIndexUserTokenConfigurationsJsonTokenTypeConfigurationOutputReference", version: "21.22.1" };
class DataAwsKendraIndexUserTokenConfigurationsJsonTokenTypeConfigurationList 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 DataAwsKendraIndexUserTokenConfigurationsJsonTokenTypeConfigurationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAwsKendraIndexUserTokenConfigurationsJsonTokenTypeConfigurationList = DataAwsKendraIndexUserTokenConfigurationsJsonTokenTypeConfigurationList;
_v = JSII_RTTI_SYMBOL_1;
DataAwsKendraIndexUserTokenConfigurationsJsonTokenTypeConfigurationList[_v] = { fqn: "@cdktf/provider-aws.dataAwsKendraIndex.DataAwsKendraIndexUserTokenConfigurationsJsonTokenTypeConfigurationList", version: "21.22.1" };
function dataAwsKendraIndexUserTokenConfigurationsJwtTokenTypeConfigurationToTerraform(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 dataAwsKendraIndexUserTokenConfigurationsJwtTokenTypeConfigurationToHclTerraform(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 DataAwsKendraIndexUserTokenConfigurationsJwtTokenTypeConfigurationOutputReference 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;
}
}
// claim_regex - computed: true, optional: false, required: false
get claimRegex() {
return this.getStringAttribute('claim_regex');
}
// group_attribute_field - computed: true, optional: false, required: false
get groupAttributeField() {
return this.getStringAttribute('group_attribute_field');
}
// issuer - computed: true, optional: false, required: false
get issuer() {
return this.getStringAttribute('issuer');
}
// key_location - computed: true, optional: false, required: false
get keyLocation() {
return this.getStringAttribute('key_location');
}
// secrets_manager_arn - computed: true, optional: false, required: false
get secretsManagerArn() {
return this.getStringAttribute('secrets_manager_arn');
}
// url - computed: true, optional: false, required: false
get url() {
return this.getStringAttribute('url');
}
// user_name_attribute_field - computed: true, optional: false, required: false
get userNameAttributeField() {
return this.getStringAttribute('user_name_attribute_field');
}
}
exports.DataAwsKendraIndexUserTokenConfigurationsJwtTokenTypeConfigurationOutputReference = DataAwsKendraIndexUserTokenConfigurationsJwtTokenTypeConfigurationOutputReference;
_w = JSII_RTTI_SYMBOL_1;
DataAwsKendraIndexUserTokenConfigurationsJwtTokenTypeConfigurationOutputReference[_w] = { fqn: "@cdktf/provider-aws.dataAwsKendraIndex.DataAwsKendraIndexUserTokenConfigurationsJwtTokenTypeConfigurationOutputReference", version: "21.22.1" };
class DataAwsKendraIndexUserTokenConfigurationsJwtTokenTypeConfigurationList 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 DataAwsKendraIndexUserTokenConfigurationsJwtTokenTypeConfigurationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAwsKendraIndexUserTokenConfigurationsJwtTokenTypeConfigurationList = DataAwsKendraIndexUserTokenConfigurationsJwtTokenTypeConfigurationList;
_x = JSII_RTTI_SYMBOL_1;
DataAwsKendraIndexUserTokenConfigurations