import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface OceanusJobConfig extends cdktf.TerraformMetaArguments { /** * When ClusterType=2, it is required to specify the ID of the exclusive cluster to which the job is submitted. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/oceanus_job#cluster_id OceanusJob#cluster_id} */ readonly clusterId?: string; /** * The type of the cluster. 1 indicates shared cluster, and 2 indicates exclusive cluster. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/oceanus_job#cluster_type OceanusJob#cluster_type} */ readonly clusterType: number; /** * Set the memory specification of each CU, in GB. It supports 2, 4, 8, and 16 (which needs to apply for the whitelist before use). The default is 4, that is, 1 CU corresponds to 4 GB of running memory. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/oceanus_job#cu_mem OceanusJob#cu_mem} */ readonly cuMem?: number; /** * The Flink version that the job runs. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/oceanus_job#flink_version OceanusJob#flink_version} */ readonly flinkVersion?: string; /** * The folder ID to which the job name belongs. The root directory is root. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/oceanus_job#folder_id OceanusJob#folder_id} */ readonly folderId?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/oceanus_job#id OceanusJob#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; /** * The type of the job. 1 indicates SQL job, and 2 indicates JAR job. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/oceanus_job#job_type OceanusJob#job_type} */ readonly jobType: number; /** * The name of the job. It can be composed of Chinese, English, numbers, hyphens (-), underscores (_), and periods (.), and the length cannot exceed 50 characters. Note that the job name cannot be the same as an existing job. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/oceanus_job#name OceanusJob#name} */ readonly name: string; /** * The remark information of the job. It can be set arbitrarily. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/oceanus_job#remark OceanusJob#remark} */ readonly remark?: string; /** * The workspace SerialId. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/oceanus_job#work_space_id OceanusJob#work_space_id} */ readonly workSpaceId?: string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/oceanus_job tencentcloud_oceanus_job} */ export declare class OceanusJob extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_oceanus_job"; /** * Generates CDKTF code for importing a OceanusJob 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 OceanusJob to import * @param importFromId The id of the existing OceanusJob that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/oceanus_job#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the OceanusJob 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/oceanus_job tencentcloud_oceanus_job} 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 OceanusJobConfig */ constructor(scope: Construct, id: string, config: OceanusJobConfig); private _clusterId?; get clusterId(): string; set clusterId(value: string); resetClusterId(): void; get clusterIdInput(): string; private _clusterType?; get clusterType(): number; set clusterType(value: number); get clusterTypeInput(): number; private _cuMem?; get cuMem(): number; set cuMem(value: number); resetCuMem(): void; get cuMemInput(): number; private _flinkVersion?; get flinkVersion(): string; set flinkVersion(value: string); resetFlinkVersion(): void; get flinkVersionInput(): string; private _folderId?; get folderId(): string; set folderId(value: string); resetFolderId(): void; get folderIdInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _jobType?; get jobType(): number; set jobType(value: number); get jobTypeInput(): number; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _remark?; get remark(): string; set remark(value: string); resetRemark(): void; get remarkInput(): string; private _workSpaceId?; get workSpaceId(): string; set workSpaceId(value: string); resetWorkSpaceId(): void; get workSpaceIdInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }