import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ServerlessContainerConfig extends cdktf.TerraformMetaArguments { /** * Concurrency of Yandex Cloud Serverless Container. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#concurrency ServerlessContainer#concurrency} */ readonly concurrency?: number; /** * Core fraction (**0...100**) of the Yandex Cloud Serverless Container. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#core_fraction ServerlessContainer#core_fraction} */ readonly coreFraction?: number; /** * Cores (**1+**) of the Yandex Cloud Serverless Container. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#cores ServerlessContainer#cores} */ readonly cores?: number; /** * The resource description. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#description ServerlessContainer#description} */ readonly description?: string; /** * Execution timeout in seconds (**duration format**) for Yandex Cloud Serverless Container. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#execution_timeout ServerlessContainer#execution_timeout} */ readonly executionTimeout?: 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/serverless_container#folder_id ServerlessContainer#folder_id} */ readonly folderId?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#id ServerlessContainer#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/serverless_container#labels ServerlessContainer#labels} */ readonly labels?: { [key: string]: string; }; /** * Memory in megabytes (**aligned to 128 MB**). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#memory ServerlessContainer#memory} */ readonly memory: number; /** * The resource name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#name ServerlessContainer#name} */ readonly name: string; /** * [Service account](https://yandex.cloud/docs/iam/concepts/users/service-accounts) which linked to the resource. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#service_account_id ServerlessContainer#service_account_id} */ readonly serviceAccountId?: string; /** * async_invocation block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#async_invocation ServerlessContainer#async_invocation} */ readonly asyncInvocation?: ServerlessContainerAsyncInvocation; /** * connectivity block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#connectivity ServerlessContainer#connectivity} */ readonly connectivity?: ServerlessContainerConnectivity; /** * image block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#image ServerlessContainer#image} */ readonly image: ServerlessContainerImage; /** * log_options block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#log_options ServerlessContainer#log_options} */ readonly logOptions?: ServerlessContainerLogOptions; /** * metadata_options block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#metadata_options ServerlessContainer#metadata_options} */ readonly metadataOptions?: ServerlessContainerMetadataOptions; /** * mounts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#mounts ServerlessContainer#mounts} */ readonly mounts?: ServerlessContainerMounts[] | cdktf.IResolvable; /** * provision_policy block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#provision_policy ServerlessContainer#provision_policy} */ readonly provisionPolicy?: ServerlessContainerProvisionPolicy; /** * runtime block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#runtime ServerlessContainer#runtime} */ readonly runtime?: ServerlessContainerRuntime; /** * secrets block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#secrets ServerlessContainer#secrets} */ readonly secrets?: ServerlessContainerSecrets[] | cdktf.IResolvable; /** * storage_mounts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#storage_mounts ServerlessContainer#storage_mounts} */ readonly storageMounts?: ServerlessContainerStorageMounts[] | cdktf.IResolvable; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#timeouts ServerlessContainer#timeouts} */ readonly timeouts?: ServerlessContainerTimeouts; } export interface ServerlessContainerAsyncInvocation { /** * Service account used for async invocation. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#service_account_id ServerlessContainer#service_account_id} */ readonly serviceAccountId?: string; } export declare function serverlessContainerAsyncInvocationToTerraform(struct?: ServerlessContainerAsyncInvocationOutputReference | ServerlessContainerAsyncInvocation): any; export declare function serverlessContainerAsyncInvocationToHclTerraform(struct?: ServerlessContainerAsyncInvocationOutputReference | ServerlessContainerAsyncInvocation): any; export declare class ServerlessContainerAsyncInvocationOutputReference 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(): ServerlessContainerAsyncInvocation | undefined; set internalValue(value: ServerlessContainerAsyncInvocation | undefined); private _serviceAccountId?; get serviceAccountId(): string; set serviceAccountId(value: string); resetServiceAccountId(): void; get serviceAccountIdInput(): string; } export interface ServerlessContainerConnectivity { /** * Network the revision will have access to. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#network_id ServerlessContainer#network_id} */ readonly networkId: string; } export declare function serverlessContainerConnectivityToTerraform(struct?: ServerlessContainerConnectivityOutputReference | ServerlessContainerConnectivity): any; export declare function serverlessContainerConnectivityToHclTerraform(struct?: ServerlessContainerConnectivityOutputReference | ServerlessContainerConnectivity): any; export declare class ServerlessContainerConnectivityOutputReference 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(): ServerlessContainerConnectivity | undefined; set internalValue(value: ServerlessContainerConnectivity | undefined); private _networkId?; get networkId(): string; set networkId(value: string); get networkIdInput(): string; } export interface ServerlessContainerImage { /** * List of arguments for Yandex Cloud Serverless Container. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#args ServerlessContainer#args} */ readonly args?: string[]; /** * List of commands for Yandex Cloud Serverless Container. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#command ServerlessContainer#command} */ readonly command?: string[]; /** * Digest of image that will be deployed as Yandex Cloud Serverless Container. If presented, should be equal to digest that will be resolved at server side by URL. Container will be updated on digest change even if `image.0.url` stays the same. If field not specified then its value will be computed. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#digest ServerlessContainer#digest} */ readonly digest?: string; /** * A set of key/value environment variable pairs for Yandex Cloud Serverless Container. Each key must begin with a letter (A-Z, a-z). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#environment ServerlessContainer#environment} */ readonly environment?: { [key: string]: string; }; /** * URL of image that will be deployed as Yandex Cloud Serverless Container. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#url ServerlessContainer#url} */ readonly url: string; /** * Working directory for Yandex Cloud Serverless Container. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#work_dir ServerlessContainer#work_dir} */ readonly workDir?: string; } export declare function serverlessContainerImageToTerraform(struct?: ServerlessContainerImageOutputReference | ServerlessContainerImage): any; export declare function serverlessContainerImageToHclTerraform(struct?: ServerlessContainerImageOutputReference | ServerlessContainerImage): any; export declare class ServerlessContainerImageOutputReference 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(): ServerlessContainerImage | undefined; set internalValue(value: ServerlessContainerImage | 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 _digest?; get digest(): string; set digest(value: string); resetDigest(): void; get digestInput(): string; private _environment?; get environment(): { [key: string]: string; }; set environment(value: { [key: string]: string; }); resetEnvironment(): void; get environmentInput(): { [key: string]: string; }; private _url?; get url(): string; set url(value: string); get urlInput(): string; private _workDir?; get workDir(): string; set workDir(value: string); resetWorkDir(): void; get workDirInput(): string; } export interface ServerlessContainerLogOptions { /** * Is logging from container disabled. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#disabled ServerlessContainer#disabled} */ readonly disabled?: boolean | cdktf.IResolvable; /** * Log entries are written to default log group for specified folder. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#folder_id ServerlessContainer#folder_id} */ readonly folderId?: string; /** * Log entries are written to specified log group. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#log_group_id ServerlessContainer#log_group_id} */ readonly logGroupId?: string; /** * Minimum log entry level. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#min_level ServerlessContainer#min_level} */ readonly minLevel?: string; } export declare function serverlessContainerLogOptionsToTerraform(struct?: ServerlessContainerLogOptionsOutputReference | ServerlessContainerLogOptions): any; export declare function serverlessContainerLogOptionsToHclTerraform(struct?: ServerlessContainerLogOptionsOutputReference | ServerlessContainerLogOptions): any; export declare class ServerlessContainerLogOptionsOutputReference 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(): ServerlessContainerLogOptions | undefined; set internalValue(value: ServerlessContainerLogOptions | undefined); private _disabled?; get disabled(): boolean | cdktf.IResolvable; set disabled(value: boolean | cdktf.IResolvable); resetDisabled(): void; get disabledInput(): any; private _folderId?; get folderId(): string; set folderId(value: string); resetFolderId(): void; get folderIdInput(): string; private _logGroupId?; get logGroupId(): string; set logGroupId(value: string); resetLogGroupId(): void; get logGroupIdInput(): string; private _minLevel?; get minLevel(): string; set minLevel(value: string); resetMinLevel(): void; get minLevelInput(): string; } export interface ServerlessContainerMetadataOptions { /** * Enables access to AWS flavored metadata (IMDSv1). Values: `0` - default, `1` - enabled, `2` - disabled. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#aws_v1_http_endpoint ServerlessContainer#aws_v1_http_endpoint} */ readonly awsV1HttpEndpoint?: number; /** * Enables access to GCE flavored metadata. Values: `0`- default, `1` - enabled, `2` - disabled. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#gce_http_endpoint ServerlessContainer#gce_http_endpoint} */ readonly gceHttpEndpoint?: number; } export declare function serverlessContainerMetadataOptionsToTerraform(struct?: ServerlessContainerMetadataOptionsOutputReference | ServerlessContainerMetadataOptions): any; export declare function serverlessContainerMetadataOptionsToHclTerraform(struct?: ServerlessContainerMetadataOptionsOutputReference | ServerlessContainerMetadataOptions): any; export declare class ServerlessContainerMetadataOptionsOutputReference 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(): ServerlessContainerMetadataOptions | undefined; set internalValue(value: ServerlessContainerMetadataOptions | undefined); private _awsV1HttpEndpoint?; get awsV1HttpEndpoint(): number; set awsV1HttpEndpoint(value: number); resetAwsV1HttpEndpoint(): void; get awsV1HttpEndpointInput(): number; private _gceHttpEndpoint?; get gceHttpEndpoint(): number; set gceHttpEndpoint(value: number); resetGceHttpEndpoint(): void; get gceHttpEndpointInput(): number; } export interface ServerlessContainerMountsEphemeralDisk { /** * Block size of the ephemeral disk in KB. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#block_size_kb ServerlessContainer#block_size_kb} */ readonly blockSizeKb?: number; /** * Size of the ephemeral disk in GB. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#size_gb ServerlessContainer#size_gb} */ readonly sizeGb: number; } export declare function serverlessContainerMountsEphemeralDiskToTerraform(struct?: ServerlessContainerMountsEphemeralDiskOutputReference | ServerlessContainerMountsEphemeralDisk): any; export declare function serverlessContainerMountsEphemeralDiskToHclTerraform(struct?: ServerlessContainerMountsEphemeralDiskOutputReference | ServerlessContainerMountsEphemeralDisk): any; export declare class ServerlessContainerMountsEphemeralDiskOutputReference 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(): ServerlessContainerMountsEphemeralDisk | undefined; set internalValue(value: ServerlessContainerMountsEphemeralDisk | undefined); private _blockSizeKb?; get blockSizeKb(): number; set blockSizeKb(value: number); resetBlockSizeKb(): void; get blockSizeKbInput(): number; private _sizeGb?; get sizeGb(): number; set sizeGb(value: number); get sizeGbInput(): number; } export interface ServerlessContainerMountsObjectStorage { /** * Name of the mounting bucket. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#bucket ServerlessContainer#bucket} */ readonly bucket: string; /** * Prefix within the bucket. If you leave this field empty, the entire bucket will be mounted. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#prefix ServerlessContainer#prefix} */ readonly prefix?: string; } export declare function serverlessContainerMountsObjectStorageToTerraform(struct?: ServerlessContainerMountsObjectStorageOutputReference | ServerlessContainerMountsObjectStorage): any; export declare function serverlessContainerMountsObjectStorageToHclTerraform(struct?: ServerlessContainerMountsObjectStorageOutputReference | ServerlessContainerMountsObjectStorage): any; export declare class ServerlessContainerMountsObjectStorageOutputReference 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(): ServerlessContainerMountsObjectStorage | undefined; set internalValue(value: ServerlessContainerMountsObjectStorage | undefined); private _bucket?; get bucket(): string; set bucket(value: string); get bucketInput(): string; private _prefix?; get prefix(): string; set prefix(value: string); resetPrefix(): void; get prefixInput(): string; } export interface ServerlessContainerMounts { /** * Mount’s accessibility mode. Valid values are `ro` and `rw`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#mode ServerlessContainer#mode} */ readonly mode?: string; /** * Path inside the container to access the directory in which the target is mounted. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#mount_point_path ServerlessContainer#mount_point_path} */ readonly mountPointPath: string; /** * ephemeral_disk block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#ephemeral_disk ServerlessContainer#ephemeral_disk} */ readonly ephemeralDisk?: ServerlessContainerMountsEphemeralDisk; /** * object_storage block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#object_storage ServerlessContainer#object_storage} */ readonly objectStorage?: ServerlessContainerMountsObjectStorage; } export declare function serverlessContainerMountsToTerraform(struct?: ServerlessContainerMounts | cdktf.IResolvable): any; export declare function serverlessContainerMountsToHclTerraform(struct?: ServerlessContainerMounts | cdktf.IResolvable): any; export declare class ServerlessContainerMountsOutputReference 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(): ServerlessContainerMounts | cdktf.IResolvable | undefined; set internalValue(value: ServerlessContainerMounts | cdktf.IResolvable | undefined); private _mode?; get mode(): string; set mode(value: string); resetMode(): void; get modeInput(): string; private _mountPointPath?; get mountPointPath(): string; set mountPointPath(value: string); get mountPointPathInput(): string; private _ephemeralDisk; get ephemeralDisk(): ServerlessContainerMountsEphemeralDiskOutputReference; putEphemeralDisk(value: ServerlessContainerMountsEphemeralDisk): void; resetEphemeralDisk(): void; get ephemeralDiskInput(): ServerlessContainerMountsEphemeralDisk; private _objectStorage; get objectStorage(): ServerlessContainerMountsObjectStorageOutputReference; putObjectStorage(value: ServerlessContainerMountsObjectStorage): void; resetObjectStorage(): void; get objectStorageInput(): ServerlessContainerMountsObjectStorage; } export declare class ServerlessContainerMountsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ServerlessContainerMounts[] | 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): ServerlessContainerMountsOutputReference; } export interface ServerlessContainerProvisionPolicy { /** * Minimum number of prepared instances that are always ready to serve requests. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#min_instances ServerlessContainer#min_instances} */ readonly minInstances: number; } export declare function serverlessContainerProvisionPolicyToTerraform(struct?: ServerlessContainerProvisionPolicyOutputReference | ServerlessContainerProvisionPolicy): any; export declare function serverlessContainerProvisionPolicyToHclTerraform(struct?: ServerlessContainerProvisionPolicyOutputReference | ServerlessContainerProvisionPolicy): any; export declare class ServerlessContainerProvisionPolicyOutputReference 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(): ServerlessContainerProvisionPolicy | undefined; set internalValue(value: ServerlessContainerProvisionPolicy | undefined); private _minInstances?; get minInstances(): number; set minInstances(value: number); get minInstancesInput(): number; } export interface ServerlessContainerRuntime { /** * Type of the runtime for Yandex Cloud Serverless Container. Valid values are `http` and `task`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#type ServerlessContainer#type} */ readonly type: string; } export declare function serverlessContainerRuntimeToTerraform(struct?: ServerlessContainerRuntimeOutputReference | ServerlessContainerRuntime): any; export declare function serverlessContainerRuntimeToHclTerraform(struct?: ServerlessContainerRuntimeOutputReference | ServerlessContainerRuntime): any; export declare class ServerlessContainerRuntimeOutputReference 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(): ServerlessContainerRuntime | undefined; set internalValue(value: ServerlessContainerRuntime | undefined); private _type?; get type(): string; set type(value: string); get typeInput(): string; } export interface ServerlessContainerSecrets { /** * Container's environment variable in which secret's value will be stored. Must begin with a letter (A-Z, a-z). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#environment_variable ServerlessContainer#environment_variable} */ readonly environmentVariable: string; /** * Secret's ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#id ServerlessContainer#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; /** * Secret's entries key which value will be stored in environment variable. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#key ServerlessContainer#key} */ readonly key: string; /** * Secret's version ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#version_id ServerlessContainer#version_id} */ readonly versionId: string; } export declare function serverlessContainerSecretsToTerraform(struct?: ServerlessContainerSecrets | cdktf.IResolvable): any; export declare function serverlessContainerSecretsToHclTerraform(struct?: ServerlessContainerSecrets | cdktf.IResolvable): any; export declare class ServerlessContainerSecretsOutputReference 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(): ServerlessContainerSecrets | cdktf.IResolvable | undefined; set internalValue(value: ServerlessContainerSecrets | cdktf.IResolvable | undefined); private _environmentVariable?; get environmentVariable(): string; set environmentVariable(value: string); get environmentVariableInput(): string; private _id?; get id(): string; set id(value: string); get idInput(): string; private _key?; get key(): string; set key(value: string); get keyInput(): string; private _versionId?; get versionId(): string; set versionId(value: string); get versionIdInput(): string; } export declare class ServerlessContainerSecretsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ServerlessContainerSecrets[] | 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): ServerlessContainerSecretsOutputReference; } export interface ServerlessContainerStorageMounts { /** * Name of the mounting bucket. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#bucket ServerlessContainer#bucket} */ readonly bucket: string; /** * Path inside the container to access the directory in which the bucket is mounted. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#mount_point_path ServerlessContainer#mount_point_path} */ readonly mountPointPath: string; /** * Prefix within the bucket. If you leave this field empty, the entire bucket will be mounted. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#prefix ServerlessContainer#prefix} */ readonly prefix?: string; /** * Mount the bucket in read-only mode. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#read_only ServerlessContainer#read_only} */ readonly readOnly?: boolean | cdktf.IResolvable; } export declare function serverlessContainerStorageMountsToTerraform(struct?: ServerlessContainerStorageMounts | cdktf.IResolvable): any; export declare function serverlessContainerStorageMountsToHclTerraform(struct?: ServerlessContainerStorageMounts | cdktf.IResolvable): any; export declare class ServerlessContainerStorageMountsOutputReference 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(): ServerlessContainerStorageMounts | cdktf.IResolvable | undefined; set internalValue(value: ServerlessContainerStorageMounts | cdktf.IResolvable | undefined); private _bucket?; get bucket(): string; set bucket(value: string); get bucketInput(): string; private _mountPointPath?; get mountPointPath(): string; set mountPointPath(value: string); get mountPointPathInput(): string; private _prefix?; get prefix(): string; set prefix(value: string); resetPrefix(): void; get prefixInput(): string; private _readOnly?; get readOnly(): boolean | cdktf.IResolvable; set readOnly(value: boolean | cdktf.IResolvable); resetReadOnly(): void; get readOnlyInput(): any; } export declare class ServerlessContainerStorageMountsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ServerlessContainerStorageMounts[] | 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): ServerlessContainerStorageMountsOutputReference; } export interface ServerlessContainerTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#create ServerlessContainer#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#delete ServerlessContainer#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#update ServerlessContainer#update} */ readonly update?: string; } export declare function serverlessContainerTimeoutsToTerraform(struct?: ServerlessContainerTimeouts | cdktf.IResolvable): any; export declare function serverlessContainerTimeoutsToHclTerraform(struct?: ServerlessContainerTimeouts | cdktf.IResolvable): any; export declare class ServerlessContainerTimeoutsOutputReference 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(): ServerlessContainerTimeouts | cdktf.IResolvable | undefined; set internalValue(value: ServerlessContainerTimeouts | 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/serverless_container yandex_serverless_container} */ export declare class ServerlessContainer extends cdktf.TerraformResource { static readonly tfResourceType = "yandex_serverless_container"; /** * Generates CDKTF code for importing a ServerlessContainer 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 ServerlessContainer to import * @param importFromId The id of the existing ServerlessContainer that should be imported. Refer to the {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/serverless_container#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ServerlessContainer 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/serverless_container yandex_serverless_container} 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 ServerlessContainerConfig */ constructor(scope: Construct, id: string, config: ServerlessContainerConfig); private _concurrency?; get concurrency(): number; set concurrency(value: number); resetConcurrency(): void; get concurrencyInput(): number; private _coreFraction?; get coreFraction(): number; set coreFraction(value: number); resetCoreFraction(): void; get coreFractionInput(): number; private _cores?; get cores(): number; set cores(value: number); resetCores(): void; get coresInput(): number; get createdAt(): any; private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; private _executionTimeout?; get executionTimeout(): string; set executionTimeout(value: string); resetExecutionTimeout(): void; get executionTimeoutInput(): 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 _memory?; get memory(): number; set memory(value: number); get memoryInput(): number; private _name?; get name(): string; set name(value: string); get nameInput(): string; get revisionId(): any; private _serviceAccountId?; get serviceAccountId(): string; set serviceAccountId(value: string); resetServiceAccountId(): void; get serviceAccountIdInput(): string; get url(): any; private _asyncInvocation; get asyncInvocation(): ServerlessContainerAsyncInvocationOutputReference; putAsyncInvocation(value: ServerlessContainerAsyncInvocation): void; resetAsyncInvocation(): void; get asyncInvocationInput(): ServerlessContainerAsyncInvocation; private _connectivity; get connectivity(): ServerlessContainerConnectivityOutputReference; putConnectivity(value: ServerlessContainerConnectivity): void; resetConnectivity(): void; get connectivityInput(): ServerlessContainerConnectivity; private _image; get image(): ServerlessContainerImageOutputReference; putImage(value: ServerlessContainerImage): void; get imageInput(): ServerlessContainerImage; private _logOptions; get logOptions(): ServerlessContainerLogOptionsOutputReference; putLogOptions(value: ServerlessContainerLogOptions): void; resetLogOptions(): void; get logOptionsInput(): ServerlessContainerLogOptions; private _metadataOptions; get metadataOptions(): ServerlessContainerMetadataOptionsOutputReference; putMetadataOptions(value: ServerlessContainerMetadataOptions): void; resetMetadataOptions(): void; get metadataOptionsInput(): ServerlessContainerMetadataOptions; private _mounts; get mounts(): ServerlessContainerMountsList; putMounts(value: ServerlessContainerMounts[] | cdktf.IResolvable): void; resetMounts(): void; get mountsInput(): any; private _provisionPolicy; get provisionPolicy(): ServerlessContainerProvisionPolicyOutputReference; putProvisionPolicy(value: ServerlessContainerProvisionPolicy): void; resetProvisionPolicy(): void; get provisionPolicyInput(): ServerlessContainerProvisionPolicy; private _runtime; get runtime(): ServerlessContainerRuntimeOutputReference; putRuntime(value: ServerlessContainerRuntime): void; resetRuntime(): void; get runtimeInput(): ServerlessContainerRuntime; private _secrets; get secrets(): ServerlessContainerSecretsList; putSecrets(value: ServerlessContainerSecrets[] | cdktf.IResolvable): void; resetSecrets(): void; get secretsInput(): any; private _storageMounts; get storageMounts(): ServerlessContainerStorageMountsList; putStorageMounts(value: ServerlessContainerStorageMounts[] | cdktf.IResolvable): void; resetStorageMounts(): void; get storageMountsInput(): any; private _timeouts; get timeouts(): ServerlessContainerTimeoutsOutputReference; putTimeouts(value: ServerlessContainerTimeouts): void; resetTimeouts(): void; get timeoutsInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }