import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface LockboxSecretVersionConfig extends cdktf.TerraformMetaArguments { /** * The resource description. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/lockbox_secret_version#description LockboxSecretVersion#description} */ readonly description?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/lockbox_secret_version#id LockboxSecretVersion#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; /** * The Yandex Cloud Lockbox secret ID where to add the version. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/lockbox_secret_version#secret_id LockboxSecretVersion#secret_id} */ readonly secretId: string; /** * entries block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/lockbox_secret_version#entries LockboxSecretVersion#entries} */ readonly entries?: LockboxSecretVersionEntries[] | cdktf.IResolvable; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/lockbox_secret_version#timeouts LockboxSecretVersion#timeouts} */ readonly timeouts?: LockboxSecretVersionTimeouts; } export interface LockboxSecretVersionEntriesCommand { /** * List of arguments to be passed to the script/command. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/lockbox_secret_version#args LockboxSecretVersion#args} */ readonly args?: string[]; /** * Map of environment variables to set before calling the script/command. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/lockbox_secret_version#env LockboxSecretVersion#env} */ readonly env?: { [key: string]: string; }; /** * The path to the script or command to execute. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/lockbox_secret_version#path LockboxSecretVersion#path} */ readonly path: string; } export declare function lockboxSecretVersionEntriesCommandToTerraform(struct?: LockboxSecretVersionEntriesCommandOutputReference | LockboxSecretVersionEntriesCommand): any; export declare function lockboxSecretVersionEntriesCommandToHclTerraform(struct?: LockboxSecretVersionEntriesCommandOutputReference | LockboxSecretVersionEntriesCommand): any; export declare class LockboxSecretVersionEntriesCommandOutputReference 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(): LockboxSecretVersionEntriesCommand | undefined; set internalValue(value: LockboxSecretVersionEntriesCommand | undefined); private _args?; get args(): string[]; set args(value: string[]); resetArgs(): void; get argsInput(): string[]; private _env?; get env(): { [key: string]: string; }; set env(value: { [key: string]: string; }); resetEnv(): void; get envInput(): { [key: string]: string; }; private _path?; get path(): string; set path(value: string); get pathInput(): string; } export interface LockboxSecretVersionEntries { /** * The key of the entry. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/lockbox_secret_version#key LockboxSecretVersion#key} */ readonly key: string; /** * The text value of the entry. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/lockbox_secret_version#text_value LockboxSecretVersion#text_value} */ readonly textValue?: string; /** * command block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/lockbox_secret_version#command LockboxSecretVersion#command} */ readonly command?: LockboxSecretVersionEntriesCommand; } export declare function lockboxSecretVersionEntriesToTerraform(struct?: LockboxSecretVersionEntries | cdktf.IResolvable): any; export declare function lockboxSecretVersionEntriesToHclTerraform(struct?: LockboxSecretVersionEntries | cdktf.IResolvable): any; export declare class LockboxSecretVersionEntriesOutputReference 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(): LockboxSecretVersionEntries | cdktf.IResolvable | undefined; set internalValue(value: LockboxSecretVersionEntries | cdktf.IResolvable | undefined); private _key?; get key(): string; set key(value: string); get keyInput(): string; private _textValue?; get textValue(): string; set textValue(value: string); resetTextValue(): void; get textValueInput(): string; private _command; get command(): LockboxSecretVersionEntriesCommandOutputReference; putCommand(value: LockboxSecretVersionEntriesCommand): void; resetCommand(): void; get commandInput(): LockboxSecretVersionEntriesCommand; } export declare class LockboxSecretVersionEntriesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: LockboxSecretVersionEntries[] | 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): LockboxSecretVersionEntriesOutputReference; } export interface LockboxSecretVersionTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/lockbox_secret_version#create LockboxSecretVersion#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/lockbox_secret_version#delete LockboxSecretVersion#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/lockbox_secret_version#read LockboxSecretVersion#read} */ readonly read?: string; } export declare function lockboxSecretVersionTimeoutsToTerraform(struct?: LockboxSecretVersionTimeouts | cdktf.IResolvable): any; export declare function lockboxSecretVersionTimeoutsToHclTerraform(struct?: LockboxSecretVersionTimeouts | cdktf.IResolvable): any; export declare class LockboxSecretVersionTimeoutsOutputReference 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(): LockboxSecretVersionTimeouts | cdktf.IResolvable | undefined; set internalValue(value: LockboxSecretVersionTimeouts | 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; } /** * Represents a {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/lockbox_secret_version yandex_lockbox_secret_version} */ export declare class LockboxSecretVersion extends cdktf.TerraformResource { static readonly tfResourceType = "yandex_lockbox_secret_version"; /** * Generates CDKTF code for importing a LockboxSecretVersion 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 LockboxSecretVersion to import * @param importFromId The id of the existing LockboxSecretVersion that should be imported. Refer to the {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/lockbox_secret_version#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the LockboxSecretVersion 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/lockbox_secret_version yandex_lockbox_secret_version} 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 LockboxSecretVersionConfig */ constructor(scope: Construct, id: string, config: LockboxSecretVersionConfig); private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _secretId?; get secretId(): string; set secretId(value: string); get secretIdInput(): string; private _entries; get entries(): LockboxSecretVersionEntriesList; putEntries(value: LockboxSecretVersionEntries[] | cdktf.IResolvable): void; resetEntries(): void; get entriesInput(): any; private _timeouts; get timeouts(): LockboxSecretVersionTimeoutsOutputReference; putTimeouts(value: LockboxSecretVersionTimeouts): void; resetTimeouts(): void; get timeoutsInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }