import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ApiGatewayUsagePlanAttachmentConfig extends cdktf.TerraformMetaArguments { /** * Array of key IDs to be bound. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_usage_plan_attachment#access_key_ids ApiGatewayUsagePlanAttachment#access_key_ids} */ readonly accessKeyIds?: string[]; /** * ID of the API. This parameter will be required when `bind_type` is `API`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_usage_plan_attachment#api_id ApiGatewayUsagePlanAttachment#api_id} */ readonly apiId?: string; /** * Binding type. Valid values: `API`, `SERVICE`. Default value is `SERVICE`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_usage_plan_attachment#bind_type ApiGatewayUsagePlanAttachment#bind_type} */ readonly bindType?: string; /** * The environment to be bound. Valid values: `test`, `prepub`, `release`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_usage_plan_attachment#environment ApiGatewayUsagePlanAttachment#environment} */ readonly environment: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_usage_plan_attachment#id ApiGatewayUsagePlanAttachment#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; /** * ID of the service. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_usage_plan_attachment#service_id ApiGatewayUsagePlanAttachment#service_id} */ readonly serviceId: string; /** * ID of the usage plan. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_usage_plan_attachment#usage_plan_id ApiGatewayUsagePlanAttachment#usage_plan_id} */ readonly usagePlanId: string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_usage_plan_attachment tencentcloud_api_gateway_usage_plan_attachment} */ export declare class ApiGatewayUsagePlanAttachment extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_api_gateway_usage_plan_attachment"; /** * Generates CDKTF code for importing a ApiGatewayUsagePlanAttachment 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 ApiGatewayUsagePlanAttachment to import * @param importFromId The id of the existing ApiGatewayUsagePlanAttachment that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/api_gateway_usage_plan_attachment#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ApiGatewayUsagePlanAttachment 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_usage_plan_attachment tencentcloud_api_gateway_usage_plan_attachment} 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 ApiGatewayUsagePlanAttachmentConfig */ constructor(scope: Construct, id: string, config: ApiGatewayUsagePlanAttachmentConfig); private _accessKeyIds?; get accessKeyIds(): string[]; set accessKeyIds(value: string[]); resetAccessKeyIds(): void; get accessKeyIdsInput(): string[]; private _apiId?; get apiId(): string; set apiId(value: string); resetApiId(): void; get apiIdInput(): string; private _bindType?; get bindType(): string; set bindType(value: string); resetBindType(): void; get bindTypeInput(): string; private _environment?; get environment(): string; set environment(value: string); get environmentInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _serviceId?; get serviceId(): string; set serviceId(value: string); get serviceIdInput(): string; private _usagePlanId?; get usagePlanId(): string; set usagePlanId(value: string); get usagePlanIdInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }