import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface FaasFunctionConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/faas_function#code_text FaasFunction#code_text} */ readonly codeText: string; /** * Function dependencies to install * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/faas_function#dependencies FaasFunction#dependencies} */ readonly dependencies?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/faas_function#description FaasFunction#description} */ readonly description?: string; /** * Set to true if function is disabled * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/faas_function#disabled FaasFunction#disabled} */ readonly disabled?: boolean | cdktf.IResolvable; /** * Enable/Disable api key authorization * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/faas_function#enable_api_key FaasFunction#enable_api_key} */ readonly enableApiKey?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/faas_function#envs FaasFunction#envs} */ readonly envs?: { [key: string]: string; }; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/faas_function#flavor FaasFunction#flavor} */ readonly flavor: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/faas_function#id FaasFunction#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; /** * List of used api keys * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/faas_function#keys FaasFunction#keys} */ readonly keys?: string[]; /** * Main startup method name * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/faas_function#main_method FaasFunction#main_method} */ readonly mainMethod: string; /** * Autoscaling max number of instances * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/faas_function#max_instances FaasFunction#max_instances} */ readonly maxInstances: number; /** * Autoscaling min number of instances * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/faas_function#min_instances FaasFunction#min_instances} */ readonly minInstances: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/faas_function#name FaasFunction#name} */ readonly name: string; /** * Namespace of the function * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/faas_function#namespace FaasFunction#namespace} */ readonly namespace: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/faas_function#project_id FaasFunction#project_id} */ readonly projectId?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/faas_function#project_name FaasFunction#project_name} */ readonly projectName?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/faas_function#region_id FaasFunction#region_id} */ readonly regionId?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/faas_function#region_name FaasFunction#region_name} */ readonly regionName?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/faas_function#runtime FaasFunction#runtime} */ readonly runtime: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/faas_function#timeout FaasFunction#timeout} */ readonly timeout: number; } /** * Represents a {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/faas_function gcore_faas_function} */ export declare class FaasFunction extends cdktf.TerraformResource { static readonly tfResourceType = "gcore_faas_function"; /** * Generates CDKTF code for importing a FaasFunction 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 FaasFunction to import * @param importFromId The id of the existing FaasFunction that should be imported. Refer to the {@link https://registry.terraform.io/providers/g-core/gcore/0.32.5/docs/resources/faas_function#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the FaasFunction 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/g-core/gcore/0.32.5/docs/resources/faas_function gcore_faas_function} 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 FaasFunctionConfig */ constructor(scope: Construct, id: string, config: FaasFunctionConfig); get buildMessage(): any; get buildStatus(): any; private _codeText?; get codeText(): string; set codeText(value: string); get codeTextInput(): string; get createdAt(): any; private _dependencies?; get dependencies(): string; set dependencies(value: string); resetDependencies(): void; get dependenciesInput(): string; private _deployStatus; get deployStatus(): any; private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; private _disabled?; get disabled(): boolean | cdktf.IResolvable; set disabled(value: boolean | cdktf.IResolvable); resetDisabled(): void; get disabledInput(): any; private _enableApiKey?; get enableApiKey(): boolean | cdktf.IResolvable; set enableApiKey(value: boolean | cdktf.IResolvable); resetEnableApiKey(): void; get enableApiKeyInput(): any; get endpoint(): any; private _envs?; get envs(): { [key: string]: string; }; set envs(value: { [key: string]: string; }); resetEnvs(): void; get envsInput(): { [key: string]: string; }; private _flavor?; get flavor(): string; set flavor(value: string); get flavorInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _keys?; get keys(): string[]; set keys(value: string[]); resetKeys(): void; get keysInput(): string[]; private _mainMethod?; get mainMethod(): string; set mainMethod(value: string); get mainMethodInput(): string; private _maxInstances?; get maxInstances(): number; set maxInstances(value: number); get maxInstancesInput(): number; private _minInstances?; get minInstances(): number; set minInstances(value: number); get minInstancesInput(): number; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _namespace?; get namespace(): string; set namespace(value: string); get namespaceInput(): string; private _projectId?; get projectId(): number; set projectId(value: number); resetProjectId(): void; get projectIdInput(): number; private _projectName?; get projectName(): string; set projectName(value: string); resetProjectName(): void; get projectNameInput(): string; private _regionId?; get regionId(): number; set regionId(value: number); resetRegionId(): void; get regionIdInput(): number; private _regionName?; get regionName(): string; set regionName(value: string); resetRegionName(): void; get regionNameInput(): string; private _runtime?; get runtime(): string; set runtime(value: string); get runtimeInput(): string; get status(): any; private _timeout?; get timeout(): number; set timeout(value: number); get timeoutInput(): number; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }