import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataYandexIamOauthClientConfig extends cdktf.TerraformMetaArguments { /** * ID of the folder oauth client belongs to. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/iam_oauth_client#folder_id DataYandexIamOauthClient#folder_id} */ readonly folderId?: string; /** * ID of the OAuthClient resource to return. * To get the oauth client ID, use a [OAuthClientService.List] request. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/iam_oauth_client#id DataYandexIamOauthClient#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 OAuthClient resource to return. * To get the oauth client ID, use a [OAuthClientService.List] request. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/iam_oauth_client#oauth_client_id DataYandexIamOauthClient#oauth_client_id} */ readonly oauthClientId?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/iam_oauth_client#timeouts DataYandexIamOauthClient#timeouts} */ readonly timeouts?: DataYandexIamOauthClientTimeouts; } export interface DataYandexIamOauthClientTimeouts { /** * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/iam_oauth_client#create DataYandexIamOauthClient#create} */ readonly create?: string; /** * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/iam_oauth_client#delete DataYandexIamOauthClient#delete} */ readonly delete?: string; /** * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/iam_oauth_client#read DataYandexIamOauthClient#read} */ readonly read?: string; /** * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/iam_oauth_client#update DataYandexIamOauthClient#update} */ readonly update?: string; } export declare function dataYandexIamOauthClientTimeoutsToTerraform(struct?: DataYandexIamOauthClientTimeouts | cdktf.IResolvable): any; export declare function dataYandexIamOauthClientTimeoutsToHclTerraform(struct?: DataYandexIamOauthClientTimeouts | cdktf.IResolvable): any; export declare class DataYandexIamOauthClientTimeoutsOutputReference 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(): DataYandexIamOauthClientTimeouts | cdktf.IResolvable | undefined; set internalValue(value: DataYandexIamOauthClientTimeouts | 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 _read?; get read(): string; set read(value: string); resetRead(): void; get readInput(): 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/data-sources/iam_oauth_client yandex_iam_oauth_client} */ export declare class DataYandexIamOauthClient extends cdktf.TerraformDataSource { static readonly tfResourceType = "yandex_iam_oauth_client"; /** * Generates CDKTF code for importing a DataYandexIamOauthClient 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 DataYandexIamOauthClient to import * @param importFromId The id of the existing DataYandexIamOauthClient that should be imported. Refer to the {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/data-sources/iam_oauth_client#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataYandexIamOauthClient 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/data-sources/iam_oauth_client yandex_iam_oauth_client} Data Source * * @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 DataYandexIamOauthClientConfig = {} */ constructor(scope: Construct, id: string, config?: DataYandexIamOauthClientConfig); 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; get name(): any; private _oauthClientId?; get oauthClientId(): string; set oauthClientId(value: string); resetOauthClientId(): void; get oauthClientIdInput(): string; get redirectUris(): any; get scopes(): any; get status(): any; private _timeouts; get timeouts(): DataYandexIamOauthClientTimeoutsOutputReference; putTimeouts(value: DataYandexIamOauthClientTimeouts): void; resetTimeouts(): void; get timeoutsInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }