import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface MdlStreamLiveInputConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mdl_stream_live_input#id MdlStreamLiveInput#id} * * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. */ readonly id?: string; /** * Input name, which can contain 1-32 case-sensitive letters, digits, and underscores and must be unique at the region level. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mdl_stream_live_input#name MdlStreamLiveInput#name} */ readonly name: string; /** * ID of the input security group to attachYou can attach only one security group to an input. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mdl_stream_live_input#security_group_ids MdlStreamLiveInput#security_group_ids} */ readonly securityGroupIds?: string[]; /** * Input typeValid values: `RTMP_PUSH`, `RTP_PUSH`, `UDP_PUSH`, `RTMP_PULL`, `HLS_PULL`, `MP4_PULL`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mdl_stream_live_input#type MdlStreamLiveInput#type} */ readonly type: string; /** * input_settings block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mdl_stream_live_input#input_settings MdlStreamLiveInput#input_settings} */ readonly inputSettings?: MdlStreamLiveInputInputSettings[] | cdktf.IResolvable; } export interface MdlStreamLiveInputInputSettings { /** * Application name, which is valid if `Type` is `RTMP_PUSH` and can contain 1-32 letters and digitsNote: This field may return `null`, indicating that no valid value was found. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mdl_stream_live_input#app_name MdlStreamLiveInput#app_name} */ readonly appName?: string; /** * Delayed time (ms) for playback, which is valid if `Type` is `RTMP_PUSH`Value range: 0 (default) or 10000-600000The value must be a multiple of 1,000.Note: This field may return `null`, indicating that no valid value was found. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mdl_stream_live_input#delay_time MdlStreamLiveInput#delay_time} */ readonly delayTime?: number; /** * RTP/UDP input address, which does not need to be entered for the input parameter.Note: this field may return null, indicating that no valid values can be obtained. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mdl_stream_live_input#input_address MdlStreamLiveInput#input_address} */ readonly inputAddress?: string; /** * The domain of an SRT_PUSH address. If this is a request parameter, you do not need to specify it.Note: This field may return `null`, indicating that no valid value was found. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mdl_stream_live_input#input_domain MdlStreamLiveInput#input_domain} */ readonly inputDomain?: string; /** * The password, which is used for authentication.Note: This field may return `null`, indicating that no valid value was found. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mdl_stream_live_input#password MdlStreamLiveInput#password} */ readonly password?: string; /** * Source type for stream pulling and relaying. To pull content from private-read COS buckets under the current account, set this parameter to `TencentCOS`; otherwise, leave it empty.Note: this field may return `null`, indicating that no valid value was found. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mdl_stream_live_input#source_type MdlStreamLiveInput#source_type} */ readonly sourceType?: string; /** * Source URL, which is valid if `Type` is `RTMP_PULL`, `HLS_PULL`, or `MP4_PULL` and can contain 1-512 charactersNote: This field may return `null`, indicating that no valid value was found. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mdl_stream_live_input#source_url MdlStreamLiveInput#source_url} */ readonly sourceUrl?: string; /** * Stream name, which is valid if `Type` is `RTMP_PUSH` and can contain 1-32 letters and digitsNote: This field may return `null`, indicating that no valid value was found. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mdl_stream_live_input#stream_name MdlStreamLiveInput#stream_name} */ readonly streamName?: string; /** * The username, which is used for authentication.Note: This field may return `null`, indicating that no valid value was found. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mdl_stream_live_input#user_name MdlStreamLiveInput#user_name} */ readonly userName?: string; } export declare function mdlStreamLiveInputInputSettingsToTerraform(struct?: MdlStreamLiveInputInputSettings | cdktf.IResolvable): any; export declare function mdlStreamLiveInputInputSettingsToHclTerraform(struct?: MdlStreamLiveInputInputSettings | cdktf.IResolvable): any; export declare class MdlStreamLiveInputInputSettingsOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @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: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): MdlStreamLiveInputInputSettings | cdktf.IResolvable | undefined; set internalValue(value: MdlStreamLiveInputInputSettings | cdktf.IResolvable | undefined); private _appName?; get appName(): string; set appName(value: string); resetAppName(): void; get appNameInput(): string; private _delayTime?; get delayTime(): number; set delayTime(value: number); resetDelayTime(): void; get delayTimeInput(): number; private _inputAddress?; get inputAddress(): string; set inputAddress(value: string); resetInputAddress(): void; get inputAddressInput(): string; private _inputDomain?; get inputDomain(): string; set inputDomain(value: string); resetInputDomain(): void; get inputDomainInput(): string; private _password?; get password(): string; set password(value: string); resetPassword(): void; get passwordInput(): string; private _sourceType?; get sourceType(): string; set sourceType(value: string); resetSourceType(): void; get sourceTypeInput(): string; private _sourceUrl?; get sourceUrl(): string; set sourceUrl(value: string); resetSourceUrl(): void; get sourceUrlInput(): string; private _streamName?; get streamName(): string; set streamName(value: string); resetStreamName(): void; get streamNameInput(): string; private _userName?; get userName(): string; set userName(value: string); resetUserName(): void; get userNameInput(): string; } export declare class MdlStreamLiveInputInputSettingsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: MdlStreamLiveInputInputSettings[] | cdktf.IResolvable; /** * @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: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): MdlStreamLiveInputInputSettingsOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mdl_stream_live_input tencentcloud_mdl_stream_live_input} */ export declare class MdlStreamLiveInput extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_mdl_stream_live_input"; /** * Generates CDKTF code for importing a MdlStreamLiveInput resource upon running "cdktf plan " * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the MdlStreamLiveInput to import * @param importFromId The id of the existing MdlStreamLiveInput that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mdl_stream_live_input#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the MdlStreamLiveInput to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any; /** * Create a new {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/mdl_stream_live_input tencentcloud_mdl_stream_live_input} Resource * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options MdlStreamLiveInputConfig */ constructor(scope: Construct, id: string, config: MdlStreamLiveInputConfig); private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _securityGroupIds?; get securityGroupIds(): string[]; set securityGroupIds(value: string[]); resetSecurityGroupIds(): void; get securityGroupIdsInput(): string[]; private _type?; get type(): string; set type(value: string); get typeInput(): string; private _inputSettings; get inputSettings(): MdlStreamLiveInputInputSettingsList; putInputSettings(value: MdlStreamLiveInputInputSettings[] | cdktf.IResolvable): void; resetInputSettings(): void; get inputSettingsInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }