import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ApiGatewayConfig extends cdktf.TerraformMetaArguments { /** * The resource description. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/api_gateway#description ApiGateway#description} */ readonly description?: string; /** * Execution timeout in seconds for the Yandex Cloud API Gateway. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/api_gateway#execution_timeout ApiGateway#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/api_gateway#folder_id ApiGateway#folder_id} */ readonly folderId?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/api_gateway#id ApiGateway#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/api_gateway#labels ApiGateway#labels} */ readonly labels?: { [key: string]: string; }; /** * The resource name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/api_gateway#name ApiGateway#name} */ readonly name: string; /** * The OpenAPI specification for Yandex Cloud API Gateway. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/api_gateway#spec ApiGateway#spec} */ readonly spec: string; /** * A set of values for variables in gateway specification. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/api_gateway#variables ApiGateway#variables} */ readonly variables?: { [key: string]: string; }; /** * canary block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/api_gateway#canary ApiGateway#canary} */ readonly canary?: ApiGatewayCanary; /** * connectivity block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/api_gateway#connectivity ApiGateway#connectivity} */ readonly connectivity?: ApiGatewayConnectivity; /** * custom_domains block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/api_gateway#custom_domains ApiGateway#custom_domains} */ readonly customDomains?: ApiGatewayCustomDomains[] | cdktf.IResolvable; /** * log_options block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/api_gateway#log_options ApiGateway#log_options} */ readonly logOptions?: ApiGatewayLogOptions; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/api_gateway#timeouts ApiGateway#timeouts} */ readonly timeouts?: ApiGatewayTimeouts; } export interface ApiGatewayCanary { /** * A list of values for variables in gateway specification of canary release. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/api_gateway#variables ApiGateway#variables} */ readonly variables?: { [key: string]: string; }; /** * Percentage of requests, which will be processed by canary release. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/api_gateway#weight ApiGateway#weight} */ readonly weight?: number; } export declare function apiGatewayCanaryToTerraform(struct?: ApiGatewayCanaryOutputReference | ApiGatewayCanary): any; export declare function apiGatewayCanaryToHclTerraform(struct?: ApiGatewayCanaryOutputReference | ApiGatewayCanary): any; export declare class ApiGatewayCanaryOutputReference 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(): ApiGatewayCanary | undefined; set internalValue(value: ApiGatewayCanary | undefined); private _variables?; get variables(): { [key: string]: string; }; set variables(value: { [key: string]: string; }); resetVariables(): void; get variablesInput(): { [key: string]: string; }; private _weight?; get weight(): number; set weight(value: number); resetWeight(): void; get weightInput(): number; } export interface ApiGatewayConnectivity { /** * Network the gateway will have access to. It's essential to specify network with subnets in all availability zones. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/api_gateway#network_id ApiGateway#network_id} */ readonly networkId: string; } export declare function apiGatewayConnectivityToTerraform(struct?: ApiGatewayConnectivityOutputReference | ApiGatewayConnectivity): any; export declare function apiGatewayConnectivityToHclTerraform(struct?: ApiGatewayConnectivityOutputReference | ApiGatewayConnectivity): any; export declare class ApiGatewayConnectivityOutputReference 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(): ApiGatewayConnectivity | undefined; set internalValue(value: ApiGatewayConnectivity | undefined); private _networkId?; get networkId(): string; set networkId(value: string); get networkIdInput(): string; } export interface ApiGatewayCustomDomains { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/api_gateway#certificate_id ApiGateway#certificate_id} */ readonly certificateId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/api_gateway#domain_id ApiGateway#domain_id} */ readonly domainId?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/api_gateway#fqdn ApiGateway#fqdn} */ readonly fqdn: string; } export declare function apiGatewayCustomDomainsToTerraform(struct?: ApiGatewayCustomDomains | cdktf.IResolvable): any; export declare function apiGatewayCustomDomainsToHclTerraform(struct?: ApiGatewayCustomDomains | cdktf.IResolvable): any; export declare class ApiGatewayCustomDomainsOutputReference 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(): ApiGatewayCustomDomains | cdktf.IResolvable | undefined; set internalValue(value: ApiGatewayCustomDomains | cdktf.IResolvable | undefined); private _certificateId?; get certificateId(): string; set certificateId(value: string); get certificateIdInput(): string; private _domainId?; get domainId(): string; set domainId(value: string); resetDomainId(): void; get domainIdInput(): string; private _fqdn?; get fqdn(): string; set fqdn(value: string); get fqdnInput(): string; } export declare class ApiGatewayCustomDomainsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ApiGatewayCustomDomains[] | 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): ApiGatewayCustomDomainsOutputReference; } export interface ApiGatewayLogOptions { /** * Is logging from Yandex Cloud API Gateway disabled. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/api_gateway#disabled ApiGateway#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/api_gateway#folder_id ApiGateway#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/api_gateway#log_group_id ApiGateway#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/api_gateway#min_level ApiGateway#min_level} */ readonly minLevel?: string; } export declare function apiGatewayLogOptionsToTerraform(struct?: ApiGatewayLogOptionsOutputReference | ApiGatewayLogOptions): any; export declare function apiGatewayLogOptionsToHclTerraform(struct?: ApiGatewayLogOptionsOutputReference | ApiGatewayLogOptions): any; export declare class ApiGatewayLogOptionsOutputReference 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(): ApiGatewayLogOptions | undefined; set internalValue(value: ApiGatewayLogOptions | 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 ApiGatewayTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/api_gateway#create ApiGateway#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/api_gateway#delete ApiGateway#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/api_gateway#update ApiGateway#update} */ readonly update?: string; } export declare function apiGatewayTimeoutsToTerraform(struct?: ApiGatewayTimeouts | cdktf.IResolvable): any; export declare function apiGatewayTimeoutsToHclTerraform(struct?: ApiGatewayTimeouts | cdktf.IResolvable): any; export declare class ApiGatewayTimeoutsOutputReference 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(): ApiGatewayTimeouts | cdktf.IResolvable | undefined; set internalValue(value: ApiGatewayTimeouts | 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/api_gateway yandex_api_gateway} */ export declare class ApiGateway extends cdktf.TerraformResource { static readonly tfResourceType = "yandex_api_gateway"; /** * Generates CDKTF code for importing a ApiGateway 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 ApiGateway to import * @param importFromId The id of the existing ApiGateway that should be imported. Refer to the {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/api_gateway#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ApiGateway 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/api_gateway yandex_api_gateway} 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 ApiGatewayConfig */ constructor(scope: Construct, id: string, config: ApiGatewayConfig); get createdAt(): any; private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; get domain(): any; 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; }; get logGroupId(): any; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _spec?; get spec(): string; set spec(value: string); get specInput(): string; get status(): any; get userDomains(): any; private _variables?; get variables(): { [key: string]: string; }; set variables(value: { [key: string]: string; }); resetVariables(): void; get variablesInput(): { [key: string]: string; }; private _canary; get canary(): ApiGatewayCanaryOutputReference; putCanary(value: ApiGatewayCanary): void; resetCanary(): void; get canaryInput(): ApiGatewayCanary; private _connectivity; get connectivity(): ApiGatewayConnectivityOutputReference; putConnectivity(value: ApiGatewayConnectivity): void; resetConnectivity(): void; get connectivityInput(): ApiGatewayConnectivity; private _customDomains; get customDomains(): ApiGatewayCustomDomainsList; putCustomDomains(value: ApiGatewayCustomDomains[] | cdktf.IResolvable): void; resetCustomDomains(): void; get customDomainsInput(): any; private _logOptions; get logOptions(): ApiGatewayLogOptionsOutputReference; putLogOptions(value: ApiGatewayLogOptions): void; resetLogOptions(): void; get logOptionsInput(): ApiGatewayLogOptions; private _timeouts; get timeouts(): ApiGatewayTimeoutsOutputReference; putTimeouts(value: ApiGatewayTimeouts): void; resetTimeouts(): void; get timeoutsInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }