import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface CssPullStreamTaskConfig extends cdktf.TerraformMetaArguments { /** * push app name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/css_pull_stream_task#app_name CssPullStreamTask#app_name} */ readonly appName: string; /** * backup pull source type. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/css_pull_stream_task#backup_source_type CssPullStreamTask#backup_source_type} */ readonly backupSourceType?: string; /** * backup pull source. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/css_pull_stream_task#backup_source_url CssPullStreamTask#backup_source_url} */ readonly backupSourceUrl?: string; /** * defind the callback event you need, null for all. TaskStart, TaskExit, VodSourceFileStart, VodSourceFileFinish, ResetTaskConfig, PullFileUnstable, PushStreamUnstable, PullFileFailed, PushStreamFailed, FileEndEarly. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/css_pull_stream_task#callback_events CssPullStreamTask#callback_events} */ readonly callbackEvents?: string[]; /** * task event callback url. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/css_pull_stream_task#callback_url CssPullStreamTask#callback_url} */ readonly callbackUrl?: string; /** * desc for pull task. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/css_pull_stream_task#comment CssPullStreamTask#comment} */ readonly comment?: string; /** * push domain name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/css_pull_stream_task#domain_name CssPullStreamTask#domain_name} */ readonly domainName: string; /** * task end time. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/css_pull_stream_task#end_time CssPullStreamTask#end_time} */ readonly endTime: string; /** * ignore_region for ignore the input region and reblance inside the server. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/css_pull_stream_task#extra_cmd CssPullStreamTask#extra_cmd} */ readonly extraCmd?: string; /** * task enable or disable. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/css_pull_stream_task#file_index CssPullStreamTask#file_index} */ readonly fileIndex?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/css_pull_stream_task#id CssPullStreamTask#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; /** * task enable or disable. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/css_pull_stream_task#offset_time CssPullStreamTask#offset_time} */ readonly offsetTime?: number; /** * desc operator user name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/css_pull_stream_task#operator CssPullStreamTask#operator} */ readonly operator?: string; /** * other pushing args. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/css_pull_stream_task#push_args CssPullStreamTask#push_args} */ readonly pushArgs?: string; /** * `PullLivePushLive`: SourceUrls live type, `PullVodPushLive`: SourceUrls vod type. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/css_pull_stream_task#source_type CssPullStreamTask#source_type} */ readonly sourceType: string; /** * Pull Source media, SourceType=PullLivePushLive only 1 value, SourceType=PullLivePushLive can input multi values. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/css_pull_stream_task#source_urls CssPullStreamTask#source_urls} */ readonly sourceUrls: string[]; /** * task begin time. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/css_pull_stream_task#start_time CssPullStreamTask#start_time} */ readonly startTime: string; /** * task enable or disable. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/css_pull_stream_task#status CssPullStreamTask#status} */ readonly status?: string; /** * push stream name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/css_pull_stream_task#stream_name CssPullStreamTask#stream_name} */ readonly streamName: string; /** * full target push url, DomainName, AppName, StreamName field must be empty. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/css_pull_stream_task#to_url CssPullStreamTask#to_url} */ readonly toUrl?: string; /** * loop time for vod. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/css_pull_stream_task#vod_loop_times CssPullStreamTask#vod_loop_times} */ readonly vodLoopTimes?: number; /** * vod refresh method. `ImmediateNewSource`: switch to new source at once, `ContinueBreakPoint`: switch to new source while old source finish. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/css_pull_stream_task#vod_refresh_type CssPullStreamTask#vod_refresh_type} */ readonly vodRefreshType?: string; /** * watermark_list block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/css_pull_stream_task#watermark_list CssPullStreamTask#watermark_list} */ readonly watermarkList?: CssPullStreamTaskWatermarkListStruct[] | cdktf.IResolvable; } export interface CssPullStreamTaskWatermarkListStruct { /** * pic height. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/css_pull_stream_task#height CssPullStreamTask#height} */ readonly height: number; /** * position type, 0:left top, 1:right top, 2:right bot, 3: left bot. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/css_pull_stream_task#location CssPullStreamTask#location} */ readonly location: number; /** * watermark picture url. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/css_pull_stream_task#picture_url CssPullStreamTask#picture_url} */ readonly pictureUrl: string; /** * pic width. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/css_pull_stream_task#width CssPullStreamTask#width} */ readonly width: number; /** * x position. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/css_pull_stream_task#x_position CssPullStreamTask#x_position} */ readonly xPosition: number; /** * y position. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/css_pull_stream_task#y_position CssPullStreamTask#y_position} */ readonly yPosition: number; } export declare function cssPullStreamTaskWatermarkListStructToTerraform(struct?: CssPullStreamTaskWatermarkListStruct | cdktf.IResolvable): any; export declare function cssPullStreamTaskWatermarkListStructToHclTerraform(struct?: CssPullStreamTaskWatermarkListStruct | cdktf.IResolvable): any; export declare class CssPullStreamTaskWatermarkListStructOutputReference 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(): CssPullStreamTaskWatermarkListStruct | cdktf.IResolvable | undefined; set internalValue(value: CssPullStreamTaskWatermarkListStruct | cdktf.IResolvable | undefined); private _height?; get height(): number; set height(value: number); get heightInput(): number; private _location?; get location(): number; set location(value: number); get locationInput(): number; private _pictureUrl?; get pictureUrl(): string; set pictureUrl(value: string); get pictureUrlInput(): string; private _width?; get width(): number; set width(value: number); get widthInput(): number; private _xPosition?; get xPosition(): number; set xPosition(value: number); get xPositionInput(): number; private _yPosition?; get yPosition(): number; set yPosition(value: number); get yPositionInput(): number; } export declare class CssPullStreamTaskWatermarkListStructList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: CssPullStreamTaskWatermarkListStruct[] | 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): CssPullStreamTaskWatermarkListStructOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/css_pull_stream_task tencentcloud_css_pull_stream_task} */ export declare class CssPullStreamTask extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_css_pull_stream_task"; /** * Generates CDKTF code for importing a CssPullStreamTask 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 CssPullStreamTask to import * @param importFromId The id of the existing CssPullStreamTask that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/css_pull_stream_task#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the CssPullStreamTask 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/css_pull_stream_task tencentcloud_css_pull_stream_task} 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 CssPullStreamTaskConfig */ constructor(scope: Construct, id: string, config: CssPullStreamTaskConfig); private _appName?; get appName(): string; set appName(value: string); get appNameInput(): string; private _backupSourceType?; get backupSourceType(): string; set backupSourceType(value: string); resetBackupSourceType(): void; get backupSourceTypeInput(): string; private _backupSourceUrl?; get backupSourceUrl(): string; set backupSourceUrl(value: string); resetBackupSourceUrl(): void; get backupSourceUrlInput(): string; private _callbackEvents?; get callbackEvents(): string[]; set callbackEvents(value: string[]); resetCallbackEvents(): void; get callbackEventsInput(): string[]; private _callbackUrl?; get callbackUrl(): string; set callbackUrl(value: string); resetCallbackUrl(): void; get callbackUrlInput(): string; private _comment?; get comment(): string; set comment(value: string); resetComment(): void; get commentInput(): string; get createBy(): any; get createTime(): any; private _domainName?; get domainName(): string; set domainName(value: string); get domainNameInput(): string; private _endTime?; get endTime(): string; set endTime(value: string); get endTimeInput(): string; private _extraCmd?; get extraCmd(): string; set extraCmd(value: string); resetExtraCmd(): void; get extraCmdInput(): string; private _fileIndex?; get fileIndex(): number; set fileIndex(value: number); resetFileIndex(): void; get fileIndexInput(): number; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _offsetTime?; get offsetTime(): number; set offsetTime(value: number); resetOffsetTime(): void; get offsetTimeInput(): number; private _operator?; get operator(): string; set operator(value: string); resetOperator(): void; get operatorInput(): string; private _pushArgs?; get pushArgs(): string; set pushArgs(value: string); resetPushArgs(): void; get pushArgsInput(): string; get region(): any; private _sourceType?; get sourceType(): string; set sourceType(value: string); get sourceTypeInput(): string; private _sourceUrls?; get sourceUrls(): string[]; set sourceUrls(value: string[]); get sourceUrlsInput(): string[]; private _startTime?; get startTime(): string; set startTime(value: string); get startTimeInput(): string; private _status?; get status(): string; set status(value: string); resetStatus(): void; get statusInput(): string; private _streamName?; get streamName(): string; set streamName(value: string); get streamNameInput(): string; private _toUrl?; get toUrl(): string; set toUrl(value: string); resetToUrl(): void; get toUrlInput(): string; get updateBy(): any; get updateTime(): any; private _vodLoopTimes?; get vodLoopTimes(): number; set vodLoopTimes(value: number); resetVodLoopTimes(): void; get vodLoopTimesInput(): number; private _vodRefreshType?; get vodRefreshType(): string; set vodRefreshType(value: string); resetVodRefreshType(): void; get vodRefreshTypeInput(): string; private _watermarkList; get watermarkList(): CssPullStreamTaskWatermarkListStructList; putWatermarkList(value: CssPullStreamTaskWatermarkListStruct[] | cdktf.IResolvable): void; resetWatermarkList(): void; get watermarkListInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }