UNPKG

@cdktf/provider-aws

Version:

Prebuilt aws Provider for Terraform CDK (cdktf)

888 lines 201 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, _x, _y, _z, _0, _1, _2, _3, _4; Object.defineProperty(exports, "__esModule", { value: true }); exports.dataAwsElasticsearchDomainSnapshotOptionsToHclTerraform = exports.dataAwsElasticsearchDomainSnapshotOptionsToTerraform = exports.DataAwsElasticsearchDomainNodeToNodeEncryptionList = exports.DataAwsElasticsearchDomainNodeToNodeEncryptionOutputReference = exports.dataAwsElasticsearchDomainNodeToNodeEncryptionToHclTerraform = exports.dataAwsElasticsearchDomainNodeToNodeEncryptionToTerraform = exports.DataAwsElasticsearchDomainLogPublishingOptionsList = exports.DataAwsElasticsearchDomainLogPublishingOptionsOutputReference = exports.dataAwsElasticsearchDomainLogPublishingOptionsToHclTerraform = exports.dataAwsElasticsearchDomainLogPublishingOptionsToTerraform = exports.DataAwsElasticsearchDomainEncryptionAtRestList = exports.DataAwsElasticsearchDomainEncryptionAtRestOutputReference = exports.dataAwsElasticsearchDomainEncryptionAtRestToHclTerraform = exports.dataAwsElasticsearchDomainEncryptionAtRestToTerraform = exports.DataAwsElasticsearchDomainEbsOptionsList = exports.DataAwsElasticsearchDomainEbsOptionsOutputReference = exports.dataAwsElasticsearchDomainEbsOptionsToHclTerraform = exports.dataAwsElasticsearchDomainEbsOptionsToTerraform = exports.DataAwsElasticsearchDomainCognitoOptionsList = exports.DataAwsElasticsearchDomainCognitoOptionsOutputReference = exports.dataAwsElasticsearchDomainCognitoOptionsToHclTerraform = exports.dataAwsElasticsearchDomainCognitoOptionsToTerraform = exports.DataAwsElasticsearchDomainClusterConfigList = exports.DataAwsElasticsearchDomainClusterConfigOutputReference = exports.dataAwsElasticsearchDomainClusterConfigToHclTerraform = exports.dataAwsElasticsearchDomainClusterConfigToTerraform = exports.DataAwsElasticsearchDomainClusterConfigZoneAwarenessConfigList = exports.DataAwsElasticsearchDomainClusterConfigZoneAwarenessConfigOutputReference = exports.dataAwsElasticsearchDomainClusterConfigZoneAwarenessConfigToHclTerraform = exports.dataAwsElasticsearchDomainClusterConfigZoneAwarenessConfigToTerraform = exports.DataAwsElasticsearchDomainClusterConfigColdStorageOptionsList = exports.DataAwsElasticsearchDomainClusterConfigColdStorageOptionsOutputReference = exports.dataAwsElasticsearchDomainClusterConfigColdStorageOptionsToHclTerraform = exports.dataAwsElasticsearchDomainClusterConfigColdStorageOptionsToTerraform = exports.DataAwsElasticsearchDomainAutoTuneOptionsList = exports.DataAwsElasticsearchDomainAutoTuneOptionsOutputReference = exports.dataAwsElasticsearchDomainAutoTuneOptionsToHclTerraform = exports.dataAwsElasticsearchDomainAutoTuneOptionsToTerraform = exports.DataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleList = exports.DataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleOutputReference = exports.dataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleToHclTerraform = exports.dataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleToTerraform = exports.DataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleDurationList = exports.DataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleDurationOutputReference = exports.dataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleDurationToHclTerraform = exports.dataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleDurationToTerraform = exports.DataAwsElasticsearchDomainAdvancedSecurityOptionsList = exports.DataAwsElasticsearchDomainAdvancedSecurityOptionsOutputReference = exports.dataAwsElasticsearchDomainAdvancedSecurityOptionsToHclTerraform = exports.dataAwsElasticsearchDomainAdvancedSecurityOptionsToTerraform = void 0; exports.DataAwsElasticsearchDomain = exports.DataAwsElasticsearchDomainVpcOptionsList = exports.DataAwsElasticsearchDomainVpcOptionsOutputReference = exports.dataAwsElasticsearchDomainVpcOptionsToHclTerraform = exports.dataAwsElasticsearchDomainVpcOptionsToTerraform = exports.DataAwsElasticsearchDomainSnapshotOptionsList = exports.DataAwsElasticsearchDomainSnapshotOptionsOutputReference = void 0; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function dataAwsElasticsearchDomainAdvancedSecurityOptionsToTerraform(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 {}; } exports.dataAwsElasticsearchDomainAdvancedSecurityOptionsToTerraform = dataAwsElasticsearchDomainAdvancedSecurityOptionsToTerraform; function dataAwsElasticsearchDomainAdvancedSecurityOptionsToHclTerraform(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; } exports.dataAwsElasticsearchDomainAdvancedSecurityOptionsToHclTerraform = dataAwsElasticsearchDomainAdvancedSecurityOptionsToHclTerraform; class DataAwsElasticsearchDomainAdvancedSecurityOptionsOutputReference 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; } } // enabled - computed: true, optional: false, required: false get enabled() { return this.getBooleanAttribute('enabled'); } // internal_user_database_enabled - computed: true, optional: false, required: false get internalUserDatabaseEnabled() { return this.getBooleanAttribute('internal_user_database_enabled'); } } exports.DataAwsElasticsearchDomainAdvancedSecurityOptionsOutputReference = DataAwsElasticsearchDomainAdvancedSecurityOptionsOutputReference; _a = JSII_RTTI_SYMBOL_1; DataAwsElasticsearchDomainAdvancedSecurityOptionsOutputReference[_a] = { fqn: "@cdktf/provider-aws.dataAwsElasticsearchDomain.DataAwsElasticsearchDomainAdvancedSecurityOptionsOutputReference", version: "19.50.0" }; class DataAwsElasticsearchDomainAdvancedSecurityOptionsList 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 DataAwsElasticsearchDomainAdvancedSecurityOptionsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsElasticsearchDomainAdvancedSecurityOptionsList = DataAwsElasticsearchDomainAdvancedSecurityOptionsList; _b = JSII_RTTI_SYMBOL_1; DataAwsElasticsearchDomainAdvancedSecurityOptionsList[_b] = { fqn: "@cdktf/provider-aws.dataAwsElasticsearchDomain.DataAwsElasticsearchDomainAdvancedSecurityOptionsList", version: "19.50.0" }; function dataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleDurationToTerraform(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 {}; } exports.dataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleDurationToTerraform = dataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleDurationToTerraform; function dataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleDurationToHclTerraform(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; } exports.dataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleDurationToHclTerraform = dataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleDurationToHclTerraform; class DataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleDurationOutputReference 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; } } // unit - computed: true, optional: false, required: false get unit() { return this.getStringAttribute('unit'); } // value - computed: true, optional: false, required: false get value() { return this.getNumberAttribute('value'); } } exports.DataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleDurationOutputReference = DataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleDurationOutputReference; _c = JSII_RTTI_SYMBOL_1; DataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleDurationOutputReference[_c] = { fqn: "@cdktf/provider-aws.dataAwsElasticsearchDomain.DataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleDurationOutputReference", version: "19.50.0" }; class DataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleDurationList 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 DataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleDurationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleDurationList = DataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleDurationList; _d = JSII_RTTI_SYMBOL_1; DataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleDurationList[_d] = { fqn: "@cdktf/provider-aws.dataAwsElasticsearchDomain.DataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleDurationList", version: "19.50.0" }; function dataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleToTerraform(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 {}; } exports.dataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleToTerraform = dataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleToTerraform; function dataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleToHclTerraform(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; } exports.dataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleToHclTerraform = dataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleToHclTerraform; class DataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleOutputReference 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; // duration - computed: true, optional: false, required: false this._duration = new DataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleDurationList(this, "duration", 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; } } // cron_expression_for_recurrence - computed: true, optional: false, required: false get cronExpressionForRecurrence() { return this.getStringAttribute('cron_expression_for_recurrence'); } get duration() { return this._duration; } // start_at - computed: true, optional: false, required: false get startAt() { return this.getStringAttribute('start_at'); } } exports.DataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleOutputReference = DataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleOutputReference; _e = JSII_RTTI_SYMBOL_1; DataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleOutputReference[_e] = { fqn: "@cdktf/provider-aws.dataAwsElasticsearchDomain.DataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleOutputReference", version: "19.50.0" }; class DataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleList 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 DataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleList = DataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleList; _f = JSII_RTTI_SYMBOL_1; DataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleList[_f] = { fqn: "@cdktf/provider-aws.dataAwsElasticsearchDomain.DataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleList", version: "19.50.0" }; function dataAwsElasticsearchDomainAutoTuneOptionsToTerraform(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 {}; } exports.dataAwsElasticsearchDomainAutoTuneOptionsToTerraform = dataAwsElasticsearchDomainAutoTuneOptionsToTerraform; function dataAwsElasticsearchDomainAutoTuneOptionsToHclTerraform(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; } exports.dataAwsElasticsearchDomainAutoTuneOptionsToHclTerraform = dataAwsElasticsearchDomainAutoTuneOptionsToHclTerraform; class DataAwsElasticsearchDomainAutoTuneOptionsOutputReference 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; // maintenance_schedule - computed: true, optional: false, required: false this._maintenanceSchedule = new DataAwsElasticsearchDomainAutoTuneOptionsMaintenanceScheduleList(this, "maintenance_schedule", true); } 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; } } // desired_state - computed: true, optional: false, required: false get desiredState() { return this.getStringAttribute('desired_state'); } get maintenanceSchedule() { return this._maintenanceSchedule; } // rollback_on_disable - computed: true, optional: false, required: false get rollbackOnDisable() { return this.getStringAttribute('rollback_on_disable'); } } exports.DataAwsElasticsearchDomainAutoTuneOptionsOutputReference = DataAwsElasticsearchDomainAutoTuneOptionsOutputReference; _g = JSII_RTTI_SYMBOL_1; DataAwsElasticsearchDomainAutoTuneOptionsOutputReference[_g] = { fqn: "@cdktf/provider-aws.dataAwsElasticsearchDomain.DataAwsElasticsearchDomainAutoTuneOptionsOutputReference", version: "19.50.0" }; class DataAwsElasticsearchDomainAutoTuneOptionsList 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 DataAwsElasticsearchDomainAutoTuneOptionsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsElasticsearchDomainAutoTuneOptionsList = DataAwsElasticsearchDomainAutoTuneOptionsList; _h = JSII_RTTI_SYMBOL_1; DataAwsElasticsearchDomainAutoTuneOptionsList[_h] = { fqn: "@cdktf/provider-aws.dataAwsElasticsearchDomain.DataAwsElasticsearchDomainAutoTuneOptionsList", version: "19.50.0" }; function dataAwsElasticsearchDomainClusterConfigColdStorageOptionsToTerraform(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 {}; } exports.dataAwsElasticsearchDomainClusterConfigColdStorageOptionsToTerraform = dataAwsElasticsearchDomainClusterConfigColdStorageOptionsToTerraform; function dataAwsElasticsearchDomainClusterConfigColdStorageOptionsToHclTerraform(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; } exports.dataAwsElasticsearchDomainClusterConfigColdStorageOptionsToHclTerraform = dataAwsElasticsearchDomainClusterConfigColdStorageOptionsToHclTerraform; class DataAwsElasticsearchDomainClusterConfigColdStorageOptionsOutputReference 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; } } // enabled - computed: true, optional: false, required: false get enabled() { return this.getBooleanAttribute('enabled'); } } exports.DataAwsElasticsearchDomainClusterConfigColdStorageOptionsOutputReference = DataAwsElasticsearchDomainClusterConfigColdStorageOptionsOutputReference; _j = JSII_RTTI_SYMBOL_1; DataAwsElasticsearchDomainClusterConfigColdStorageOptionsOutputReference[_j] = { fqn: "@cdktf/provider-aws.dataAwsElasticsearchDomain.DataAwsElasticsearchDomainClusterConfigColdStorageOptionsOutputReference", version: "19.50.0" }; class DataAwsElasticsearchDomainClusterConfigColdStorageOptionsList 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 DataAwsElasticsearchDomainClusterConfigColdStorageOptionsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsElasticsearchDomainClusterConfigColdStorageOptionsList = DataAwsElasticsearchDomainClusterConfigColdStorageOptionsList; _k = JSII_RTTI_SYMBOL_1; DataAwsElasticsearchDomainClusterConfigColdStorageOptionsList[_k] = { fqn: "@cdktf/provider-aws.dataAwsElasticsearchDomain.DataAwsElasticsearchDomainClusterConfigColdStorageOptionsList", version: "19.50.0" }; function dataAwsElasticsearchDomainClusterConfigZoneAwarenessConfigToTerraform(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 {}; } exports.dataAwsElasticsearchDomainClusterConfigZoneAwarenessConfigToTerraform = dataAwsElasticsearchDomainClusterConfigZoneAwarenessConfigToTerraform; function dataAwsElasticsearchDomainClusterConfigZoneAwarenessConfigToHclTerraform(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; } exports.dataAwsElasticsearchDomainClusterConfigZoneAwarenessConfigToHclTerraform = dataAwsElasticsearchDomainClusterConfigZoneAwarenessConfigToHclTerraform; class DataAwsElasticsearchDomainClusterConfigZoneAwarenessConfigOutputReference 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; } } // availability_zone_count - computed: true, optional: false, required: false get availabilityZoneCount() { return this.getNumberAttribute('availability_zone_count'); } } exports.DataAwsElasticsearchDomainClusterConfigZoneAwarenessConfigOutputReference = DataAwsElasticsearchDomainClusterConfigZoneAwarenessConfigOutputReference; _l = JSII_RTTI_SYMBOL_1; DataAwsElasticsearchDomainClusterConfigZoneAwarenessConfigOutputReference[_l] = { fqn: "@cdktf/provider-aws.dataAwsElasticsearchDomain.DataAwsElasticsearchDomainClusterConfigZoneAwarenessConfigOutputReference", version: "19.50.0" }; class DataAwsElasticsearchDomainClusterConfigZoneAwarenessConfigList 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 DataAwsElasticsearchDomainClusterConfigZoneAwarenessConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsElasticsearchDomainClusterConfigZoneAwarenessConfigList = DataAwsElasticsearchDomainClusterConfigZoneAwarenessConfigList; _m = JSII_RTTI_SYMBOL_1; DataAwsElasticsearchDomainClusterConfigZoneAwarenessConfigList[_m] = { fqn: "@cdktf/provider-aws.dataAwsElasticsearchDomain.DataAwsElasticsearchDomainClusterConfigZoneAwarenessConfigList", version: "19.50.0" }; function dataAwsElasticsearchDomainClusterConfigToTerraform(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 {}; } exports.dataAwsElasticsearchDomainClusterConfigToTerraform = dataAwsElasticsearchDomainClusterConfigToTerraform; function dataAwsElasticsearchDomainClusterConfigToHclTerraform(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; } exports.dataAwsElasticsearchDomainClusterConfigToHclTerraform = dataAwsElasticsearchDomainClusterConfigToHclTerraform; class DataAwsElasticsearchDomainClusterConfigOutputReference 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; // cold_storage_options - computed: true, optional: false, required: false this._coldStorageOptions = new DataAwsElasticsearchDomainClusterConfigColdStorageOptionsList(this, "cold_storage_options", false); // zone_awareness_config - computed: true, optional: false, required: false this._zoneAwarenessConfig = new DataAwsElasticsearchDomainClusterConfigZoneAwarenessConfigList(this, "zone_awareness_config", 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 coldStorageOptions() { return this._coldStorageOptions; } // dedicated_master_count - computed: true, optional: false, required: false get dedicatedMasterCount() { return this.getNumberAttribute('dedicated_master_count'); } // dedicated_master_enabled - computed: true, optional: false, required: false get dedicatedMasterEnabled() { return this.getBooleanAttribute('dedicated_master_enabled'); } // dedicated_master_type - computed: true, optional: false, required: false get dedicatedMasterType() { return this.getStringAttribute('dedicated_master_type'); } // instance_count - computed: true, optional: false, required: false get instanceCount() { return this.getNumberAttribute('instance_count'); } // instance_type - computed: true, optional: false, required: false get instanceType() { return this.getStringAttribute('instance_type'); } // warm_count - computed: true, optional: false, required: false get warmCount() { return this.getNumberAttribute('warm_count'); } // warm_enabled - computed: true, optional: false, required: false get warmEnabled() { return this.getBooleanAttribute('warm_enabled'); } // warm_type - computed: true, optional: false, required: false get warmType() { return this.getStringAttribute('warm_type'); } get zoneAwarenessConfig() { return this._zoneAwarenessConfig; } // zone_awareness_enabled - computed: true, optional: false, required: false get zoneAwarenessEnabled() { return this.getBooleanAttribute('zone_awareness_enabled'); } } exports.DataAwsElasticsearchDomainClusterConfigOutputReference = DataAwsElasticsearchDomainClusterConfigOutputReference; _o = JSII_RTTI_SYMBOL_1; DataAwsElasticsearchDomainClusterConfigOutputReference[_o] = { fqn: "@cdktf/provider-aws.dataAwsElasticsearchDomain.DataAwsElasticsearchDomainClusterConfigOutputReference", version: "19.50.0" }; class DataAwsElasticsearchDomainClusterConfigList 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 DataAwsElasticsearchDomainClusterConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsElasticsearchDomainClusterConfigList = DataAwsElasticsearchDomainClusterConfigList; _p = JSII_RTTI_SYMBOL_1; DataAwsElasticsearchDomainClusterConfigList[_p] = { fqn: "@cdktf/provider-aws.dataAwsElasticsearchDomain.DataAwsElasticsearchDomainClusterConfigList", version: "19.50.0" }; function dataAwsElasticsearchDomainCognitoOptionsToTerraform(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 {}; } exports.dataAwsElasticsearchDomainCognitoOptionsToTerraform = dataAwsElasticsearchDomainCognitoOptionsToTerraform; function dataAwsElasticsearchDomainCognitoOptionsToHclTerraform(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; } exports.dataAwsElasticsearchDomainCognitoOptionsToHclTerraform = dataAwsElasticsearchDomainCognitoOptionsToHclTerraform; class DataAwsElasticsearchDomainCognitoOptionsOutputReference 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; } } // enabled - computed: true, optional: false, required: false get enabled() { return this.getBooleanAttribute('enabled'); } // identity_pool_id - computed: true, optional: false, required: false get identityPoolId() { return this.getStringAttribute('identity_pool_id'); } // role_arn - computed: true, optional: false, required: false get roleArn() { return this.getStringAttribute('role_arn'); } // user_pool_id - computed: true, optional: false, required: false get userPoolId() { return this.getStringAttribute('user_pool_id'); } } exports.DataAwsElasticsearchDomainCognitoOptionsOutputReference = DataAwsElasticsearchDomainCognitoOptionsOutputReference; _q = JSII_RTTI_SYMBOL_1; DataAwsElasticsearchDomainCognitoOptionsOutputReference[_q] = { fqn: "@cdktf/provider-aws.dataAwsElasticsearchDomain.DataAwsElasticsearchDomainCognitoOptionsOutputReference", version: "19.50.0" }; class DataAwsElasticsearchDomainCognitoOptionsList 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 DataAwsElasticsearchDomainCognitoOptionsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsElasticsearchDomainCognitoOptionsList = DataAwsElasticsearchDomainCognitoOptionsList; _r = JSII_RTTI_SYMBOL_1; DataAwsElasticsearchDomainCognitoOptionsList[_r] = { fqn: "@cdktf/provider-aws.dataAwsElasticsearchDomain.DataAwsElasticsearchDomainCognitoOptionsList", version: "19.50.0" }; function dataAwsElasticsearchDomainEbsOptionsToTerraform(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 {}; } exports.dataAwsElasticsearchDomainEbsOptionsToTerraform = dataAwsElasticsearchDomainEbsOptionsToTerraform; function dataAwsElasticsearchDomainEbsOptionsToHclTerraform(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; } exports.dataAwsElasticsearchDomainEbsOptionsToHclTerraform = dataAwsElasticsearchDomainEbsOptionsToHclTerraform; class DataAwsElasticsearchDomainEbsOptionsOutputReference 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; } } // ebs_enabled - computed: true, optional: false, required: false get ebsEnabled() { return this.getBooleanAttribute('ebs_enabled'); } // iops - computed: true, optional: false, required: false get iops() { return this.getNumberAttribute('iops'); } // throughput - computed: true, optional: false, required: false get throughput() { return this.getNumberAttribute('throughput'); } // volume_size - computed: true, optional: false, required: false get volumeSize() { return this.getNumberAttribute('volume_size'); } // volume_type - computed: true, optional: false, required: false get volumeType() { return this.getStringAttribute('volume_type'); } } exports.DataAwsElasticsearchDomainEbsOptionsOutputReference = DataAwsElasticsearchDomainEbsOptionsOutputReference; _s = JSII_RTTI_SYMBOL_1; DataAwsElasticsearchDomainEbsOptionsOutputReference[_s] = { fqn: "@cdktf/provider-aws.dataAwsElasticsearchDomain.DataAwsElasticsearchDomainEbsOptionsOutputReference", version: "19.50.0" }; class DataAwsElasticsearchDomainEbsOptionsList 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 DataAwsElasticsearchDomainEbsOptionsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsElasticsearchDomainEbsOptionsList = DataAwsElasticsearchDomainEbsOptionsList; _t = JSII_RTTI_SYMBOL_1; DataAwsElasticsearchDomainEbsOptionsList[_t] = { fqn: "@cdktf/provider-aws.dataAwsElasticsearchDomain.DataAwsElasticsearchDomainEbsOptionsList", version: "19.50.0" }; function dataAwsElasticsearchDomainEncryptionAtRestToTerraform(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 {}; } exports.dataAwsElasticsearchDomainEncryptionAtRestToTerraform = dataAwsElasticsearchDomainEncryptionAtRestToTerraform; function dataAwsElasticsearchDomainEncryptionAtRestToHclTerraform(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; } exports.dataAwsElasticsearchDomainEncryptionAtRestToHclTerraform = dataAwsElasticsearchDomainEncryptionAtRestToHclTerraform; class DataAwsElasticsearchDomainEncryptionAtRestOutputReference 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; } } // enabled - computed: true, optional: false, required: false get enabled() { return this.getBooleanAttribute('enabled'); } // kms_key_id - computed: true, optional: false, required: false get kmsKeyId() { return this.getStringAttribute('kms_key_id'); } } exports.DataAwsElasticsearchDomainEncryptionAtRestOutputReference = DataAwsElasticsearchDomainEncryptionAtRestOutputReference; _u = JSII_RTTI_SYMBOL_1; DataAwsElasticsearchDomainEncryptionAtRestOutputReference[_u] = { fqn: "@cdktf/provider-aws.dataAwsElasticsearchDomain.DataAwsElasticsearchDomainEncryptionAtRestOutputReference", version: "19.50.0" }; class DataAwsElasticsearchDomainEncryptionAtRestList 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 DataAwsElasticsearchDomainEncryptionAtRestOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsElasticsearchDomainEncryptionAtRestList = DataAwsElasticsearchDomainEncryptionAtRestList; _v = JSII_RTTI_SYMBOL_1; DataAwsElasticsearchDomainEncryptionAtRestList[_v] = { fqn: "@cdktf/provider-aws.dataAwsElasticsearchDomain.DataAwsElasticsearchDomainEncryptionAtRestList", version: "19.50.0" }; function dataAwsElasticsearchDomainLogPublishingOptionsToTerraform(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 {}; } exports.dataAwsElasticsearchDomainLogPublishingOptionsToTerraform = dataAwsElasticsearchDomainLogPublishingOptionsToTerraform; function dataAwsElasticsearchDomainLogPublishingOptionsToHclTerraform(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; } exports.dataAwsElasticsearchDomainLogPublishingOptionsToHclTerraform = dataAwsElasticsearchDomainLogPublishingOptionsToHclTerraform; class DataAwsElasticsearchDomainLogPublishingOptionsOutputReference 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.isEmptyOb