import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ScfFunctionConfig extends cdktf.TerraformMetaArguments { /** * Whether SCF function asynchronous attribute is enabled. `TRUE` is open, `FALSE` is close. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#async_run_enable ScfFunction#async_run_enable} */ readonly asyncRunEnable?: string; /** * cls logset id of the SCF function. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#cls_logset_id ScfFunction#cls_logset_id} */ readonly clsLogsetId?: string; /** * cls topic id of the SCF function. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#cls_topic_id ScfFunction#cls_topic_id} */ readonly clsTopicId?: string; /** * Cos bucket name of the SCF function, such as `cos-1234567890`, conflict with `zip_file`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#cos_bucket_name ScfFunction#cos_bucket_name} */ readonly cosBucketName?: string; /** * Cos bucket region of the SCF function, conflict with `zip_file`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#cos_bucket_region ScfFunction#cos_bucket_region} */ readonly cosBucketRegion?: string; /** * Cos object name of the SCF function, should have suffix `.zip` or `.jar`, conflict with `zip_file`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#cos_object_name ScfFunction#cos_object_name} */ readonly cosObjectName?: string; /** * Description of the SCF function. Description supports English letters, numbers, spaces, commas, newlines, periods and Chinese, the maximum length is 1000. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#description ScfFunction#description} */ readonly description?: string; /** * Whether to enable Dns caching capability, only the EVENT function is supported. Default is false. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#dns_cache ScfFunction#dns_cache} */ readonly dnsCache?: boolean | cdktf.IResolvable; /** * Indicates whether EIP config set to `ENABLE` when `enable_public_net` was true. Default `false`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#enable_eip_config ScfFunction#enable_eip_config} */ readonly enableEipConfig?: boolean | cdktf.IResolvable; /** * Indicates whether public net config enabled. Default `false`. NOTE: only `vpc_id` specified can disable public net config. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#enable_public_net ScfFunction#enable_public_net} */ readonly enablePublicNet?: boolean | cdktf.IResolvable; /** * Environment of the SCF function. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#environment ScfFunction#environment} */ readonly environment?: { [key: string]: string; }; /** * Function type. The default value is Event. Enter Event if you need to create a trigger function. Enter HTTP if you need to create an HTTP function service. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#func_type ScfFunction#func_type} */ readonly funcType?: string; /** * Handler of the SCF function. The format of name is `.`, and it supports 26 English letters, numbers, connectors, and underscores, it should start with a letter. The last character cannot be `-` or `_`. Available length is 2-60. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#handler ScfFunction#handler} */ readonly handler?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#id ScfFunction#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; /** * Enable L5 for SCF function, default is `false`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#l5_enable ScfFunction#l5_enable} */ readonly l5Enable?: boolean | cdktf.IResolvable; /** * Memory size of the SCF function, unit is MB. The default is `128`MB. The ladder is 128M. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#mem_size ScfFunction#mem_size} */ readonly memSize?: number; /** * Name of the SCF function. Name supports 26 English letters, numbers, connectors, and underscores, it should start with a letter. The last character cannot be `-` or `_`. Available length is 2-60. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#name ScfFunction#name} */ readonly name: string; /** * Namespace of the SCF function, default is `default`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#namespace ScfFunction#namespace} */ readonly namespace?: string; /** * Role of the SCF function. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#role ScfFunction#role} */ readonly role?: string; /** * Runtime of the SCF function, only supports `Python2.7`, `Python3.6`, `Nodejs6.10`, `Nodejs8.9`, `Nodejs10.15`, `Nodejs12.16`, `Php5.2`, `Php7.4`, `Go1`, `Java8`, and `CustomRuntime`, default is `Python2.7`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#runtime ScfFunction#runtime} */ readonly runtime?: string; /** * Subnet ID of the SCF function. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#subnet_id ScfFunction#subnet_id} */ readonly subnetId?: string; /** * Tags of the SCF function. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#tags ScfFunction#tags} */ readonly tags?: { [key: string]: string; }; /** * Timeout of the SCF function, unit is second. Default `3`. Available value is 1-900. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#timeout ScfFunction#timeout} */ readonly timeout?: number; /** * VPC ID of the SCF function. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#vpc_id ScfFunction#vpc_id} */ readonly vpcId?: string; /** * Zip file of the SCF function, conflict with `cos_bucket_name`, `cos_object_name`, `cos_bucket_region`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#zip_file ScfFunction#zip_file} */ readonly zipFile?: string; /** * cfs_config block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#cfs_config ScfFunction#cfs_config} */ readonly cfsConfig?: ScfFunctionCfsConfig[] | cdktf.IResolvable; /** * image_config block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#image_config ScfFunction#image_config} */ readonly imageConfig?: ScfFunctionImageConfig[] | cdktf.IResolvable; /** * intranet_config block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#intranet_config ScfFunction#intranet_config} */ readonly intranetConfig?: ScfFunctionIntranetConfig; /** * layers block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#layers ScfFunction#layers} */ readonly layers?: ScfFunctionLayers[] | cdktf.IResolvable; /** * triggers block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#triggers ScfFunction#triggers} */ readonly triggers?: ScfFunctionTriggers[] | cdktf.IResolvable; } export interface ScfFunctionTriggerInfo { } export declare function scfFunctionTriggerInfoToTerraform(struct?: ScfFunctionTriggerInfo): any; export declare function scfFunctionTriggerInfoToHclTerraform(struct?: ScfFunctionTriggerInfo): any; export declare class ScfFunctionTriggerInfoOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @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(): ScfFunctionTriggerInfo | undefined; set internalValue(value: ScfFunctionTriggerInfo | undefined); get createTime(): any; get customArgument(): any; get enable(): any; get modifyTime(): any; get name(): any; get triggerDesc(): any; get type(): any; } export declare class ScfFunctionTriggerInfoList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @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): ScfFunctionTriggerInfoOutputReference; } export interface ScfFunctionCfsConfig { /** * File system instance ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#cfs_id ScfFunction#cfs_id} */ readonly cfsId: string; /** * Local mount directory. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#local_mount_dir ScfFunction#local_mount_dir} */ readonly localMountDir: string; /** * File system mount instance ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#mount_ins_id ScfFunction#mount_ins_id} */ readonly mountInsId: string; /** * Remote mount directory. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#remote_mount_dir ScfFunction#remote_mount_dir} */ readonly remoteMountDir: string; /** * ID of user group. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#user_group_id ScfFunction#user_group_id} */ readonly userGroupId: string; /** * ID of user. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#user_id ScfFunction#user_id} */ readonly userId: string; } export declare function scfFunctionCfsConfigToTerraform(struct?: ScfFunctionCfsConfig | cdktf.IResolvable): any; export declare function scfFunctionCfsConfigToHclTerraform(struct?: ScfFunctionCfsConfig | cdktf.IResolvable): any; export declare class ScfFunctionCfsConfigOutputReference 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(): ScfFunctionCfsConfig | cdktf.IResolvable | undefined; set internalValue(value: ScfFunctionCfsConfig | cdktf.IResolvable | undefined); private _cfsId?; get cfsId(): string; set cfsId(value: string); get cfsIdInput(): string; get ipAddress(): any; private _localMountDir?; get localMountDir(): string; set localMountDir(value: string); get localMountDirInput(): string; private _mountInsId?; get mountInsId(): string; set mountInsId(value: string); get mountInsIdInput(): string; get mountSubnetId(): any; get mountVpcId(): any; private _remoteMountDir?; get remoteMountDir(): string; set remoteMountDir(value: string); get remoteMountDirInput(): string; private _userGroupId?; get userGroupId(): string; set userGroupId(value: string); get userGroupIdInput(): string; private _userId?; get userId(): string; set userId(value: string); get userIdInput(): string; } export declare class ScfFunctionCfsConfigList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ScfFunctionCfsConfig[] | 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): ScfFunctionCfsConfigOutputReference; } export interface ScfFunctionImageConfig { /** * the parameters of command. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#args ScfFunction#args} */ readonly args?: string; /** * The command of entrypoint. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#command ScfFunction#command} */ readonly command?: string; /** * Image accelerate switch. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#container_image_accelerate ScfFunction#container_image_accelerate} */ readonly containerImageAccelerate?: boolean | cdktf.IResolvable; /** * The entrypoint of app. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#entry_point ScfFunction#entry_point} */ readonly entryPoint?: string; /** * Image function port setting. Default is `9000`, -1 indicates no port mirroring function. Other value ranges 0 ~ 65535. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#image_port ScfFunction#image_port} */ readonly imagePort?: number; /** * The image type. personal or enterprise. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#image_type ScfFunction#image_type} */ readonly imageType: string; /** * The uri of image. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#image_uri ScfFunction#image_uri} */ readonly imageUri: string; /** * The registry id of TCR. When image type is enterprise, it must be set. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#registry_id ScfFunction#registry_id} */ readonly registryId?: string; } export declare function scfFunctionImageConfigToTerraform(struct?: ScfFunctionImageConfig | cdktf.IResolvable): any; export declare function scfFunctionImageConfigToHclTerraform(struct?: ScfFunctionImageConfig | cdktf.IResolvable): any; export declare class ScfFunctionImageConfigOutputReference 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(): ScfFunctionImageConfig | cdktf.IResolvable | undefined; set internalValue(value: ScfFunctionImageConfig | cdktf.IResolvable | undefined); private _args?; get args(): string; set args(value: string); resetArgs(): void; get argsInput(): string; private _command?; get command(): string; set command(value: string); resetCommand(): void; get commandInput(): string; private _containerImageAccelerate?; get containerImageAccelerate(): boolean | cdktf.IResolvable; set containerImageAccelerate(value: boolean | cdktf.IResolvable); resetContainerImageAccelerate(): void; get containerImageAccelerateInput(): any; private _entryPoint?; get entryPoint(): string; set entryPoint(value: string); resetEntryPoint(): void; get entryPointInput(): string; private _imagePort?; get imagePort(): number; set imagePort(value: number); resetImagePort(): void; get imagePortInput(): number; private _imageType?; get imageType(): string; set imageType(value: string); get imageTypeInput(): string; private _imageUri?; get imageUri(): string; set imageUri(value: string); get imageUriInput(): string; private _registryId?; get registryId(): string; set registryId(value: string); resetRegistryId(): void; get registryIdInput(): string; } export declare class ScfFunctionImageConfigList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ScfFunctionImageConfig[] | 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): ScfFunctionImageConfigOutputReference; } export interface ScfFunctionIntranetConfig { /** * Whether to enable fixed intranet IP, ENABLE is enabled, DISABLE is disabled. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#ip_fixed ScfFunction#ip_fixed} */ readonly ipFixed: string; } export declare function scfFunctionIntranetConfigToTerraform(struct?: ScfFunctionIntranetConfigOutputReference | ScfFunctionIntranetConfig): any; export declare function scfFunctionIntranetConfigToHclTerraform(struct?: ScfFunctionIntranetConfigOutputReference | ScfFunctionIntranetConfig): any; export declare class ScfFunctionIntranetConfigOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @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(): ScfFunctionIntranetConfig | undefined; set internalValue(value: ScfFunctionIntranetConfig | undefined); get ipAddress(): any; private _ipFixed?; get ipFixed(): string; set ipFixed(value: string); get ipFixedInput(): string; } export interface ScfFunctionLayers { /** * The name of Layer. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#layer_name ScfFunction#layer_name} */ readonly layerName: string; /** * The version of layer. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#layer_version ScfFunction#layer_version} */ readonly layerVersion: number; } export declare function scfFunctionLayersToTerraform(struct?: ScfFunctionLayers | cdktf.IResolvable): any; export declare function scfFunctionLayersToHclTerraform(struct?: ScfFunctionLayers | cdktf.IResolvable): any; export declare class ScfFunctionLayersOutputReference 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(): ScfFunctionLayers | cdktf.IResolvable | undefined; set internalValue(value: ScfFunctionLayers | cdktf.IResolvable | undefined); private _layerName?; get layerName(): string; set layerName(value: string); get layerNameInput(): string; private _layerVersion?; get layerVersion(): number; set layerVersion(value: number); get layerVersionInput(): number; } export declare class ScfFunctionLayersList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ScfFunctionLayers[] | 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): ScfFunctionLayersOutputReference; } export interface ScfFunctionTriggers { /** * Region of cos bucket. if `type` is `cos`, `cos_region` is required. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#cos_region ScfFunction#cos_region} */ readonly cosRegion?: string; /** * Name of the SCF function trigger, if `type` is `ckafka`, the format of name must be `-`; if `type` is `cos`, the name is cos bucket id, other In any case, it can be combined arbitrarily. It can only contain English letters, numbers, connectors and underscores. The maximum length is 100. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#name ScfFunction#name} */ readonly name: string; /** * TriggerDesc of the SCF function trigger, parameter format of `timer` is linux cron expression; parameter of `cos` type is json string `{"bucketUrl":".cos..myqcloud.com","event":"cos:ObjectCreated:*","filter":{"Prefix":"","Suffix":""}}`, where `bucketUrl` is cos bucket (optional), `event` is the cos event trigger, `Prefix` is the corresponding file prefix filter condition, `Suffix` is the suffix filter condition, if not need filter condition can not pass; `cmq` type does not pass this parameter; `ckafka` type parameter format is json string `{"maxMsgNum":"1","offset":"latest"}`; `apigw` type parameter format is json string `{"api":{"authRequired":"FALSE","requestConfig":{"method":"ANY"},"isIntegratedResponse":"FALSE"},"service":{"serviceId":"service-dqzh68sg"},"release":{"environmentName":"test"}}`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#trigger_desc ScfFunction#trigger_desc} */ readonly triggerDesc: string; /** * Type of the SCF function trigger, support `timer`, `ckafka`, `custom_kafka`, `apigw`, `cmq`, `cos`, `mqtt`, `cls`, `clb`, `mps`, `vod`, `cm`, `eb`, `http`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#type ScfFunction#type} */ readonly type: string; } export declare function scfFunctionTriggersToTerraform(struct?: ScfFunctionTriggers | cdktf.IResolvable): any; export declare function scfFunctionTriggersToHclTerraform(struct?: ScfFunctionTriggers | cdktf.IResolvable): any; export declare class ScfFunctionTriggersOutputReference 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(): ScfFunctionTriggers | cdktf.IResolvable | undefined; set internalValue(value: ScfFunctionTriggers | cdktf.IResolvable | undefined); private _cosRegion?; get cosRegion(): string; set cosRegion(value: string); resetCosRegion(): void; get cosRegionInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _triggerDesc?; get triggerDesc(): string; set triggerDesc(value: string); get triggerDescInput(): string; private _type?; get type(): string; set type(value: string); get typeInput(): string; } export declare class ScfFunctionTriggersList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ScfFunctionTriggers[] | 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): ScfFunctionTriggersOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function tencentcloud_scf_function} */ export declare class ScfFunction extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_scf_function"; /** * Generates CDKTF code for importing a ScfFunction 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 ScfFunction to import * @param importFromId The id of the existing ScfFunction that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_function#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ScfFunction 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/scf_function tencentcloud_scf_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 ScfFunctionConfig */ constructor(scope: Construct, id: string, config: ScfFunctionConfig); private _asyncRunEnable?; get asyncRunEnable(): string; set asyncRunEnable(value: string); resetAsyncRunEnable(): void; get asyncRunEnableInput(): string; private _clsLogsetId?; get clsLogsetId(): string; set clsLogsetId(value: string); resetClsLogsetId(): void; get clsLogsetIdInput(): string; private _clsTopicId?; get clsTopicId(): string; set clsTopicId(value: string); resetClsTopicId(): void; get clsTopicIdInput(): string; get codeError(): any; get codeResult(): any; get codeSize(): any; private _cosBucketName?; get cosBucketName(): string; set cosBucketName(value: string); resetCosBucketName(): void; get cosBucketNameInput(): string; private _cosBucketRegion?; get cosBucketRegion(): string; set cosBucketRegion(value: string); resetCosBucketRegion(): void; get cosBucketRegionInput(): string; private _cosObjectName?; get cosObjectName(): string; set cosObjectName(value: string); resetCosObjectName(): void; get cosObjectNameInput(): string; private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; private _dnsCache?; get dnsCache(): boolean | cdktf.IResolvable; set dnsCache(value: boolean | cdktf.IResolvable); resetDnsCache(): void; get dnsCacheInput(): any; get eipFixed(): any; get eips(): any; private _enableEipConfig?; get enableEipConfig(): boolean | cdktf.IResolvable; set enableEipConfig(value: boolean | cdktf.IResolvable); resetEnableEipConfig(): void; get enableEipConfigInput(): any; private _enablePublicNet?; get enablePublicNet(): boolean | cdktf.IResolvable; set enablePublicNet(value: boolean | cdktf.IResolvable); resetEnablePublicNet(): void; get enablePublicNetInput(): any; private _environment?; get environment(): { [key: string]: string; }; set environment(value: { [key: string]: string; }); resetEnvironment(): void; get environmentInput(): { [key: string]: string; }; get errNo(): any; private _funcType?; get funcType(): string; set funcType(value: string); resetFuncType(): void; get funcTypeInput(): string; get functionId(): any; private _handler?; get handler(): string; set handler(value: string); resetHandler(): void; get handlerInput(): string; get host(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; get installDependency(): any; private _l5Enable?; get l5Enable(): boolean | cdktf.IResolvable; set l5Enable(value: boolean | cdktf.IResolvable); resetL5Enable(): void; get l5EnableInput(): any; private _memSize?; get memSize(): number; set memSize(value: number); resetMemSize(): void; get memSizeInput(): number; get modifyTime(): any; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _namespace?; get namespace(): string; set namespace(value: string); resetNamespace(): void; get namespaceInput(): string; private _role?; get role(): string; set role(value: string); resetRole(): void; get roleInput(): string; private _runtime?; get runtime(): string; set runtime(value: string); resetRuntime(): void; get runtimeInput(): string; get status(): any; get statusDesc(): any; private _subnetId?; get subnetId(): string; set subnetId(value: string); resetSubnetId(): void; get subnetIdInput(): string; private _tags?; get tags(): { [key: string]: string; }; set tags(value: { [key: string]: string; }); resetTags(): void; get tagsInput(): { [key: string]: string; }; private _timeout?; get timeout(): number; set timeout(value: number); resetTimeout(): void; get timeoutInput(): number; private _triggerInfo; get triggerInfo(): ScfFunctionTriggerInfoList; get vip(): any; private _vpcId?; get vpcId(): string; set vpcId(value: string); resetVpcId(): void; get vpcIdInput(): string; private _zipFile?; get zipFile(): string; set zipFile(value: string); resetZipFile(): void; get zipFileInput(): string; private _cfsConfig; get cfsConfig(): ScfFunctionCfsConfigList; putCfsConfig(value: ScfFunctionCfsConfig[] | cdktf.IResolvable): void; resetCfsConfig(): void; get cfsConfigInput(): any; private _imageConfig; get imageConfig(): ScfFunctionImageConfigList; putImageConfig(value: ScfFunctionImageConfig[] | cdktf.IResolvable): void; resetImageConfig(): void; get imageConfigInput(): any; private _intranetConfig; get intranetConfig(): ScfFunctionIntranetConfigOutputReference; putIntranetConfig(value: ScfFunctionIntranetConfig): void; resetIntranetConfig(): void; get intranetConfigInput(): ScfFunctionIntranetConfig; private _layers; get layers(): ScfFunctionLayersList; putLayers(value: ScfFunctionLayers[] | cdktf.IResolvable): void; resetLayers(): void; get layersInput(): any; private _triggers; get triggers(): ScfFunctionTriggersList; putTriggers(value: ScfFunctionTriggers[] | cdktf.IResolvable): void; resetTriggers(): void; get triggersInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }