import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ContainerRepositoryConfig extends cdktf.TerraformMetaArguments { /** * ID of the Repository resource to return. * * To get the repository ID use a [RepositoryService.List] request. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/container_repository#id ContainerRepository#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; /** * Name of the repository. * The name is unique within the registry. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/container_repository#name ContainerRepository#name} */ readonly name: string; /** * ID of the Repository resource to return. * * To get the repository ID use a [RepositoryService.List] request. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/container_repository#repository_id ContainerRepository#repository_id} */ readonly repositoryId?: string; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/container_repository#timeouts ContainerRepository#timeouts} */ readonly timeouts?: ContainerRepositoryTimeouts; } export interface ContainerRepositoryTimeouts { /** * 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/resources/container_repository#create ContainerRepository#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/resources/container_repository#delete ContainerRepository#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/resources/container_repository#read ContainerRepository#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/resources/container_repository#update ContainerRepository#update} */ readonly update?: string; } export declare function containerRepositoryTimeoutsToTerraform(struct?: ContainerRepositoryTimeouts | cdktf.IResolvable): any; export declare function containerRepositoryTimeoutsToHclTerraform(struct?: ContainerRepositoryTimeouts | cdktf.IResolvable): any; export declare class ContainerRepositoryTimeoutsOutputReference 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(): ContainerRepositoryTimeouts | cdktf.IResolvable | undefined; set internalValue(value: ContainerRepositoryTimeouts | 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/resources/container_repository yandex_container_repository} */ export declare class ContainerRepository extends cdktf.TerraformResource { static readonly tfResourceType = "yandex_container_repository"; /** * Generates CDKTF code for importing a ContainerRepository 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 ContainerRepository to import * @param importFromId The id of the existing ContainerRepository that should be imported. Refer to the {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/container_repository#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ContainerRepository 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/container_repository yandex_container_repository} 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 ContainerRepositoryConfig */ constructor(scope: Construct, id: string, config: ContainerRepositoryConfig); private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _repositoryId?; get repositoryId(): string; set repositoryId(value: string); resetRepositoryId(): void; get repositoryIdInput(): string; private _timeouts; get timeouts(): ContainerRepositoryTimeoutsOutputReference; putTimeouts(value: ContainerRepositoryTimeouts): void; resetTimeouts(): void; get timeoutsInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }