@cdktf/provider-aws
Version:
Prebuilt aws Provider for Terraform CDK (cdktf)
741 lines • 638 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, _12;
Object.defineProperty(exports, "__esModule", { value: true });
exports.MedialiveChannelVpcOutputReference = exports.MedialiveChannelTimeoutsOutputReference = exports.MedialiveChannelMaintenanceOutputReference = exports.MedialiveChannelInputSpecificationOutputReference = exports.MedialiveChannelInputAttachmentsList = exports.MedialiveChannelInputAttachmentsOutputReference = exports.MedialiveChannelInputAttachmentsInputSettingsOutputReference = exports.MedialiveChannelInputAttachmentsInputSettingsVideoSelectorOutputReference = exports.MedialiveChannelInputAttachmentsInputSettingsNetworkInputSettingsOutputReference = exports.MedialiveChannelInputAttachmentsInputSettingsNetworkInputSettingsHlsInputSettingsOutputReference = exports.MedialiveChannelInputAttachmentsInputSettingsCaptionSelectorList = exports.MedialiveChannelInputAttachmentsInputSettingsCaptionSelectorOutputReference = exports.MedialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsOutputReference = exports.MedialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsTeletextSourceSettingsOutputReference = exports.MedialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsTeletextSourceSettingsOutputRectangleOutputReference = exports.MedialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsScte27SourceSettingsOutputReference = exports.MedialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsScte20SourceSettingsOutputReference = exports.MedialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsEmbeddedSourceSettingsOutputReference = exports.MedialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsDvbSubSourceSettingsOutputReference = exports.MedialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsAribSourceSettingsOutputReference = exports.MedialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsAncillarySourceSettingsOutputReference = exports.MedialiveChannelInputAttachmentsInputSettingsAudioSelectorList = exports.MedialiveChannelInputAttachmentsInputSettingsAudioSelectorOutputReference = exports.MedialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsOutputReference = exports.MedialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioTrackSelectionOutputReference = exports.MedialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioTrackSelectionTracksList = exports.MedialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioTrackSelectionTracksOutputReference = exports.MedialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioTrackSelectionDolbyEDecodeOutputReference = exports.MedialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioPidSelectionOutputReference = exports.MedialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioLanguageSelectionOutputReference = exports.MedialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioHlsRenditionSelectionOutputReference = exports.MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsOutputReference = exports.MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionList = exports.MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionOutputReference = exports.MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsOutputReference = exports.MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsVideoBlackSettingsOutputReference = exports.MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsInputLossSettingsOutputReference = void 0;
exports.medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsInputLossSettingsToTerraform = medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsInputLossSettingsToTerraform;
exports.medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsInputLossSettingsToHclTerraform = medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsInputLossSettingsToHclTerraform;
exports.medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsVideoBlackSettingsToTerraform = medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsVideoBlackSettingsToTerraform;
exports.medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsVideoBlackSettingsToHclTerraform = medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsVideoBlackSettingsToHclTerraform;
exports.medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsToTerraform = medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsToTerraform;
exports.medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsToHclTerraform = medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsToHclTerraform;
exports.medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionToTerraform = medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionToTerraform;
exports.medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionToHclTerraform = medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionToHclTerraform;
exports.medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsToTerraform = medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsToTerraform;
exports.medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsToHclTerraform = medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsToHclTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioHlsRenditionSelectionToTerraform = medialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioHlsRenditionSelectionToTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioHlsRenditionSelectionToHclTerraform = medialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioHlsRenditionSelectionToHclTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioLanguageSelectionToTerraform = medialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioLanguageSelectionToTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioLanguageSelectionToHclTerraform = medialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioLanguageSelectionToHclTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioPidSelectionToTerraform = medialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioPidSelectionToTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioPidSelectionToHclTerraform = medialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioPidSelectionToHclTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioTrackSelectionDolbyEDecodeToTerraform = medialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioTrackSelectionDolbyEDecodeToTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioTrackSelectionDolbyEDecodeToHclTerraform = medialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioTrackSelectionDolbyEDecodeToHclTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioTrackSelectionTracksToTerraform = medialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioTrackSelectionTracksToTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioTrackSelectionTracksToHclTerraform = medialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioTrackSelectionTracksToHclTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioTrackSelectionToTerraform = medialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioTrackSelectionToTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioTrackSelectionToHclTerraform = medialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioTrackSelectionToHclTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsToTerraform = medialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsToTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsToHclTerraform = medialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsToHclTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsAudioSelectorToTerraform = medialiveChannelInputAttachmentsInputSettingsAudioSelectorToTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsAudioSelectorToHclTerraform = medialiveChannelInputAttachmentsInputSettingsAudioSelectorToHclTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsAncillarySourceSettingsToTerraform = medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsAncillarySourceSettingsToTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsAncillarySourceSettingsToHclTerraform = medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsAncillarySourceSettingsToHclTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsAribSourceSettingsToTerraform = medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsAribSourceSettingsToTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsAribSourceSettingsToHclTerraform = medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsAribSourceSettingsToHclTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsDvbSubSourceSettingsToTerraform = medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsDvbSubSourceSettingsToTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsDvbSubSourceSettingsToHclTerraform = medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsDvbSubSourceSettingsToHclTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsEmbeddedSourceSettingsToTerraform = medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsEmbeddedSourceSettingsToTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsEmbeddedSourceSettingsToHclTerraform = medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsEmbeddedSourceSettingsToHclTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsScte20SourceSettingsToTerraform = medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsScte20SourceSettingsToTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsScte20SourceSettingsToHclTerraform = medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsScte20SourceSettingsToHclTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsScte27SourceSettingsToTerraform = medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsScte27SourceSettingsToTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsScte27SourceSettingsToHclTerraform = medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsScte27SourceSettingsToHclTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsTeletextSourceSettingsOutputRectangleToTerraform = medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsTeletextSourceSettingsOutputRectangleToTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsTeletextSourceSettingsOutputRectangleToHclTerraform = medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsTeletextSourceSettingsOutputRectangleToHclTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsTeletextSourceSettingsToTerraform = medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsTeletextSourceSettingsToTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsTeletextSourceSettingsToHclTerraform = medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsTeletextSourceSettingsToHclTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsToTerraform = medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsToTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsToHclTerraform = medialiveChannelInputAttachmentsInputSettingsCaptionSelectorSelectorSettingsToHclTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsCaptionSelectorToTerraform = medialiveChannelInputAttachmentsInputSettingsCaptionSelectorToTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsCaptionSelectorToHclTerraform = medialiveChannelInputAttachmentsInputSettingsCaptionSelectorToHclTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsNetworkInputSettingsHlsInputSettingsToTerraform = medialiveChannelInputAttachmentsInputSettingsNetworkInputSettingsHlsInputSettingsToTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsNetworkInputSettingsHlsInputSettingsToHclTerraform = medialiveChannelInputAttachmentsInputSettingsNetworkInputSettingsHlsInputSettingsToHclTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsNetworkInputSettingsToTerraform = medialiveChannelInputAttachmentsInputSettingsNetworkInputSettingsToTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsNetworkInputSettingsToHclTerraform = medialiveChannelInputAttachmentsInputSettingsNetworkInputSettingsToHclTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsVideoSelectorToTerraform = medialiveChannelInputAttachmentsInputSettingsVideoSelectorToTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsVideoSelectorToHclTerraform = medialiveChannelInputAttachmentsInputSettingsVideoSelectorToHclTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsToTerraform = medialiveChannelInputAttachmentsInputSettingsToTerraform;
exports.medialiveChannelInputAttachmentsInputSettingsToHclTerraform = medialiveChannelInputAttachmentsInputSettingsToHclTerraform;
exports.medialiveChannelInputAttachmentsToTerraform = medialiveChannelInputAttachmentsToTerraform;
exports.medialiveChannelInputAttachmentsToHclTerraform = medialiveChannelInputAttachmentsToHclTerraform;
exports.medialiveChannelInputSpecificationToTerraform = medialiveChannelInputSpecificationToTerraform;
exports.medialiveChannelInputSpecificationToHclTerraform = medialiveChannelInputSpecificationToHclTerraform;
exports.medialiveChannelMaintenanceToTerraform = medialiveChannelMaintenanceToTerraform;
exports.medialiveChannelMaintenanceToHclTerraform = medialiveChannelMaintenanceToHclTerraform;
exports.medialiveChannelTimeoutsToTerraform = medialiveChannelTimeoutsToTerraform;
exports.medialiveChannelTimeoutsToHclTerraform = medialiveChannelTimeoutsToHclTerraform;
exports.medialiveChannelVpcToTerraform = medialiveChannelVpcToTerraform;
exports.medialiveChannelVpcToHclTerraform = medialiveChannelVpcToHclTerraform;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
const cdktf = require("cdktf");
const structs0_1 = require("./structs0");
function medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsInputLossSettingsToTerraform(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 {
input_loss_threshold_msec: cdktf.numberToTerraform(struct.inputLossThresholdMsec),
};
}
function medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsInputLossSettingsToHclTerraform(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 = {
input_loss_threshold_msec: {
value: cdktf.numberToHclTerraform(struct.inputLossThresholdMsec),
isBlock: false,
type: "simple",
storageClassType: "number",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsInputLossSettingsOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false, 0);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._inputLossThresholdMsec !== undefined) {
hasAnyValues = true;
internalValueResult.inputLossThresholdMsec = this._inputLossThresholdMsec;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._inputLossThresholdMsec = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._inputLossThresholdMsec = value.inputLossThresholdMsec;
}
}
get inputLossThresholdMsec() {
return this.getNumberAttribute('input_loss_threshold_msec');
}
set inputLossThresholdMsec(value) {
this._inputLossThresholdMsec = value;
}
resetInputLossThresholdMsec() {
this._inputLossThresholdMsec = undefined;
}
// Temporarily expose input value. Use with caution.
get inputLossThresholdMsecInput() {
return this._inputLossThresholdMsec;
}
}
exports.MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsInputLossSettingsOutputReference = MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsInputLossSettingsOutputReference;
_a = JSII_RTTI_SYMBOL_1;
MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsInputLossSettingsOutputReference[_a] = { fqn: "@cdktf/provider-aws.medialiveChannel.MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsInputLossSettingsOutputReference", version: "21.22.1" };
function medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsVideoBlackSettingsToTerraform(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 {
black_detect_threshold: cdktf.numberToTerraform(struct.blackDetectThreshold),
video_black_threshold_msec: cdktf.numberToTerraform(struct.videoBlackThresholdMsec),
};
}
function medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsVideoBlackSettingsToHclTerraform(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 = {
black_detect_threshold: {
value: cdktf.numberToHclTerraform(struct.blackDetectThreshold),
isBlock: false,
type: "simple",
storageClassType: "number",
},
video_black_threshold_msec: {
value: cdktf.numberToHclTerraform(struct.videoBlackThresholdMsec),
isBlock: false,
type: "simple",
storageClassType: "number",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsVideoBlackSettingsOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false, 0);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._blackDetectThreshold !== undefined) {
hasAnyValues = true;
internalValueResult.blackDetectThreshold = this._blackDetectThreshold;
}
if (this._videoBlackThresholdMsec !== undefined) {
hasAnyValues = true;
internalValueResult.videoBlackThresholdMsec = this._videoBlackThresholdMsec;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._blackDetectThreshold = undefined;
this._videoBlackThresholdMsec = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._blackDetectThreshold = value.blackDetectThreshold;
this._videoBlackThresholdMsec = value.videoBlackThresholdMsec;
}
}
get blackDetectThreshold() {
return this.getNumberAttribute('black_detect_threshold');
}
set blackDetectThreshold(value) {
this._blackDetectThreshold = value;
}
resetBlackDetectThreshold() {
this._blackDetectThreshold = undefined;
}
// Temporarily expose input value. Use with caution.
get blackDetectThresholdInput() {
return this._blackDetectThreshold;
}
get videoBlackThresholdMsec() {
return this.getNumberAttribute('video_black_threshold_msec');
}
set videoBlackThresholdMsec(value) {
this._videoBlackThresholdMsec = value;
}
resetVideoBlackThresholdMsec() {
this._videoBlackThresholdMsec = undefined;
}
// Temporarily expose input value. Use with caution.
get videoBlackThresholdMsecInput() {
return this._videoBlackThresholdMsec;
}
}
exports.MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsVideoBlackSettingsOutputReference = MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsVideoBlackSettingsOutputReference;
_b = JSII_RTTI_SYMBOL_1;
MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsVideoBlackSettingsOutputReference[_b] = { fqn: "@cdktf/provider-aws.medialiveChannel.MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsVideoBlackSettingsOutputReference", version: "21.22.1" };
function medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsToTerraform(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 {
audio_silence_settings: (0, structs0_1.medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsAudioSilenceSettingsToTerraform)(struct.audioSilenceSettings),
input_loss_settings: medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsInputLossSettingsToTerraform(struct.inputLossSettings),
video_black_settings: medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsVideoBlackSettingsToTerraform(struct.videoBlackSettings),
};
}
function medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsToHclTerraform(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 = {
audio_silence_settings: {
value: (0, structs0_1.medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsAudioSilenceSettingsToHclTerraform)(struct.audioSilenceSettings),
isBlock: true,
type: "list",
storageClassType: "MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsAudioSilenceSettingsList",
},
input_loss_settings: {
value: medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsInputLossSettingsToHclTerraform(struct.inputLossSettings),
isBlock: true,
type: "list",
storageClassType: "MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsInputLossSettingsList",
},
video_black_settings: {
value: medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsVideoBlackSettingsToHclTerraform(struct.videoBlackSettings),
isBlock: true,
type: "list",
storageClassType: "MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsVideoBlackSettingsList",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false, 0);
this.isEmptyObject = false;
// audio_silence_settings - computed: false, optional: true, required: false
this._audioSilenceSettings = new structs0_1.MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsAudioSilenceSettingsOutputReference(this, "audio_silence_settings");
// input_loss_settings - computed: false, optional: true, required: false
this._inputLossSettings = new MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsInputLossSettingsOutputReference(this, "input_loss_settings");
// video_black_settings - computed: false, optional: true, required: false
this._videoBlackSettings = new MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsVideoBlackSettingsOutputReference(this, "video_black_settings");
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._audioSilenceSettings?.internalValue !== undefined) {
hasAnyValues = true;
internalValueResult.audioSilenceSettings = this._audioSilenceSettings?.internalValue;
}
if (this._inputLossSettings?.internalValue !== undefined) {
hasAnyValues = true;
internalValueResult.inputLossSettings = this._inputLossSettings?.internalValue;
}
if (this._videoBlackSettings?.internalValue !== undefined) {
hasAnyValues = true;
internalValueResult.videoBlackSettings = this._videoBlackSettings?.internalValue;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._audioSilenceSettings.internalValue = undefined;
this._inputLossSettings.internalValue = undefined;
this._videoBlackSettings.internalValue = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._audioSilenceSettings.internalValue = value.audioSilenceSettings;
this._inputLossSettings.internalValue = value.inputLossSettings;
this._videoBlackSettings.internalValue = value.videoBlackSettings;
}
}
get audioSilenceSettings() {
return this._audioSilenceSettings;
}
putAudioSilenceSettings(value) {
this._audioSilenceSettings.internalValue = value;
}
resetAudioSilenceSettings() {
this._audioSilenceSettings.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get audioSilenceSettingsInput() {
return this._audioSilenceSettings.internalValue;
}
get inputLossSettings() {
return this._inputLossSettings;
}
putInputLossSettings(value) {
this._inputLossSettings.internalValue = value;
}
resetInputLossSettings() {
this._inputLossSettings.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get inputLossSettingsInput() {
return this._inputLossSettings.internalValue;
}
get videoBlackSettings() {
return this._videoBlackSettings;
}
putVideoBlackSettings(value) {
this._videoBlackSettings.internalValue = value;
}
resetVideoBlackSettings() {
this._videoBlackSettings.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get videoBlackSettingsInput() {
return this._videoBlackSettings.internalValue;
}
}
exports.MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsOutputReference = MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsOutputReference;
_c = JSII_RTTI_SYMBOL_1;
MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsOutputReference[_c] = { fqn: "@cdktf/provider-aws.medialiveChannel.MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsOutputReference", version: "21.22.1" };
function medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionToTerraform(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 {
failover_condition_settings: medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsToTerraform(struct.failoverConditionSettings),
};
}
function medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionToHclTerraform(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 = {
failover_condition_settings: {
value: medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsToHclTerraform(struct.failoverConditionSettings),
isBlock: true,
type: "list",
storageClassType: "MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsList",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionOutputReference 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;
// failover_condition_settings - computed: false, optional: true, required: false
this._failoverConditionSettings = new MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionFailoverConditionSettingsOutputReference(this, "failover_condition_settings");
}
get internalValue() {
if (this.resolvableValue) {
return this.resolvableValue;
}
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._failoverConditionSettings?.internalValue !== undefined) {
hasAnyValues = true;
internalValueResult.failoverConditionSettings = this._failoverConditionSettings?.internalValue;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._failoverConditionSettings.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._failoverConditionSettings.internalValue = value.failoverConditionSettings;
}
}
get failoverConditionSettings() {
return this._failoverConditionSettings;
}
putFailoverConditionSettings(value) {
this._failoverConditionSettings.internalValue = value;
}
resetFailoverConditionSettings() {
this._failoverConditionSettings.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get failoverConditionSettingsInput() {
return this._failoverConditionSettings.internalValue;
}
}
exports.MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionOutputReference = MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionOutputReference;
_d = JSII_RTTI_SYMBOL_1;
MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionOutputReference[_d] = { fqn: "@cdktf/provider-aws.medialiveChannel.MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionOutputReference", version: "21.22.1" };
class MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionList 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 MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionList = MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionList;
_e = JSII_RTTI_SYMBOL_1;
MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionList[_e] = { fqn: "@cdktf/provider-aws.medialiveChannel.MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionList", version: "21.22.1" };
function medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsToTerraform(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 {
error_clear_time_msec: cdktf.numberToTerraform(struct.errorClearTimeMsec),
input_preference: cdktf.stringToTerraform(struct.inputPreference),
secondary_input_id: cdktf.stringToTerraform(struct.secondaryInputId),
failover_condition: cdktf.listMapper(medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionToTerraform, true)(struct.failoverCondition),
};
}
function medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsToHclTerraform(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 = {
error_clear_time_msec: {
value: cdktf.numberToHclTerraform(struct.errorClearTimeMsec),
isBlock: false,
type: "simple",
storageClassType: "number",
},
input_preference: {
value: cdktf.stringToHclTerraform(struct.inputPreference),
isBlock: false,
type: "simple",
storageClassType: "string",
},
secondary_input_id: {
value: cdktf.stringToHclTerraform(struct.secondaryInputId),
isBlock: false,
type: "simple",
storageClassType: "string",
},
failover_condition: {
value: cdktf.listMapperHcl(medialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionToHclTerraform, true)(struct.failoverCondition),
isBlock: true,
type: "set",
storageClassType: "MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionList",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false, 0);
this.isEmptyObject = false;
// failover_condition - computed: false, optional: true, required: false
this._failoverCondition = new MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverConditionList(this, "failover_condition", true);
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._errorClearTimeMsec !== undefined) {
hasAnyValues = true;
internalValueResult.errorClearTimeMsec = this._errorClearTimeMsec;
}
if (this._inputPreference !== undefined) {
hasAnyValues = true;
internalValueResult.inputPreference = this._inputPreference;
}
if (this._secondaryInputId !== undefined) {
hasAnyValues = true;
internalValueResult.secondaryInputId = this._secondaryInputId;
}
if (this._failoverCondition?.internalValue !== undefined) {
hasAnyValues = true;
internalValueResult.failoverCondition = this._failoverCondition?.internalValue;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._errorClearTimeMsec = undefined;
this._inputPreference = undefined;
this._secondaryInputId = undefined;
this._failoverCondition.internalValue = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._errorClearTimeMsec = value.errorClearTimeMsec;
this._inputPreference = value.inputPreference;
this._secondaryInputId = value.secondaryInputId;
this._failoverCondition.internalValue = value.failoverCondition;
}
}
get errorClearTimeMsec() {
return this.getNumberAttribute('error_clear_time_msec');
}
set errorClearTimeMsec(value) {
this._errorClearTimeMsec = value;
}
resetErrorClearTimeMsec() {
this._errorClearTimeMsec = undefined;
}
// Temporarily expose input value. Use with caution.
get errorClearTimeMsecInput() {
return this._errorClearTimeMsec;
}
get inputPreference() {
return this.getStringAttribute('input_preference');
}
set inputPreference(value) {
this._inputPreference = value;
}
resetInputPreference() {
this._inputPreference = undefined;
}
// Temporarily expose input value. Use with caution.
get inputPreferenceInput() {
return this._inputPreference;
}
get secondaryInputId() {
return this.getStringAttribute('secondary_input_id');
}
set secondaryInputId(value) {
this._secondaryInputId = value;
}
// Temporarily expose input value. Use with caution.
get secondaryInputIdInput() {
return this._secondaryInputId;
}
get failoverCondition() {
return this._failoverCondition;
}
putFailoverCondition(value) {
this._failoverCondition.internalValue = value;
}
resetFailoverCondition() {
this._failoverCondition.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get failoverConditionInput() {
return this._failoverCondition.internalValue;
}
}
exports.MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsOutputReference = MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsOutputReference;
_f = JSII_RTTI_SYMBOL_1;
MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsOutputReference[_f] = { fqn: "@cdktf/provider-aws.medialiveChannel.MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsOutputReference", version: "21.22.1" };
function medialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioHlsRenditionSelectionToTerraform(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 {
group_id: cdktf.stringToTerraform(struct.groupId),
name: cdktf.stringToTerraform(struct.name),
};
}
function medialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioHlsRenditionSelectionToHclTerraform(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 = {
group_id: {
value: cdktf.stringToHclTerraform(struct.groupId),
isBlock: false,
type: "simple",
storageClassType: "string",
},
name: {
value: cdktf.stringToHclTerraform(struct.name),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class MedialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioHlsRenditionSelectionOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false, 0);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._groupId !== undefined) {
hasAnyValues = true;
internalValueResult.groupId = this._groupId;
}
if (this._name !== undefined) {
hasAnyValues = true;
internalValueResult.name = this._name;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._groupId = undefined;
this._name = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._groupId = value.groupId;
this._name = value.name;
}
}
get groupId() {
return this.getStringAttribute('group_id');
}
set groupId(value) {
this._groupId = value;
}
// Temporarily expose input value. Use with caution.
get groupIdInput() {
return this._groupId;
}
get name() {
return this.getStringAttribute('name');
}
set name(value) {
this._name = value;
}
// Temporarily expose input value. Use with caution.
get nameInput() {
return this._name;
}
}
exports.MedialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioHlsRenditionSelectionOutputReference = MedialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioHlsRenditionSelectionOutputReference;
_g = JSII_RTTI_SYMBOL_1;
MedialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioHlsRenditionSelectionOutputReference[_g] = { fqn: "@cdktf/provider-aws.medialiveChannel.MedialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioHlsRenditionSelectionOutputReference", version: "21.22.1" };
function medialiveChannelInputAttachmentsInputSettingsAudioSelectorSelectorSettingsAudioLanguageSelectionToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as