UNPKG

@cdktf/provider-aws

Version:

Prebuilt aws Provider for Terraform CDK (cdktf)

720 lines 699 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, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37; Object.defineProperty(exports, "__esModule", { value: true }); exports.TimestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationMixedMeasureMappingMultiMeasureAttributeMappingList = exports.TimestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationMixedMeasureMappingMultiMeasureAttributeMappingOutputReference = exports.TimestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationDimensionMappingList = exports.TimestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationDimensionMappingOutputReference = exports.TimestreamqueryScheduledQueryScheduleConfigurationList = exports.TimestreamqueryScheduledQueryScheduleConfigurationOutputReference = exports.TimestreamqueryScheduledQueryRecentlyFailedRunsList = exports.TimestreamqueryScheduledQueryRecentlyFailedRunsOutputReference = exports.TimestreamqueryScheduledQueryRecentlyFailedRunsQueryInsightsResponseList = exports.TimestreamqueryScheduledQueryRecentlyFailedRunsQueryInsightsResponseOutputReference = exports.TimestreamqueryScheduledQueryRecentlyFailedRunsQueryInsightsResponseQueryTemporalRangeList = exports.TimestreamqueryScheduledQueryRecentlyFailedRunsQueryInsightsResponseQueryTemporalRangeOutputReference = exports.TimestreamqueryScheduledQueryRecentlyFailedRunsQueryInsightsResponseQueryTemporalRangeMaxList = exports.TimestreamqueryScheduledQueryRecentlyFailedRunsQueryInsightsResponseQueryTemporalRangeMaxOutputReference = exports.TimestreamqueryScheduledQueryRecentlyFailedRunsQueryInsightsResponseQuerySpatialCoverageList = exports.TimestreamqueryScheduledQueryRecentlyFailedRunsQueryInsightsResponseQuerySpatialCoverageOutputReference = exports.TimestreamqueryScheduledQueryRecentlyFailedRunsQueryInsightsResponseQuerySpatialCoverageMaxList = exports.TimestreamqueryScheduledQueryRecentlyFailedRunsQueryInsightsResponseQuerySpatialCoverageMaxOutputReference = exports.TimestreamqueryScheduledQueryRecentlyFailedRunsExecutionStatsList = exports.TimestreamqueryScheduledQueryRecentlyFailedRunsExecutionStatsOutputReference = exports.TimestreamqueryScheduledQueryRecentlyFailedRunsErrorReportLocationList = exports.TimestreamqueryScheduledQueryRecentlyFailedRunsErrorReportLocationOutputReference = exports.TimestreamqueryScheduledQueryRecentlyFailedRunsErrorReportLocationS3ReportLocationList = exports.TimestreamqueryScheduledQueryRecentlyFailedRunsErrorReportLocationS3ReportLocationOutputReference = exports.TimestreamqueryScheduledQueryNotificationConfigurationList = exports.TimestreamqueryScheduledQueryNotificationConfigurationOutputReference = exports.TimestreamqueryScheduledQueryNotificationConfigurationSnsConfigurationList = exports.TimestreamqueryScheduledQueryNotificationConfigurationSnsConfigurationOutputReference = exports.TimestreamqueryScheduledQueryLastRunSummaryList = exports.TimestreamqueryScheduledQueryLastRunSummaryOutputReference = exports.TimestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseList = exports.TimestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseOutputReference = exports.TimestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQueryTemporalRangeList = exports.TimestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQueryTemporalRangeOutputReference = exports.TimestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQueryTemporalRangeMaxList = exports.TimestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQueryTemporalRangeMaxOutputReference = exports.TimestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQuerySpatialCoverageList = exports.TimestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQuerySpatialCoverageOutputReference = exports.TimestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQuerySpatialCoverageMaxList = exports.TimestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQuerySpatialCoverageMaxOutputReference = exports.TimestreamqueryScheduledQueryLastRunSummaryExecutionStatsList = exports.TimestreamqueryScheduledQueryLastRunSummaryExecutionStatsOutputReference = exports.TimestreamqueryScheduledQueryLastRunSummaryErrorReportLocationList = exports.TimestreamqueryScheduledQueryLastRunSummaryErrorReportLocationOutputReference = exports.TimestreamqueryScheduledQueryLastRunSummaryErrorReportLocationS3ReportLocationList = exports.TimestreamqueryScheduledQueryLastRunSummaryErrorReportLocationS3ReportLocationOutputReference = exports.TimestreamqueryScheduledQueryErrorReportConfigurationList = exports.TimestreamqueryScheduledQueryErrorReportConfigurationOutputReference = exports.TimestreamqueryScheduledQueryErrorReportConfigurationS3ConfigurationList = exports.TimestreamqueryScheduledQueryErrorReportConfigurationS3ConfigurationOutputReference = void 0; exports.TimestreamqueryScheduledQuery = exports.TimestreamqueryScheduledQueryTimeoutsOutputReference = exports.TimestreamqueryScheduledQueryTargetConfigurationList = exports.TimestreamqueryScheduledQueryTargetConfigurationOutputReference = exports.TimestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationList = exports.TimestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationOutputReference = exports.TimestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationMultiMeasureMappingsList = exports.TimestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationMultiMeasureMappingsOutputReference = exports.TimestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationMultiMeasureMappingsMultiMeasureAttributeMappingList = exports.TimestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationMultiMeasureMappingsMultiMeasureAttributeMappingOutputReference = exports.TimestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationMixedMeasureMappingList = exports.TimestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationMixedMeasureMappingOutputReference = void 0; exports.timestreamqueryScheduledQueryErrorReportConfigurationS3ConfigurationToTerraform = timestreamqueryScheduledQueryErrorReportConfigurationS3ConfigurationToTerraform; exports.timestreamqueryScheduledQueryErrorReportConfigurationS3ConfigurationToHclTerraform = timestreamqueryScheduledQueryErrorReportConfigurationS3ConfigurationToHclTerraform; exports.timestreamqueryScheduledQueryErrorReportConfigurationToTerraform = timestreamqueryScheduledQueryErrorReportConfigurationToTerraform; exports.timestreamqueryScheduledQueryErrorReportConfigurationToHclTerraform = timestreamqueryScheduledQueryErrorReportConfigurationToHclTerraform; exports.timestreamqueryScheduledQueryLastRunSummaryErrorReportLocationS3ReportLocationToTerraform = timestreamqueryScheduledQueryLastRunSummaryErrorReportLocationS3ReportLocationToTerraform; exports.timestreamqueryScheduledQueryLastRunSummaryErrorReportLocationS3ReportLocationToHclTerraform = timestreamqueryScheduledQueryLastRunSummaryErrorReportLocationS3ReportLocationToHclTerraform; exports.timestreamqueryScheduledQueryLastRunSummaryErrorReportLocationToTerraform = timestreamqueryScheduledQueryLastRunSummaryErrorReportLocationToTerraform; exports.timestreamqueryScheduledQueryLastRunSummaryErrorReportLocationToHclTerraform = timestreamqueryScheduledQueryLastRunSummaryErrorReportLocationToHclTerraform; exports.timestreamqueryScheduledQueryLastRunSummaryExecutionStatsToTerraform = timestreamqueryScheduledQueryLastRunSummaryExecutionStatsToTerraform; exports.timestreamqueryScheduledQueryLastRunSummaryExecutionStatsToHclTerraform = timestreamqueryScheduledQueryLastRunSummaryExecutionStatsToHclTerraform; exports.timestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQuerySpatialCoverageMaxToTerraform = timestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQuerySpatialCoverageMaxToTerraform; exports.timestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQuerySpatialCoverageMaxToHclTerraform = timestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQuerySpatialCoverageMaxToHclTerraform; exports.timestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQuerySpatialCoverageToTerraform = timestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQuerySpatialCoverageToTerraform; exports.timestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQuerySpatialCoverageToHclTerraform = timestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQuerySpatialCoverageToHclTerraform; exports.timestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQueryTemporalRangeMaxToTerraform = timestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQueryTemporalRangeMaxToTerraform; exports.timestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQueryTemporalRangeMaxToHclTerraform = timestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQueryTemporalRangeMaxToHclTerraform; exports.timestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQueryTemporalRangeToTerraform = timestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQueryTemporalRangeToTerraform; exports.timestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQueryTemporalRangeToHclTerraform = timestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQueryTemporalRangeToHclTerraform; exports.timestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseToTerraform = timestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseToTerraform; exports.timestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseToHclTerraform = timestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseToHclTerraform; exports.timestreamqueryScheduledQueryLastRunSummaryToTerraform = timestreamqueryScheduledQueryLastRunSummaryToTerraform; exports.timestreamqueryScheduledQueryLastRunSummaryToHclTerraform = timestreamqueryScheduledQueryLastRunSummaryToHclTerraform; exports.timestreamqueryScheduledQueryNotificationConfigurationSnsConfigurationToTerraform = timestreamqueryScheduledQueryNotificationConfigurationSnsConfigurationToTerraform; exports.timestreamqueryScheduledQueryNotificationConfigurationSnsConfigurationToHclTerraform = timestreamqueryScheduledQueryNotificationConfigurationSnsConfigurationToHclTerraform; exports.timestreamqueryScheduledQueryNotificationConfigurationToTerraform = timestreamqueryScheduledQueryNotificationConfigurationToTerraform; exports.timestreamqueryScheduledQueryNotificationConfigurationToHclTerraform = timestreamqueryScheduledQueryNotificationConfigurationToHclTerraform; exports.timestreamqueryScheduledQueryRecentlyFailedRunsErrorReportLocationS3ReportLocationToTerraform = timestreamqueryScheduledQueryRecentlyFailedRunsErrorReportLocationS3ReportLocationToTerraform; exports.timestreamqueryScheduledQueryRecentlyFailedRunsErrorReportLocationS3ReportLocationToHclTerraform = timestreamqueryScheduledQueryRecentlyFailedRunsErrorReportLocationS3ReportLocationToHclTerraform; exports.timestreamqueryScheduledQueryRecentlyFailedRunsErrorReportLocationToTerraform = timestreamqueryScheduledQueryRecentlyFailedRunsErrorReportLocationToTerraform; exports.timestreamqueryScheduledQueryRecentlyFailedRunsErrorReportLocationToHclTerraform = timestreamqueryScheduledQueryRecentlyFailedRunsErrorReportLocationToHclTerraform; exports.timestreamqueryScheduledQueryRecentlyFailedRunsExecutionStatsToTerraform = timestreamqueryScheduledQueryRecentlyFailedRunsExecutionStatsToTerraform; exports.timestreamqueryScheduledQueryRecentlyFailedRunsExecutionStatsToHclTerraform = timestreamqueryScheduledQueryRecentlyFailedRunsExecutionStatsToHclTerraform; exports.timestreamqueryScheduledQueryRecentlyFailedRunsQueryInsightsResponseQuerySpatialCoverageMaxToTerraform = timestreamqueryScheduledQueryRecentlyFailedRunsQueryInsightsResponseQuerySpatialCoverageMaxToTerraform; exports.timestreamqueryScheduledQueryRecentlyFailedRunsQueryInsightsResponseQuerySpatialCoverageMaxToHclTerraform = timestreamqueryScheduledQueryRecentlyFailedRunsQueryInsightsResponseQuerySpatialCoverageMaxToHclTerraform; exports.timestreamqueryScheduledQueryRecentlyFailedRunsQueryInsightsResponseQuerySpatialCoverageToTerraform = timestreamqueryScheduledQueryRecentlyFailedRunsQueryInsightsResponseQuerySpatialCoverageToTerraform; exports.timestreamqueryScheduledQueryRecentlyFailedRunsQueryInsightsResponseQuerySpatialCoverageToHclTerraform = timestreamqueryScheduledQueryRecentlyFailedRunsQueryInsightsResponseQuerySpatialCoverageToHclTerraform; exports.timestreamqueryScheduledQueryRecentlyFailedRunsQueryInsightsResponseQueryTemporalRangeMaxToTerraform = timestreamqueryScheduledQueryRecentlyFailedRunsQueryInsightsResponseQueryTemporalRangeMaxToTerraform; exports.timestreamqueryScheduledQueryRecentlyFailedRunsQueryInsightsResponseQueryTemporalRangeMaxToHclTerraform = timestreamqueryScheduledQueryRecentlyFailedRunsQueryInsightsResponseQueryTemporalRangeMaxToHclTerraform; exports.timestreamqueryScheduledQueryRecentlyFailedRunsQueryInsightsResponseQueryTemporalRangeToTerraform = timestreamqueryScheduledQueryRecentlyFailedRunsQueryInsightsResponseQueryTemporalRangeToTerraform; exports.timestreamqueryScheduledQueryRecentlyFailedRunsQueryInsightsResponseQueryTemporalRangeToHclTerraform = timestreamqueryScheduledQueryRecentlyFailedRunsQueryInsightsResponseQueryTemporalRangeToHclTerraform; exports.timestreamqueryScheduledQueryRecentlyFailedRunsQueryInsightsResponseToTerraform = timestreamqueryScheduledQueryRecentlyFailedRunsQueryInsightsResponseToTerraform; exports.timestreamqueryScheduledQueryRecentlyFailedRunsQueryInsightsResponseToHclTerraform = timestreamqueryScheduledQueryRecentlyFailedRunsQueryInsightsResponseToHclTerraform; exports.timestreamqueryScheduledQueryRecentlyFailedRunsToTerraform = timestreamqueryScheduledQueryRecentlyFailedRunsToTerraform; exports.timestreamqueryScheduledQueryRecentlyFailedRunsToHclTerraform = timestreamqueryScheduledQueryRecentlyFailedRunsToHclTerraform; exports.timestreamqueryScheduledQueryScheduleConfigurationToTerraform = timestreamqueryScheduledQueryScheduleConfigurationToTerraform; exports.timestreamqueryScheduledQueryScheduleConfigurationToHclTerraform = timestreamqueryScheduledQueryScheduleConfigurationToHclTerraform; exports.timestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationDimensionMappingToTerraform = timestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationDimensionMappingToTerraform; exports.timestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationDimensionMappingToHclTerraform = timestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationDimensionMappingToHclTerraform; exports.timestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationMixedMeasureMappingMultiMeasureAttributeMappingToTerraform = timestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationMixedMeasureMappingMultiMeasureAttributeMappingToTerraform; exports.timestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationMixedMeasureMappingMultiMeasureAttributeMappingToHclTerraform = timestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationMixedMeasureMappingMultiMeasureAttributeMappingToHclTerraform; exports.timestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationMixedMeasureMappingToTerraform = timestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationMixedMeasureMappingToTerraform; exports.timestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationMixedMeasureMappingToHclTerraform = timestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationMixedMeasureMappingToHclTerraform; exports.timestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationMultiMeasureMappingsMultiMeasureAttributeMappingToTerraform = timestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationMultiMeasureMappingsMultiMeasureAttributeMappingToTerraform; exports.timestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationMultiMeasureMappingsMultiMeasureAttributeMappingToHclTerraform = timestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationMultiMeasureMappingsMultiMeasureAttributeMappingToHclTerraform; exports.timestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationMultiMeasureMappingsToTerraform = timestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationMultiMeasureMappingsToTerraform; exports.timestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationMultiMeasureMappingsToHclTerraform = timestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationMultiMeasureMappingsToHclTerraform; exports.timestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationToTerraform = timestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationToTerraform; exports.timestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationToHclTerraform = timestreamqueryScheduledQueryTargetConfigurationTimestreamConfigurationToHclTerraform; exports.timestreamqueryScheduledQueryTargetConfigurationToTerraform = timestreamqueryScheduledQueryTargetConfigurationToTerraform; exports.timestreamqueryScheduledQueryTargetConfigurationToHclTerraform = timestreamqueryScheduledQueryTargetConfigurationToHclTerraform; exports.timestreamqueryScheduledQueryTimeoutsToTerraform = timestreamqueryScheduledQueryTimeoutsToTerraform; exports.timestreamqueryScheduledQueryTimeoutsToHclTerraform = timestreamqueryScheduledQueryTimeoutsToHclTerraform; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function timestreamqueryScheduledQueryErrorReportConfigurationS3ConfigurationToTerraform(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 { bucket_name: cdktf.stringToTerraform(struct.bucketName), encryption_option: cdktf.stringToTerraform(struct.encryptionOption), object_key_prefix: cdktf.stringToTerraform(struct.objectKeyPrefix), }; } function timestreamqueryScheduledQueryErrorReportConfigurationS3ConfigurationToHclTerraform(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 = { bucket_name: { value: cdktf.stringToHclTerraform(struct.bucketName), isBlock: false, type: "simple", storageClassType: "string", }, encryption_option: { value: cdktf.stringToHclTerraform(struct.encryptionOption), isBlock: false, type: "simple", storageClassType: "string", }, object_key_prefix: { value: cdktf.stringToHclTerraform(struct.objectKeyPrefix), isBlock: false, type: "simple", storageClassType: "string", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } class TimestreamqueryScheduledQueryErrorReportConfigurationS3ConfigurationOutputReference 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() { if (this.resolvableValue) { return this.resolvableValue; } let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._bucketName !== undefined) { hasAnyValues = true; internalValueResult.bucketName = this._bucketName; } if (this._encryptionOption !== undefined) { hasAnyValues = true; internalValueResult.encryptionOption = this._encryptionOption; } if (this._objectKeyPrefix !== undefined) { hasAnyValues = true; internalValueResult.objectKeyPrefix = this._objectKeyPrefix; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._bucketName = undefined; this._encryptionOption = undefined; this._objectKeyPrefix = undefined; } else if (cdktf.Tokenization.isResolvable(value)) { this.isEmptyObject = false; this.resolvableValue = value; } else { this.isEmptyObject = Object.keys(value).length === 0; this.resolvableValue = undefined; this._bucketName = value.bucketName; this._encryptionOption = value.encryptionOption; this._objectKeyPrefix = value.objectKeyPrefix; } } get bucketName() { return this.getStringAttribute('bucket_name'); } set bucketName(value) { this._bucketName = value; } // Temporarily expose input value. Use with caution. get bucketNameInput() { return this._bucketName; } get encryptionOption() { return this.getStringAttribute('encryption_option'); } set encryptionOption(value) { this._encryptionOption = value; } resetEncryptionOption() { this._encryptionOption = undefined; } // Temporarily expose input value. Use with caution. get encryptionOptionInput() { return this._encryptionOption; } get objectKeyPrefix() { return this.getStringAttribute('object_key_prefix'); } set objectKeyPrefix(value) { this._objectKeyPrefix = value; } resetObjectKeyPrefix() { this._objectKeyPrefix = undefined; } // Temporarily expose input value. Use with caution. get objectKeyPrefixInput() { return this._objectKeyPrefix; } } exports.TimestreamqueryScheduledQueryErrorReportConfigurationS3ConfigurationOutputReference = TimestreamqueryScheduledQueryErrorReportConfigurationS3ConfigurationOutputReference; _a = JSII_RTTI_SYMBOL_1; TimestreamqueryScheduledQueryErrorReportConfigurationS3ConfigurationOutputReference[_a] = { fqn: "@cdktf/provider-aws.timestreamqueryScheduledQuery.TimestreamqueryScheduledQueryErrorReportConfigurationS3ConfigurationOutputReference", version: "21.22.1" }; class TimestreamqueryScheduledQueryErrorReportConfigurationS3ConfigurationList 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 TimestreamqueryScheduledQueryErrorReportConfigurationS3ConfigurationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.TimestreamqueryScheduledQueryErrorReportConfigurationS3ConfigurationList = TimestreamqueryScheduledQueryErrorReportConfigurationS3ConfigurationList; _b = JSII_RTTI_SYMBOL_1; TimestreamqueryScheduledQueryErrorReportConfigurationS3ConfigurationList[_b] = { fqn: "@cdktf/provider-aws.timestreamqueryScheduledQuery.TimestreamqueryScheduledQueryErrorReportConfigurationS3ConfigurationList", version: "21.22.1" }; function timestreamqueryScheduledQueryErrorReportConfigurationToTerraform(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 { s3_configuration: cdktf.listMapper(timestreamqueryScheduledQueryErrorReportConfigurationS3ConfigurationToTerraform, true)(struct.s3Configuration), }; } function timestreamqueryScheduledQueryErrorReportConfigurationToHclTerraform(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 = { s3_configuration: { value: cdktf.listMapperHcl(timestreamqueryScheduledQueryErrorReportConfigurationS3ConfigurationToHclTerraform, true)(struct.s3Configuration), isBlock: true, type: "list", storageClassType: "TimestreamqueryScheduledQueryErrorReportConfigurationS3ConfigurationList", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } class TimestreamqueryScheduledQueryErrorReportConfigurationOutputReference 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; // s3_configuration - computed: false, optional: true, required: false this._s3Configuration = new TimestreamqueryScheduledQueryErrorReportConfigurationS3ConfigurationList(this, "s3_configuration", false); } get internalValue() { if (this.resolvableValue) { return this.resolvableValue; } let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._s3Configuration?.internalValue !== undefined) { hasAnyValues = true; internalValueResult.s3Configuration = this._s3Configuration?.internalValue; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._s3Configuration.internalValue = undefined; } else if (cdktf.Tokenization.isResolvable(value)) { this.isEmptyObject = false; this.resolvableValue = value; } else { this.isEmptyObject = Object.keys(value).length === 0; this.resolvableValue = undefined; this._s3Configuration.internalValue = value.s3Configuration; } } get s3Configuration() { return this._s3Configuration; } putS3Configuration(value) { this._s3Configuration.internalValue = value; } resetS3Configuration() { this._s3Configuration.internalValue = undefined; } // Temporarily expose input value. Use with caution. get s3ConfigurationInput() { return this._s3Configuration.internalValue; } } exports.TimestreamqueryScheduledQueryErrorReportConfigurationOutputReference = TimestreamqueryScheduledQueryErrorReportConfigurationOutputReference; _c = JSII_RTTI_SYMBOL_1; TimestreamqueryScheduledQueryErrorReportConfigurationOutputReference[_c] = { fqn: "@cdktf/provider-aws.timestreamqueryScheduledQuery.TimestreamqueryScheduledQueryErrorReportConfigurationOutputReference", version: "21.22.1" }; class TimestreamqueryScheduledQueryErrorReportConfigurationList 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 TimestreamqueryScheduledQueryErrorReportConfigurationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.TimestreamqueryScheduledQueryErrorReportConfigurationList = TimestreamqueryScheduledQueryErrorReportConfigurationList; _d = JSII_RTTI_SYMBOL_1; TimestreamqueryScheduledQueryErrorReportConfigurationList[_d] = { fqn: "@cdktf/provider-aws.timestreamqueryScheduledQuery.TimestreamqueryScheduledQueryErrorReportConfigurationList", version: "21.22.1" }; function timestreamqueryScheduledQueryLastRunSummaryErrorReportLocationS3ReportLocationToTerraform(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 timestreamqueryScheduledQueryLastRunSummaryErrorReportLocationS3ReportLocationToHclTerraform(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 TimestreamqueryScheduledQueryLastRunSummaryErrorReportLocationS3ReportLocationOutputReference 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() { if (this.resolvableValue) { return this.resolvableValue; } let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; } else if (cdktf.Tokenization.isResolvable(value)) { this.isEmptyObject = false; this.resolvableValue = value; } else { this.isEmptyObject = Object.keys(value).length === 0; this.resolvableValue = undefined; } } // bucket_name - computed: true, optional: false, required: false get bucketName() { return this.getStringAttribute('bucket_name'); } // object_key - computed: true, optional: false, required: false get objectKey() { return this.getStringAttribute('object_key'); } } exports.TimestreamqueryScheduledQueryLastRunSummaryErrorReportLocationS3ReportLocationOutputReference = TimestreamqueryScheduledQueryLastRunSummaryErrorReportLocationS3ReportLocationOutputReference; _e = JSII_RTTI_SYMBOL_1; TimestreamqueryScheduledQueryLastRunSummaryErrorReportLocationS3ReportLocationOutputReference[_e] = { fqn: "@cdktf/provider-aws.timestreamqueryScheduledQuery.TimestreamqueryScheduledQueryLastRunSummaryErrorReportLocationS3ReportLocationOutputReference", version: "21.22.1" }; class TimestreamqueryScheduledQueryLastRunSummaryErrorReportLocationS3ReportLocationList 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 TimestreamqueryScheduledQueryLastRunSummaryErrorReportLocationS3ReportLocationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.TimestreamqueryScheduledQueryLastRunSummaryErrorReportLocationS3ReportLocationList = TimestreamqueryScheduledQueryLastRunSummaryErrorReportLocationS3ReportLocationList; _f = JSII_RTTI_SYMBOL_1; TimestreamqueryScheduledQueryLastRunSummaryErrorReportLocationS3ReportLocationList[_f] = { fqn: "@cdktf/provider-aws.timestreamqueryScheduledQuery.TimestreamqueryScheduledQueryLastRunSummaryErrorReportLocationS3ReportLocationList", version: "21.22.1" }; function timestreamqueryScheduledQueryLastRunSummaryErrorReportLocationToTerraform(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 { s3_report_location: cdktf.listMapper(timestreamqueryScheduledQueryLastRunSummaryErrorReportLocationS3ReportLocationToTerraform, true)(struct.s3ReportLocation), }; } function timestreamqueryScheduledQueryLastRunSummaryErrorReportLocationToHclTerraform(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 = { s3_report_location: { value: cdktf.listMapperHcl(timestreamqueryScheduledQueryLastRunSummaryErrorReportLocationS3ReportLocationToHclTerraform, true)(struct.s3ReportLocation), isBlock: true, type: "list", storageClassType: "TimestreamqueryScheduledQueryLastRunSummaryErrorReportLocationS3ReportLocationList", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } class TimestreamqueryScheduledQueryLastRunSummaryErrorReportLocationOutputReference 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; // s3_report_location - computed: false, optional: true, required: false this._s3ReportLocation = new TimestreamqueryScheduledQueryLastRunSummaryErrorReportLocationS3ReportLocationList(this, "s3_report_location", false); } get internalValue() { if (this.resolvableValue) { return this.resolvableValue; } let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._s3ReportLocation?.internalValue !== undefined) { hasAnyValues = true; internalValueResult.s3ReportLocation = this._s3ReportLocation?.internalValue; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._s3ReportLocation.internalValue = undefined; } else if (cdktf.Tokenization.isResolvable(value)) { this.isEmptyObject = false; this.resolvableValue = value; } else { this.isEmptyObject = Object.keys(value).length === 0; this.resolvableValue = undefined; this._s3ReportLocation.internalValue = value.s3ReportLocation; } } get s3ReportLocation() { return this._s3ReportLocation; } putS3ReportLocation(value) { this._s3ReportLocation.internalValue = value; } resetS3ReportLocation() { this._s3ReportLocation.internalValue = undefined; } // Temporarily expose input value. Use with caution. get s3ReportLocationInput() { return this._s3ReportLocation.internalValue; } } exports.TimestreamqueryScheduledQueryLastRunSummaryErrorReportLocationOutputReference = TimestreamqueryScheduledQueryLastRunSummaryErrorReportLocationOutputReference; _g = JSII_RTTI_SYMBOL_1; TimestreamqueryScheduledQueryLastRunSummaryErrorReportLocationOutputReference[_g] = { fqn: "@cdktf/provider-aws.timestreamqueryScheduledQuery.TimestreamqueryScheduledQueryLastRunSummaryErrorReportLocationOutputReference", version: "21.22.1" }; class TimestreamqueryScheduledQueryLastRunSummaryErrorReportLocationList 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 TimestreamqueryScheduledQueryLastRunSummaryErrorReportLocationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.TimestreamqueryScheduledQueryLastRunSummaryErrorReportLocationList = TimestreamqueryScheduledQueryLastRunSummaryErrorReportLocationList; _h = JSII_RTTI_SYMBOL_1; TimestreamqueryScheduledQueryLastRunSummaryErrorReportLocationList[_h] = { fqn: "@cdktf/provider-aws.timestreamqueryScheduledQuery.TimestreamqueryScheduledQueryLastRunSummaryErrorReportLocationList", version: "21.22.1" }; function timestreamqueryScheduledQueryLastRunSummaryExecutionStatsToTerraform(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 timestreamqueryScheduledQueryLastRunSummaryExecutionStatsToHclTerraform(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 TimestreamqueryScheduledQueryLastRunSummaryExecutionStatsOutputReference 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() { if (this.resolvableValue) { return this.resolvableValue; } let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; } else if (cdktf.Tokenization.isResolvable(value)) { this.isEmptyObject = false; this.resolvableValue = value; } else { this.isEmptyObject = Object.keys(value).length === 0; this.resolvableValue = undefined; } } // bytes_metered - computed: true, optional: false, required: false get bytesMetered() { return this.getNumberAttribute('bytes_metered'); } // cumulative_bytes_scanned - computed: true, optional: false, required: false get cumulativeBytesScanned() { return this.getNumberAttribute('cumulative_bytes_scanned'); } // data_writes - computed: true, optional: false, required: false get dataWrites() { return this.getNumberAttribute('data_writes'); } // execution_time_in_millis - computed: true, optional: false, required: false get executionTimeInMillis() { return this.getNumberAttribute('execution_time_in_millis'); } // query_result_rows - computed: true, optional: false, required: false get queryResultRows() { return this.getNumberAttribute('query_result_rows'); } // records_ingested - computed: true, optional: false, required: false get recordsIngested() { return this.getNumberAttribute('records_ingested'); } } exports.TimestreamqueryScheduledQueryLastRunSummaryExecutionStatsOutputReference = TimestreamqueryScheduledQueryLastRunSummaryExecutionStatsOutputReference; _j = JSII_RTTI_SYMBOL_1; TimestreamqueryScheduledQueryLastRunSummaryExecutionStatsOutputReference[_j] = { fqn: "@cdktf/provider-aws.timestreamqueryScheduledQuery.TimestreamqueryScheduledQueryLastRunSummaryExecutionStatsOutputReference", version: "21.22.1" }; class TimestreamqueryScheduledQueryLastRunSummaryExecutionStatsList 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 TimestreamqueryScheduledQueryLastRunSummaryExecutionStatsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.TimestreamqueryScheduledQueryLastRunSummaryExecutionStatsList = TimestreamqueryScheduledQueryLastRunSummaryExecutionStatsList; _k = JSII_RTTI_SYMBOL_1; TimestreamqueryScheduledQueryLastRunSummaryExecutionStatsList[_k] = { fqn: "@cdktf/provider-aws.timestreamqueryScheduledQuery.TimestreamqueryScheduledQueryLastRunSummaryExecutionStatsList", version: "21.22.1" }; function timestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQuerySpatialCoverageMaxToTerraform(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 timestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQuerySpatialCoverageMaxToHclTerraform(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 TimestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQuerySpatialCoverageMaxOutputReference 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() { if (this.resolvableValue) { return this.resolvableValue; } let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; } else if (cdktf.Tokenization.isResolvable(value)) { this.isEmptyObject = false; this.resolvableValue = value; } else { this.isEmptyObject = Object.keys(value).length === 0; this.resolvableValue = undefined; } } // partition_key - computed: true, optional: false, required: false get partitionKey() { return this.getListAttribute('partition_key'); } // table_arn - computed: true, optional: false, required: false get tableArn() { return this.getStringAttribute('table_arn'); } // value - computed: true, optional: false, required: false get value() { return this.getNumberAttribute('value'); } } exports.TimestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQuerySpatialCoverageMaxOutputReference = TimestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQuerySpatialCoverageMaxOutputReference; _l = JSII_RTTI_SYMBOL_1; TimestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQuerySpatialCoverageMaxOutputReference[_l] = { fqn: "@cdktf/provider-aws.timestreamqueryScheduledQuery.TimestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQuerySpatialCoverageMaxOutputReference", version: "21.22.1" }; class TimestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQuerySpatialCoverageMaxList 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 TimestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQuerySpatialCoverageMaxOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.TimestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQuerySpatialCoverageMaxList = TimestreamqueryScheduledQueryLastRunSummaryQueryInsightsResponseQuerySpatialCoverageMaxList; _m