import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ApiGatewayApiKeyConfig extends cdktf.TerraformMetaArguments { /** * User defined key ID, required when access_key_type is manual. The length is 5-50 characters, consisting of letters, numbers, and English underscores. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_api_key#access_key_id ApiGatewayApiKey#access_key_id} */ readonly accessKeyId?: string; /** * The user-defined key must be passed when the access_key_type is manual. The length is 10-50 characters, consisting of letters, numbers, and English underscores. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_api_key#access_key_secret ApiGatewayApiKey#access_key_secret} */ readonly accessKeySecret?: string; /** * Key type, supports both auto and manual (custom keys), defaults to auto. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_api_key#access_key_type ApiGatewayApiKey#access_key_type} */ readonly accessKeyType?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_api_key#id ApiGatewayApiKey#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; /** * Custom key name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_api_key#secret_name ApiGatewayApiKey#secret_name} */ readonly secretName: string; /** * Key status. Valid values: `on`, `off`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_api_key#status ApiGatewayApiKey#status} */ readonly status?: string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_api_key tencentcloud_api_gateway_api_key} */ export declare class ApiGatewayApiKey extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_api_gateway_api_key"; /** * Generates CDKTF code for importing a ApiGatewayApiKey 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 ApiGatewayApiKey to import * @param importFromId The id of the existing ApiGatewayApiKey that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_api_key#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ApiGatewayApiKey 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/api_gateway_api_key tencentcloud_api_gateway_api_key} 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 ApiGatewayApiKeyConfig */ constructor(scope: Construct, id: string, config: ApiGatewayApiKeyConfig); private _accessKeyId?; get accessKeyId(): string; set accessKeyId(value: string); resetAccessKeyId(): void; get accessKeyIdInput(): string; private _accessKeySecret?; get accessKeySecret(): string; set accessKeySecret(value: string); resetAccessKeySecret(): void; get accessKeySecretInput(): string; private _accessKeyType?; get accessKeyType(): string; set accessKeyType(value: string); resetAccessKeyType(): void; get accessKeyTypeInput(): string; get createTime(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; get modifyTime(): any; private _secretName?; get secretName(): string; set secretName(value: string); get secretNameInput(): string; private _status?; get status(): string; set status(value: string); resetStatus(): void; get statusInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }