import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface AlbTargetGroupConfig extends cdktf.TerraformMetaArguments { /** * The resource description. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/alb_target_group#description AlbTargetGroup#description} */ readonly description?: string; /** * The folder identifier that resource belongs to. If it is not provided, the default provider `folder-id` is used. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/alb_target_group#folder_id AlbTargetGroup#folder_id} */ readonly folderId?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/alb_target_group#id AlbTargetGroup#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; /** * A set of key/value label pairs which assigned to resource. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/alb_target_group#labels AlbTargetGroup#labels} */ readonly labels?: { [key: string]: string; }; /** * The resource name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/alb_target_group#name AlbTargetGroup#name} */ readonly name?: string; /** * target block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/alb_target_group#target AlbTargetGroup#target} */ readonly target?: AlbTargetGroupTarget[] | cdktf.IResolvable; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/alb_target_group#timeouts AlbTargetGroup#timeouts} */ readonly timeouts?: AlbTargetGroupTimeouts; } export interface AlbTargetGroupTarget { /** * IP address of the target. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/alb_target_group#ip_address AlbTargetGroup#ip_address} */ readonly ipAddress: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/alb_target_group#private_ipv4_address AlbTargetGroup#private_ipv4_address} */ readonly privateIpv4Address?: boolean | cdktf.IResolvable; /** * ID of the subnet that targets are connected to. All targets in the target group must be connected to the same subnet within a single availability zone. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/alb_target_group#subnet_id AlbTargetGroup#subnet_id} */ readonly subnetId?: string; } export declare function albTargetGroupTargetToTerraform(struct?: AlbTargetGroupTarget | cdktf.IResolvable): any; export declare function albTargetGroupTargetToHclTerraform(struct?: AlbTargetGroupTarget | cdktf.IResolvable): any; export declare class AlbTargetGroupTargetOutputReference 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(): AlbTargetGroupTarget | cdktf.IResolvable | undefined; set internalValue(value: AlbTargetGroupTarget | cdktf.IResolvable | undefined); private _ipAddress?; get ipAddress(): string; set ipAddress(value: string); get ipAddressInput(): string; private _privateIpv4Address?; get privateIpv4Address(): boolean | cdktf.IResolvable; set privateIpv4Address(value: boolean | cdktf.IResolvable); resetPrivateIpv4Address(): void; get privateIpv4AddressInput(): any; private _subnetId?; get subnetId(): string; set subnetId(value: string); resetSubnetId(): void; get subnetIdInput(): string; } export declare class AlbTargetGroupTargetList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: AlbTargetGroupTarget[] | 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): AlbTargetGroupTargetOutputReference; } export interface AlbTargetGroupTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/alb_target_group#create AlbTargetGroup#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/alb_target_group#delete AlbTargetGroup#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/alb_target_group#update AlbTargetGroup#update} */ readonly update?: string; } export declare function albTargetGroupTimeoutsToTerraform(struct?: AlbTargetGroupTimeouts | cdktf.IResolvable): any; export declare function albTargetGroupTimeoutsToHclTerraform(struct?: AlbTargetGroupTimeouts | cdktf.IResolvable): any; export declare class AlbTargetGroupTimeoutsOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): AlbTargetGroupTimeouts | cdktf.IResolvable | undefined; set internalValue(value: AlbTargetGroupTimeouts | cdktf.IResolvable | undefined); private _create?; get create(): string; set create(value: string); resetCreate(): void; get createInput(): string; private _delete?; get delete(): string; set delete(value: string); resetDelete(): void; get deleteInput(): string; private _update?; get update(): string; set update(value: string); resetUpdate(): void; get updateInput(): string; } /** * Represents a {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/alb_target_group yandex_alb_target_group} */ export declare class AlbTargetGroup extends cdktf.TerraformResource { static readonly tfResourceType = "yandex_alb_target_group"; /** * Generates CDKTF code for importing a AlbTargetGroup 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 AlbTargetGroup to import * @param importFromId The id of the existing AlbTargetGroup that should be imported. Refer to the {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/alb_target_group#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the AlbTargetGroup 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/yandex-cloud/yandex/0.177.0/docs/resources/alb_target_group yandex_alb_target_group} 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 AlbTargetGroupConfig = {} */ constructor(scope: Construct, id: string, config?: AlbTargetGroupConfig); get createdAt(): any; private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): 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 _labels?; get labels(): { [key: string]: string; }; set labels(value: { [key: string]: string; }); resetLabels(): void; get labelsInput(): { [key: string]: string; }; private _name?; get name(): string; set name(value: string); resetName(): void; get nameInput(): string; private _target; get target(): AlbTargetGroupTargetList; putTarget(value: AlbTargetGroupTarget[] | cdktf.IResolvable): void; resetTarget(): void; get targetInput(): any; private _timeouts; get timeouts(): AlbTargetGroupTimeoutsOutputReference; putTimeouts(value: AlbTargetGroupTimeouts): void; resetTimeouts(): void; get timeoutsInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }