import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface TcmClusterAttachmentConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcm_cluster_attachment#id TcmClusterAttachment#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; /** * Mesh ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcm_cluster_attachment#mesh_id TcmClusterAttachment#mesh_id} */ readonly meshId: string; /** * cluster_list block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcm_cluster_attachment#cluster_list TcmClusterAttachment#cluster_list} */ readonly clusterList?: TcmClusterAttachmentClusterListStruct[] | cdktf.IResolvable; } export interface TcmClusterAttachmentClusterListStruct { /** * TKE Cluster id. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcm_cluster_attachment#cluster_id TcmClusterAttachment#cluster_id} */ readonly clusterId: string; /** * TKE cluster region. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcm_cluster_attachment#region TcmClusterAttachment#region} */ readonly region: string; /** * Cluster role in mesh, REMOTE or MASTER. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcm_cluster_attachment#role TcmClusterAttachment#role} */ readonly role: string; /** * Subnet id, only needed if it's standalone mesh. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcm_cluster_attachment#subnet_id TcmClusterAttachment#subnet_id} */ readonly subnetId?: string; /** * Cluster type. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcm_cluster_attachment#type TcmClusterAttachment#type} */ readonly type: string; /** * Cluster's VpcId. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcm_cluster_attachment#vpc_id TcmClusterAttachment#vpc_id} */ readonly vpcId: string; } export declare function tcmClusterAttachmentClusterListStructToTerraform(struct?: TcmClusterAttachmentClusterListStruct | cdktf.IResolvable): any; export declare function tcmClusterAttachmentClusterListStructToHclTerraform(struct?: TcmClusterAttachmentClusterListStruct | cdktf.IResolvable): any; export declare class TcmClusterAttachmentClusterListStructOutputReference 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(): TcmClusterAttachmentClusterListStruct | cdktf.IResolvable | undefined; set internalValue(value: TcmClusterAttachmentClusterListStruct | cdktf.IResolvable | undefined); private _clusterId?; get clusterId(): string; set clusterId(value: string); get clusterIdInput(): string; private _region?; get region(): string; set region(value: string); get regionInput(): string; private _role?; get role(): string; set role(value: string); get roleInput(): string; private _subnetId?; get subnetId(): string; set subnetId(value: string); resetSubnetId(): void; get subnetIdInput(): string; private _type?; get type(): string; set type(value: string); get typeInput(): string; private _vpcId?; get vpcId(): string; set vpcId(value: string); get vpcIdInput(): string; } export declare class TcmClusterAttachmentClusterListStructList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: TcmClusterAttachmentClusterListStruct[] | 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): TcmClusterAttachmentClusterListStructOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcm_cluster_attachment tencentcloud_tcm_cluster_attachment} */ export declare class TcmClusterAttachment extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_tcm_cluster_attachment"; /** * Generates CDKTF code for importing a TcmClusterAttachment 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 TcmClusterAttachment to import * @param importFromId The id of the existing TcmClusterAttachment that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/tcm_cluster_attachment#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the TcmClusterAttachment 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/tcm_cluster_attachment tencentcloud_tcm_cluster_attachment} 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 TcmClusterAttachmentConfig */ constructor(scope: Construct, id: string, config: TcmClusterAttachmentConfig); private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _meshId?; get meshId(): string; set meshId(value: string); get meshIdInput(): string; private _clusterList; get clusterList(): TcmClusterAttachmentClusterListStructList; putClusterList(value: TcmClusterAttachmentClusterListStruct[] | cdktf.IResolvable): void; resetClusterList(): void; get clusterListInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }