UNPKG

@cdktf/provider-aws

Version:

Prebuilt aws Provider for Terraform CDK (cdktf)

876 lines 289 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, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18; Object.defineProperty(exports, "__esModule", { value: true }); exports.DataAwsOpensearchDomain = exports.DataAwsOpensearchDomainVpcOptionsList = exports.DataAwsOpensearchDomainVpcOptionsOutputReference = exports.DataAwsOpensearchDomainSoftwareUpdateOptionsList = exports.DataAwsOpensearchDomainSoftwareUpdateOptionsOutputReference = exports.DataAwsOpensearchDomainSnapshotOptionsList = exports.DataAwsOpensearchDomainSnapshotOptionsOutputReference = exports.DataAwsOpensearchDomainOffPeakWindowOptionsList = exports.DataAwsOpensearchDomainOffPeakWindowOptionsOutputReference = exports.DataAwsOpensearchDomainOffPeakWindowOptionsOffPeakWindowList = exports.DataAwsOpensearchDomainOffPeakWindowOptionsOffPeakWindowOutputReference = exports.DataAwsOpensearchDomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeList = exports.DataAwsOpensearchDomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeOutputReference = exports.DataAwsOpensearchDomainNodeToNodeEncryptionList = exports.DataAwsOpensearchDomainNodeToNodeEncryptionOutputReference = exports.DataAwsOpensearchDomainLogPublishingOptionsList = exports.DataAwsOpensearchDomainLogPublishingOptionsOutputReference = exports.DataAwsOpensearchDomainIdentityCenterOptionsList = exports.DataAwsOpensearchDomainIdentityCenterOptionsOutputReference = exports.DataAwsOpensearchDomainEncryptionAtRestList = exports.DataAwsOpensearchDomainEncryptionAtRestOutputReference = exports.DataAwsOpensearchDomainEbsOptionsList = exports.DataAwsOpensearchDomainEbsOptionsOutputReference = exports.DataAwsOpensearchDomainCognitoOptionsList = exports.DataAwsOpensearchDomainCognitoOptionsOutputReference = exports.DataAwsOpensearchDomainClusterConfigList = exports.DataAwsOpensearchDomainClusterConfigOutputReference = exports.DataAwsOpensearchDomainClusterConfigZoneAwarenessConfigList = exports.DataAwsOpensearchDomainClusterConfigZoneAwarenessConfigOutputReference = exports.DataAwsOpensearchDomainClusterConfigNodeOptionsList = exports.DataAwsOpensearchDomainClusterConfigNodeOptionsOutputReference = exports.DataAwsOpensearchDomainClusterConfigNodeOptionsNodeConfigList = exports.DataAwsOpensearchDomainClusterConfigNodeOptionsNodeConfigOutputReference = exports.DataAwsOpensearchDomainClusterConfigColdStorageOptionsList = exports.DataAwsOpensearchDomainClusterConfigColdStorageOptionsOutputReference = exports.DataAwsOpensearchDomainAutoTuneOptionsList = exports.DataAwsOpensearchDomainAutoTuneOptionsOutputReference = exports.DataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleList = exports.DataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleOutputReference = exports.DataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleDurationList = exports.DataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleDurationOutputReference = exports.DataAwsOpensearchDomainAdvancedSecurityOptionsList = exports.DataAwsOpensearchDomainAdvancedSecurityOptionsOutputReference = void 0; exports.dataAwsOpensearchDomainAdvancedSecurityOptionsToTerraform = dataAwsOpensearchDomainAdvancedSecurityOptionsToTerraform; exports.dataAwsOpensearchDomainAdvancedSecurityOptionsToHclTerraform = dataAwsOpensearchDomainAdvancedSecurityOptionsToHclTerraform; exports.dataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleDurationToTerraform = dataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleDurationToTerraform; exports.dataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleDurationToHclTerraform = dataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleDurationToHclTerraform; exports.dataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleToTerraform = dataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleToTerraform; exports.dataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleToHclTerraform = dataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleToHclTerraform; exports.dataAwsOpensearchDomainAutoTuneOptionsToTerraform = dataAwsOpensearchDomainAutoTuneOptionsToTerraform; exports.dataAwsOpensearchDomainAutoTuneOptionsToHclTerraform = dataAwsOpensearchDomainAutoTuneOptionsToHclTerraform; exports.dataAwsOpensearchDomainClusterConfigColdStorageOptionsToTerraform = dataAwsOpensearchDomainClusterConfigColdStorageOptionsToTerraform; exports.dataAwsOpensearchDomainClusterConfigColdStorageOptionsToHclTerraform = dataAwsOpensearchDomainClusterConfigColdStorageOptionsToHclTerraform; exports.dataAwsOpensearchDomainClusterConfigNodeOptionsNodeConfigToTerraform = dataAwsOpensearchDomainClusterConfigNodeOptionsNodeConfigToTerraform; exports.dataAwsOpensearchDomainClusterConfigNodeOptionsNodeConfigToHclTerraform = dataAwsOpensearchDomainClusterConfigNodeOptionsNodeConfigToHclTerraform; exports.dataAwsOpensearchDomainClusterConfigNodeOptionsToTerraform = dataAwsOpensearchDomainClusterConfigNodeOptionsToTerraform; exports.dataAwsOpensearchDomainClusterConfigNodeOptionsToHclTerraform = dataAwsOpensearchDomainClusterConfigNodeOptionsToHclTerraform; exports.dataAwsOpensearchDomainClusterConfigZoneAwarenessConfigToTerraform = dataAwsOpensearchDomainClusterConfigZoneAwarenessConfigToTerraform; exports.dataAwsOpensearchDomainClusterConfigZoneAwarenessConfigToHclTerraform = dataAwsOpensearchDomainClusterConfigZoneAwarenessConfigToHclTerraform; exports.dataAwsOpensearchDomainClusterConfigToTerraform = dataAwsOpensearchDomainClusterConfigToTerraform; exports.dataAwsOpensearchDomainClusterConfigToHclTerraform = dataAwsOpensearchDomainClusterConfigToHclTerraform; exports.dataAwsOpensearchDomainCognitoOptionsToTerraform = dataAwsOpensearchDomainCognitoOptionsToTerraform; exports.dataAwsOpensearchDomainCognitoOptionsToHclTerraform = dataAwsOpensearchDomainCognitoOptionsToHclTerraform; exports.dataAwsOpensearchDomainEbsOptionsToTerraform = dataAwsOpensearchDomainEbsOptionsToTerraform; exports.dataAwsOpensearchDomainEbsOptionsToHclTerraform = dataAwsOpensearchDomainEbsOptionsToHclTerraform; exports.dataAwsOpensearchDomainEncryptionAtRestToTerraform = dataAwsOpensearchDomainEncryptionAtRestToTerraform; exports.dataAwsOpensearchDomainEncryptionAtRestToHclTerraform = dataAwsOpensearchDomainEncryptionAtRestToHclTerraform; exports.dataAwsOpensearchDomainIdentityCenterOptionsToTerraform = dataAwsOpensearchDomainIdentityCenterOptionsToTerraform; exports.dataAwsOpensearchDomainIdentityCenterOptionsToHclTerraform = dataAwsOpensearchDomainIdentityCenterOptionsToHclTerraform; exports.dataAwsOpensearchDomainLogPublishingOptionsToTerraform = dataAwsOpensearchDomainLogPublishingOptionsToTerraform; exports.dataAwsOpensearchDomainLogPublishingOptionsToHclTerraform = dataAwsOpensearchDomainLogPublishingOptionsToHclTerraform; exports.dataAwsOpensearchDomainNodeToNodeEncryptionToTerraform = dataAwsOpensearchDomainNodeToNodeEncryptionToTerraform; exports.dataAwsOpensearchDomainNodeToNodeEncryptionToHclTerraform = dataAwsOpensearchDomainNodeToNodeEncryptionToHclTerraform; exports.dataAwsOpensearchDomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeToTerraform = dataAwsOpensearchDomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeToTerraform; exports.dataAwsOpensearchDomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeToHclTerraform = dataAwsOpensearchDomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeToHclTerraform; exports.dataAwsOpensearchDomainOffPeakWindowOptionsOffPeakWindowToTerraform = dataAwsOpensearchDomainOffPeakWindowOptionsOffPeakWindowToTerraform; exports.dataAwsOpensearchDomainOffPeakWindowOptionsOffPeakWindowToHclTerraform = dataAwsOpensearchDomainOffPeakWindowOptionsOffPeakWindowToHclTerraform; exports.dataAwsOpensearchDomainOffPeakWindowOptionsToTerraform = dataAwsOpensearchDomainOffPeakWindowOptionsToTerraform; exports.dataAwsOpensearchDomainOffPeakWindowOptionsToHclTerraform = dataAwsOpensearchDomainOffPeakWindowOptionsToHclTerraform; exports.dataAwsOpensearchDomainSnapshotOptionsToTerraform = dataAwsOpensearchDomainSnapshotOptionsToTerraform; exports.dataAwsOpensearchDomainSnapshotOptionsToHclTerraform = dataAwsOpensearchDomainSnapshotOptionsToHclTerraform; exports.dataAwsOpensearchDomainSoftwareUpdateOptionsToTerraform = dataAwsOpensearchDomainSoftwareUpdateOptionsToTerraform; exports.dataAwsOpensearchDomainSoftwareUpdateOptionsToHclTerraform = dataAwsOpensearchDomainSoftwareUpdateOptionsToHclTerraform; exports.dataAwsOpensearchDomainVpcOptionsToTerraform = dataAwsOpensearchDomainVpcOptionsToTerraform; exports.dataAwsOpensearchDomainVpcOptionsToHclTerraform = dataAwsOpensearchDomainVpcOptionsToHclTerraform; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function dataAwsOpensearchDomainAdvancedSecurityOptionsToTerraform(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 dataAwsOpensearchDomainAdvancedSecurityOptionsToHclTerraform(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 DataAwsOpensearchDomainAdvancedSecurityOptionsOutputReference 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; } } // anonymous_auth_enabled - computed: true, optional: false, required: false get anonymousAuthEnabled() { return this.getBooleanAttribute('anonymous_auth_enabled'); } // 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.DataAwsOpensearchDomainAdvancedSecurityOptionsOutputReference = DataAwsOpensearchDomainAdvancedSecurityOptionsOutputReference; _a = JSII_RTTI_SYMBOL_1; DataAwsOpensearchDomainAdvancedSecurityOptionsOutputReference[_a] = { fqn: "@cdktf/provider-aws.dataAwsOpensearchDomain.DataAwsOpensearchDomainAdvancedSecurityOptionsOutputReference", version: "21.22.1" }; class DataAwsOpensearchDomainAdvancedSecurityOptionsList 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 DataAwsOpensearchDomainAdvancedSecurityOptionsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsOpensearchDomainAdvancedSecurityOptionsList = DataAwsOpensearchDomainAdvancedSecurityOptionsList; _b = JSII_RTTI_SYMBOL_1; DataAwsOpensearchDomainAdvancedSecurityOptionsList[_b] = { fqn: "@cdktf/provider-aws.dataAwsOpensearchDomain.DataAwsOpensearchDomainAdvancedSecurityOptionsList", version: "21.22.1" }; function dataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleDurationToTerraform(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 dataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleDurationToHclTerraform(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 DataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleDurationOutputReference 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.DataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleDurationOutputReference = DataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleDurationOutputReference; _c = JSII_RTTI_SYMBOL_1; DataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleDurationOutputReference[_c] = { fqn: "@cdktf/provider-aws.dataAwsOpensearchDomain.DataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleDurationOutputReference", version: "21.22.1" }; class DataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleDurationList 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 DataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleDurationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleDurationList = DataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleDurationList; _d = JSII_RTTI_SYMBOL_1; DataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleDurationList[_d] = { fqn: "@cdktf/provider-aws.dataAwsOpensearchDomain.DataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleDurationList", version: "21.22.1" }; function dataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleToTerraform(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 dataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleToHclTerraform(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 DataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleOutputReference 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 DataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleDurationList(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.DataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleOutputReference = DataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleOutputReference; _e = JSII_RTTI_SYMBOL_1; DataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleOutputReference[_e] = { fqn: "@cdktf/provider-aws.dataAwsOpensearchDomain.DataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleOutputReference", version: "21.22.1" }; class DataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleList 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 DataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleList = DataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleList; _f = JSII_RTTI_SYMBOL_1; DataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleList[_f] = { fqn: "@cdktf/provider-aws.dataAwsOpensearchDomain.DataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleList", version: "21.22.1" }; function dataAwsOpensearchDomainAutoTuneOptionsToTerraform(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 dataAwsOpensearchDomainAutoTuneOptionsToHclTerraform(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 DataAwsOpensearchDomainAutoTuneOptionsOutputReference 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 DataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleList(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'); } // use_off_peak_window - computed: true, optional: false, required: false get useOffPeakWindow() { return this.getBooleanAttribute('use_off_peak_window'); } } exports.DataAwsOpensearchDomainAutoTuneOptionsOutputReference = DataAwsOpensearchDomainAutoTuneOptionsOutputReference; _g = JSII_RTTI_SYMBOL_1; DataAwsOpensearchDomainAutoTuneOptionsOutputReference[_g] = { fqn: "@cdktf/provider-aws.dataAwsOpensearchDomain.DataAwsOpensearchDomainAutoTuneOptionsOutputReference", version: "21.22.1" }; class DataAwsOpensearchDomainAutoTuneOptionsList 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 DataAwsOpensearchDomainAutoTuneOptionsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsOpensearchDomainAutoTuneOptionsList = DataAwsOpensearchDomainAutoTuneOptionsList; _h = JSII_RTTI_SYMBOL_1; DataAwsOpensearchDomainAutoTuneOptionsList[_h] = { fqn: "@cdktf/provider-aws.dataAwsOpensearchDomain.DataAwsOpensearchDomainAutoTuneOptionsList", version: "21.22.1" }; function dataAwsOpensearchDomainClusterConfigColdStorageOptionsToTerraform(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 dataAwsOpensearchDomainClusterConfigColdStorageOptionsToHclTerraform(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 DataAwsOpensearchDomainClusterConfigColdStorageOptionsOutputReference 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.DataAwsOpensearchDomainClusterConfigColdStorageOptionsOutputReference = DataAwsOpensearchDomainClusterConfigColdStorageOptionsOutputReference; _j = JSII_RTTI_SYMBOL_1; DataAwsOpensearchDomainClusterConfigColdStorageOptionsOutputReference[_j] = { fqn: "@cdktf/provider-aws.dataAwsOpensearchDomain.DataAwsOpensearchDomainClusterConfigColdStorageOptionsOutputReference", version: "21.22.1" }; class DataAwsOpensearchDomainClusterConfigColdStorageOptionsList 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 DataAwsOpensearchDomainClusterConfigColdStorageOptionsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsOpensearchDomainClusterConfigColdStorageOptionsList = DataAwsOpensearchDomainClusterConfigColdStorageOptionsList; _k = JSII_RTTI_SYMBOL_1; DataAwsOpensearchDomainClusterConfigColdStorageOptionsList[_k] = { fqn: "@cdktf/provider-aws.dataAwsOpensearchDomain.DataAwsOpensearchDomainClusterConfigColdStorageOptionsList", version: "21.22.1" }; function dataAwsOpensearchDomainClusterConfigNodeOptionsNodeConfigToTerraform(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 dataAwsOpensearchDomainClusterConfigNodeOptionsNodeConfigToHclTerraform(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 DataAwsOpensearchDomainClusterConfigNodeOptionsNodeConfigOutputReference 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; } } // count - computed: true, optional: false, required: false get count() { return this.getNumberAttribute('count'); } // enabled - computed: true, optional: false, required: false get enabled() { return this.getBooleanAttribute('enabled'); } // type - computed: true, optional: false, required: false get type() { return this.getStringAttribute('type'); } } exports.DataAwsOpensearchDomainClusterConfigNodeOptionsNodeConfigOutputReference = DataAwsOpensearchDomainClusterConfigNodeOptionsNodeConfigOutputReference; _l = JSII_RTTI_SYMBOL_1; DataAwsOpensearchDomainClusterConfigNodeOptionsNodeConfigOutputReference[_l] = { fqn: "@cdktf/provider-aws.dataAwsOpensearchDomain.DataAwsOpensearchDomainClusterConfigNodeOptionsNodeConfigOutputReference", version: "21.22.1" }; class DataAwsOpensearchDomainClusterConfigNodeOptionsNodeConfigList 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 DataAwsOpensearchDomainClusterConfigNodeOptionsNodeConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsOpensearchDomainClusterConfigNodeOptionsNodeConfigList = DataAwsOpensearchDomainClusterConfigNodeOptionsNodeConfigList; _m = JSII_RTTI_SYMBOL_1; DataAwsOpensearchDomainClusterConfigNodeOptionsNodeConfigList[_m] = { fqn: "@cdktf/provider-aws.dataAwsOpensearchDomain.DataAwsOpensearchDomainClusterConfigNodeOptionsNodeConfigList", version: "21.22.1" }; function dataAwsOpensearchDomainClusterConfigNodeOptionsToTerraform(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 dataAwsOpensearchDomainClusterConfigNodeOptionsToHclTerraform(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 DataAwsOpensearchDomainClusterConfigNodeOptionsOutputReference 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; // node_config - computed: true, optional: false, required: false this._nodeConfig = new DataAwsOpensearchDomainClusterConfigNodeOptionsNodeConfigList(this, "node_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 nodeConfig() { return this._nodeConfig; } // node_type - computed: true, optional: false, required: false get nodeType() { return this.getStringAttribute('node_type'); } } exports.DataAwsOpensearchDomainClusterConfigNodeOptionsOutputReference = DataAwsOpensearchDomainClusterConfigNodeOptionsOutputReference; _o = JSII_RTTI_SYMBOL_1; DataAwsOpensearchDomainClusterConfigNodeOptionsOutputReference[_o] = { fqn: "@cdktf/provider-aws.dataAwsOpensearchDomain.DataAwsOpensearchDomainClusterConfigNodeOptionsOutputReference", version: "21.22.1" }; class DataAwsOpensearchDomainClusterConfigNodeOptionsList 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 DataAwsOpensearchDomainClusterConfigNodeOptionsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsOpensearchDomainClusterConfigNodeOptionsList = DataAwsOpensearchDomainClusterConfigNodeOptionsList; _p = JSII_RTTI_SYMBOL_1; DataAwsOpensearchDomainClusterConfigNodeOptionsList[_p] = { fqn: "@cdktf/provider-aws.dataAwsOpensearchDomain.DataAwsOpensearchDomainClusterConfigNodeOptionsList", version: "21.22.1" }; function dataAwsOpensearchDomainClusterConfigZoneAwarenessConfigToTerraform(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 dataAwsOpensearchDomainClusterConfigZoneAwarenessConfigToHclTerraform(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 DataAwsOpensearchDomainClusterConfigZoneAwarenessConfigOutputReference 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.DataAwsOpensearchDomainClusterConfigZoneAwarenessConfigOutputReference = DataAwsOpensearchDomainClusterConfigZoneAwarenessConfigOutputReference; _q = JSII_RTTI_SYMBOL_1; DataAwsOpensearchDomainClusterConfigZoneAwarenessConfigOutputReference[_q] = { fqn: "@cdktf/provider-aws.dataAwsOpensearchDomain.DataAwsOpensearchDomainClusterConfigZoneAwarenessConfigOutputReference", version: "21.22.1" }; class DataAwsOpensearchDomainClusterConfigZoneAwarenessConfigList 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 DataAwsOpensearchDomainClusterConfigZoneAwarenessConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsOpensearchDomainClusterConfigZoneAwarenessConfigList = DataAwsOpensearchDomainClusterConfigZoneAwarenessConfigList; _r = JSII_RTTI_SYMBOL_1; DataAwsOpensearchDomainClusterConfigZoneAwarenessConfigList[_r] = { fqn: "@cdktf/provider-aws.dataAwsOpensearchDomain.DataAwsOpensearchDomainClusterConfigZoneAwarenessConfigList", version: "21.22.1" }; function dataAwsOpensearchDomainClusterConfigToTerraform(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 dataAwsOpensearchDomainClusterConfigToHclTerraform(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 DataAwsOpensearchDomainClusterConfigOutputReference 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 DataAwsOpensearchDomainClusterConfigColdStorageOptionsList(this, "cold_storage_options", false); // node_options - computed: true, optional: false, required: false this._nodeOptions = new DataAwsOpensearchDomainClusterConfigNodeOptionsList(this, "node_options", false); // zone_awareness_config - computed: true, optional: false, required: false this._zoneAwarenessConfig = new DataAwsOpensearchDomainClusterConfigZoneAwarenessConfigList(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'); } // multi_az_with_standby_enabled - computed: true, optional: false, required: false get multiAzWithStandbyEnabled() { return this.getBooleanAttribute('multi_az_with_standby_enabled'); } get nodeOptions() { return this._nodeOptions; } // 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.DataAwsOpensearchDomainClusterConfigOutputReference = DataAwsOpensearchDomainClusterConfigOutputReference; _s = JSII_RTTI_SYMBOL_1; DataAwsOpensearchDomainClusterConfigOutputReference[_s] = { fqn: "@cdktf/provider-aws.dataAwsOpensearchDomain.DataAwsOpensearchDomainClusterConfigOutputReference", version: "21.22.1" }; class DataAwsOpensearchDomainClusterConfigList 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 DataAwsOpensearchDomainClusterConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAwsOpensearchDomainClusterConfigList = DataAwsOpensearchDomainClusterConfigList; _t = JSII_RTTI_SYMBOL_1; DataAwsOpensearchDomainClusterConfigList[_t] = { fqn: "@cdktf/provider-aws.dataAwsOpensearchDomain.DataAwsOpensearchDomainClusterConfigList", version: "21.22.1" }; function dataAwsOpensearchDomainCognitoOptionsToTerraform(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 dataAwsOpensearchDomainCognitoOptionsToHclTerraform(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 DataAwsOpensearchDomainCognitoOptionsOutputReference 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.DataAwsOpensearchDomainCognitoOptionsOutputReference = DataAwsOpensearchDomainCognitoOptionsOutputReference; _u = JSII_RTTI_SYMBOL_1; DataAwsOpensearchDomainCognitoOptionsOutputReference[_u] = { fqn: "@cdktf/provider-aws.dataAwsOpensearchDomain.DataAwsOpensearchDomainCognitoOptionsOutputReference", version: "21.22.1" }; class DataAwsOpensearchDomainCognitoOptionsList 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.terraf