@cdktf/provider-aws
Version:
Prebuilt aws Provider for Terraform CDK (cdktf)
885 lines • 252 kB
JavaScript
"use strict";
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11;
Object.defineProperty(exports, "__esModule", { value: true });
exports.dataAwsOpensearchDomainSnapshotOptionsToHclTerraform = exports.dataAwsOpensearchDomainSnapshotOptionsToTerraform = exports.DataAwsOpensearchDomainNodeToNodeEncryptionList = exports.DataAwsOpensearchDomainNodeToNodeEncryptionOutputReference = exports.dataAwsOpensearchDomainNodeToNodeEncryptionToHclTerraform = exports.dataAwsOpensearchDomainNodeToNodeEncryptionToTerraform = exports.DataAwsOpensearchDomainLogPublishingOptionsList = exports.DataAwsOpensearchDomainLogPublishingOptionsOutputReference = exports.dataAwsOpensearchDomainLogPublishingOptionsToHclTerraform = exports.dataAwsOpensearchDomainLogPublishingOptionsToTerraform = exports.DataAwsOpensearchDomainEncryptionAtRestList = exports.DataAwsOpensearchDomainEncryptionAtRestOutputReference = exports.dataAwsOpensearchDomainEncryptionAtRestToHclTerraform = exports.dataAwsOpensearchDomainEncryptionAtRestToTerraform = exports.DataAwsOpensearchDomainEbsOptionsList = exports.DataAwsOpensearchDomainEbsOptionsOutputReference = exports.dataAwsOpensearchDomainEbsOptionsToHclTerraform = exports.dataAwsOpensearchDomainEbsOptionsToTerraform = exports.DataAwsOpensearchDomainCognitoOptionsList = exports.DataAwsOpensearchDomainCognitoOptionsOutputReference = exports.dataAwsOpensearchDomainCognitoOptionsToHclTerraform = exports.dataAwsOpensearchDomainCognitoOptionsToTerraform = exports.DataAwsOpensearchDomainClusterConfigList = exports.DataAwsOpensearchDomainClusterConfigOutputReference = exports.dataAwsOpensearchDomainClusterConfigToHclTerraform = exports.dataAwsOpensearchDomainClusterConfigToTerraform = exports.DataAwsOpensearchDomainClusterConfigZoneAwarenessConfigList = exports.DataAwsOpensearchDomainClusterConfigZoneAwarenessConfigOutputReference = exports.dataAwsOpensearchDomainClusterConfigZoneAwarenessConfigToHclTerraform = exports.dataAwsOpensearchDomainClusterConfigZoneAwarenessConfigToTerraform = exports.DataAwsOpensearchDomainClusterConfigColdStorageOptionsList = exports.DataAwsOpensearchDomainClusterConfigColdStorageOptionsOutputReference = exports.dataAwsOpensearchDomainClusterConfigColdStorageOptionsToHclTerraform = exports.dataAwsOpensearchDomainClusterConfigColdStorageOptionsToTerraform = exports.DataAwsOpensearchDomainAutoTuneOptionsList = exports.DataAwsOpensearchDomainAutoTuneOptionsOutputReference = exports.dataAwsOpensearchDomainAutoTuneOptionsToHclTerraform = exports.dataAwsOpensearchDomainAutoTuneOptionsToTerraform = exports.DataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleList = exports.DataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleOutputReference = exports.dataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleToHclTerraform = exports.dataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleToTerraform = exports.DataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleDurationList = exports.DataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleDurationOutputReference = exports.dataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleDurationToHclTerraform = exports.dataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleDurationToTerraform = exports.DataAwsOpensearchDomainAdvancedSecurityOptionsList = exports.DataAwsOpensearchDomainAdvancedSecurityOptionsOutputReference = exports.dataAwsOpensearchDomainAdvancedSecurityOptionsToHclTerraform = exports.dataAwsOpensearchDomainAdvancedSecurityOptionsToTerraform = void 0;
exports.DataAwsOpensearchDomain = exports.DataAwsOpensearchDomainOffPeakWindowOptionsOutputReference = exports.dataAwsOpensearchDomainOffPeakWindowOptionsToHclTerraform = exports.dataAwsOpensearchDomainOffPeakWindowOptionsToTerraform = exports.DataAwsOpensearchDomainOffPeakWindowOptionsOffPeakWindowList = exports.DataAwsOpensearchDomainOffPeakWindowOptionsOffPeakWindowOutputReference = exports.dataAwsOpensearchDomainOffPeakWindowOptionsOffPeakWindowToHclTerraform = exports.dataAwsOpensearchDomainOffPeakWindowOptionsOffPeakWindowToTerraform = exports.DataAwsOpensearchDomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeList = exports.DataAwsOpensearchDomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeOutputReference = exports.dataAwsOpensearchDomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeToHclTerraform = exports.dataAwsOpensearchDomainOffPeakWindowOptionsOffPeakWindowWindowStartTimeToTerraform = exports.DataAwsOpensearchDomainVpcOptionsList = exports.DataAwsOpensearchDomainVpcOptionsOutputReference = exports.dataAwsOpensearchDomainVpcOptionsToHclTerraform = exports.dataAwsOpensearchDomainVpcOptionsToTerraform = exports.DataAwsOpensearchDomainSoftwareUpdateOptionsList = exports.DataAwsOpensearchDomainSoftwareUpdateOptionsOutputReference = exports.dataAwsOpensearchDomainSoftwareUpdateOptionsToHclTerraform = exports.dataAwsOpensearchDomainSoftwareUpdateOptionsToTerraform = exports.DataAwsOpensearchDomainSnapshotOptionsList = exports.DataAwsOpensearchDomainSnapshotOptionsOutputReference = void 0;
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 {};
}
exports.dataAwsOpensearchDomainAdvancedSecurityOptionsToTerraform = dataAwsOpensearchDomainAdvancedSecurityOptionsToTerraform;
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;
}
exports.dataAwsOpensearchDomainAdvancedSecurityOptionsToHclTerraform = dataAwsOpensearchDomainAdvancedSecurityOptionsToHclTerraform;
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: "19.50.0" };
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: "19.50.0" };
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 {};
}
exports.dataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleDurationToTerraform = dataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleDurationToTerraform;
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;
}
exports.dataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleDurationToHclTerraform = dataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleDurationToHclTerraform;
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: "19.50.0" };
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: "19.50.0" };
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 {};
}
exports.dataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleToTerraform = dataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleToTerraform;
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;
}
exports.dataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleToHclTerraform = dataAwsOpensearchDomainAutoTuneOptionsMaintenanceScheduleToHclTerraform;
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: "19.50.0" };
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: "19.50.0" };
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 {};
}
exports.dataAwsOpensearchDomainAutoTuneOptionsToTerraform = dataAwsOpensearchDomainAutoTuneOptionsToTerraform;
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;
}
exports.dataAwsOpensearchDomainAutoTuneOptionsToHclTerraform = dataAwsOpensearchDomainAutoTuneOptionsToHclTerraform;
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: "19.50.0" };
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: "19.50.0" };
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 {};
}
exports.dataAwsOpensearchDomainClusterConfigColdStorageOptionsToTerraform = dataAwsOpensearchDomainClusterConfigColdStorageOptionsToTerraform;
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;
}
exports.dataAwsOpensearchDomainClusterConfigColdStorageOptionsToHclTerraform = dataAwsOpensearchDomainClusterConfigColdStorageOptionsToHclTerraform;
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: "19.50.0" };
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: "19.50.0" };
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 {};
}
exports.dataAwsOpensearchDomainClusterConfigZoneAwarenessConfigToTerraform = dataAwsOpensearchDomainClusterConfigZoneAwarenessConfigToTerraform;
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;
}
exports.dataAwsOpensearchDomainClusterConfigZoneAwarenessConfigToHclTerraform = dataAwsOpensearchDomainClusterConfigZoneAwarenessConfigToHclTerraform;
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;
_l = JSII_RTTI_SYMBOL_1;
DataAwsOpensearchDomainClusterConfigZoneAwarenessConfigOutputReference[_l] = { fqn: "@cdktf/provider-aws.dataAwsOpensearchDomain.DataAwsOpensearchDomainClusterConfigZoneAwarenessConfigOutputReference", version: "19.50.0" };
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;
_m = JSII_RTTI_SYMBOL_1;
DataAwsOpensearchDomainClusterConfigZoneAwarenessConfigList[_m] = { fqn: "@cdktf/provider-aws.dataAwsOpensearchDomain.DataAwsOpensearchDomainClusterConfigZoneAwarenessConfigList", version: "19.50.0" };
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 {};
}
exports.dataAwsOpensearchDomainClusterConfigToTerraform = dataAwsOpensearchDomainClusterConfigToTerraform;
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;
}
exports.dataAwsOpensearchDomainClusterConfigToHclTerraform = dataAwsOpensearchDomainClusterConfigToHclTerraform;
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);
// 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');
}
// 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;
_o = JSII_RTTI_SYMBOL_1;
DataAwsOpensearchDomainClusterConfigOutputReference[_o] = { fqn: "@cdktf/provider-aws.dataAwsOpensearchDomain.DataAwsOpensearchDomainClusterConfigOutputReference", version: "19.50.0" };
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;
_p = JSII_RTTI_SYMBOL_1;
DataAwsOpensearchDomainClusterConfigList[_p] = { fqn: "@cdktf/provider-aws.dataAwsOpensearchDomain.DataAwsOpensearchDomainClusterConfigList", version: "19.50.0" };
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 {};
}
exports.dataAwsOpensearchDomainCognitoOptionsToTerraform = dataAwsOpensearchDomainCognitoOptionsToTerraform;
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;
}
exports.dataAwsOpensearchDomainCognitoOptionsToHclTerraform = dataAwsOpensearchDomainCognitoOptionsToHclTerraform;
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;
_q = JSII_RTTI_SYMBOL_1;
DataAwsOpensearchDomainCognitoOptionsOutputReference[_q] = { fqn: "@cdktf/provider-aws.dataAwsOpensearchDomain.DataAwsOpensearchDomainCognitoOptionsOutputReference", version: "19.50.0" };
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.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new DataAwsOpensearchDomainCognitoOptionsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAwsOpensearchDomainCognitoOptionsList = DataAwsOpensearchDomainCognitoOptionsList;
_r = JSII_RTTI_SYMBOL_1;
DataAwsOpensearchDomainCognitoOptionsList[_r] = { fqn: "@cdktf/provider-aws.dataAwsOpensearchDomain.DataAwsOpensearchDomainCognitoOptionsList", version: "19.50.0" };
function dataAwsOpensearchDomainEbsOptionsToTerraform(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.dataAwsOpensearchDomainEbsOptionsToTerraform = dataAwsOpensearchDomainEbsOptionsToTerraform;
function dataAwsOpensearchDomainEbsOptionsToHclTerraform(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.dataAwsOpensearchDomainEbsOptionsToHclTerraform = dataAwsOpensearchDomainEbsOptionsToHclTerraform;
class DataAwsOpensearchDomainEbsOptionsOutputReference 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.DataAwsOpensearchDomainEbsOptionsOutputReference = DataAwsOpensearchDomainEbsOptionsOutputReference;
_s = JSII_RTTI_SYMBOL_1;
DataAwsOpensearchDomainEbsOptionsOutputReference[_s] = { fqn: "@cdktf/provider-aws.dataAwsOpensearchDomain.DataAwsOpensearchDomainEbsOptionsOutputReference", version: "19.50.0" };
class DataAwsOpensearchDomainEbsOptionsList 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 DataAwsOpensearchDomainEbsOptionsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAwsOpensearchDomainEbsOptionsList = DataAwsOpensearchDomainEbsOptionsList;
_t = JSII_RTTI_SYMBOL_1;
DataAwsOpensearchDomainEbsOptionsList[_t] = { fqn: "@cdktf/provider-aws.dataAwsOpensearchDomain.DataAwsOpensearchDomainEbsOptionsList", version: "19.50.0" };
function dataAwsOpensearchDomainEncryptionAtRestToTerraform(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.dataAwsOpensearchDomainEncryptionAtRestToTerraform = dataAwsOpensearchDomainEncryptionAtRestToTerraform;
function dataAwsOpensearchDomainEncryptionAtRestToHclTerraform(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.dataAwsOpensearchDomainEncryptionAtRestToHclTerraform = dataAwsOpensearchDomainEncryptionAtRestToHclTerraform;
class DataAwsOpensearchDomainEncryptionAtRestOutputReference 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.DataAwsOpensearchDomainEncryptionAtRestOutputReference = DataAwsOpensearchDomainEncryptionAtRestOutputReference;
_u = JSII_RTTI_SYMBOL_1;
DataAwsOpensearchDomainEncryptionAtRestOutputReference[_u] = { fqn: "@cdktf/provider-aws.dataAwsOpensearchDomain.DataAwsOpensearchDomainEncryptionAtRestOutputReference", version: "19.50.0" };
class DataAwsOpensearchDomainEncryptionAtRestList 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 DataAwsOpensearchDomainEncryptionAtRestOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAwsOpensearchDomainEncryptionAtRestList = DataAwsOpensearchDomainEncryptionAtRestList;
_v = JSII_RTTI_SYMBOL_1;
DataAwsOpensearchDomainEncryptionAtRestList[_v] = { fqn: "@cdktf/provider-aws.dataAwsOpensearchDomain.DataAwsOpensearchDomainEncryptionAtRestList", version: "19.50.0" };
function dataAwsOpensearchDomainLogPublishingOptionsToTerraform(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.dataAwsOpensearchDomainLogPublishingOptionsToTerraform = dataAwsOpensearchDomainLogPublishingOptionsToTerraform;
function dataAwsOpensearchDomainLogPublishingOptionsToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new E