import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ScfLayerConfig extends cdktf.TerraformMetaArguments { /** * The compatible runtimes of layer. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_layer#compatible_runtimes ScfLayer#compatible_runtimes} */ readonly compatibleRuntimes: string[]; /** * The description of layer. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_layer#description ScfLayer#description} */ readonly description?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_layer#id ScfLayer#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; /** * The name of layer. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_layer#layer_name ScfLayer#layer_name} */ readonly layerName: string; /** * The license info of layer. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_layer#license_info ScfLayer#license_info} */ readonly licenseInfo?: string; /** * content block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_layer#content ScfLayer#content} */ readonly content: ScfLayerContent; } export interface ScfLayerContent { /** * Cos bucket name of the SCF layer, 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_layer#cos_bucket_name ScfLayer#cos_bucket_name} */ readonly cosBucketName?: string; /** * Cos bucket region of the SCF layer, conflict with `zip_file`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_layer#cos_bucket_region ScfLayer#cos_bucket_region} */ readonly cosBucketRegion?: string; /** * Cos object name of the SCF layer, 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_layer#cos_object_name ScfLayer#cos_object_name} */ readonly cosObjectName?: string; /** * Zip file of the SCF layer, 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_layer#zip_file ScfLayer#zip_file} */ readonly zipFile?: string; } export declare function scfLayerContentToTerraform(struct?: ScfLayerContentOutputReference | ScfLayerContent): any; export declare function scfLayerContentToHclTerraform(struct?: ScfLayerContentOutputReference | ScfLayerContent): any; export declare class ScfLayerContentOutputReference 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(): ScfLayerContent | undefined; set internalValue(value: ScfLayerContent | undefined); 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 _zipFile?; get zipFile(): string; set zipFile(value: string); resetZipFile(): void; get zipFileInput(): string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_layer tencentcloud_scf_layer} */ export declare class ScfLayer extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_scf_layer"; /** * Generates CDKTF code for importing a ScfLayer 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 ScfLayer to import * @param importFromId The id of the existing ScfLayer that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/scf_layer#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ScfLayer 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_layer tencentcloud_scf_layer} 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 ScfLayerConfig */ constructor(scope: Construct, id: string, config: ScfLayerConfig); get codeSha256(): any; private _compatibleRuntimes?; get compatibleRuntimes(): string[]; set compatibleRuntimes(value: string[]); get compatibleRuntimesInput(): string[]; get createTime(): any; private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _layerName?; get layerName(): string; set layerName(value: string); get layerNameInput(): string; get layerVersion(): any; private _licenseInfo?; get licenseInfo(): string; set licenseInfo(value: string); resetLicenseInfo(): void; get licenseInfoInput(): string; get location(): any; get status(): any; private _content; get content(): ScfLayerContentOutputReference; putContent(value: ScfLayerContent): void; get contentInput(): ScfLayerContent; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }