import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface KeyConfig extends cdktf.TerraformMetaArguments { /** * Default: "aes-256-cbc"; must be one of ["aes-256-cbc", "aes-256-gcm"] * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/key#algorithm Key#algorithm} */ readonly algorithm?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/key#description Key#description} */ readonly description?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/key#expires Key#expires} */ readonly expires?: number; /** * The consumer group to which this instance belongs. Defaults to 'default'. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/key#group_id Key#group_id} */ readonly groupId: string; /** * The id of this key metadata entity instance * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/key#id Key#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; /** * Default: 0 * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/key#keyclass Key#keyclass} */ readonly keyclass?: number; /** * Default: "local"; must be "local" * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/key#kms Key#kms} */ readonly kms?: string; /** * Seed encryption with a [nonce](https://en.wikipedia.org/wiki/Cryptographic_nonce) to make the key more random and unique. Must be enabled with the aes-256-gcm algorithm. Default: false * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/key#use_iv Key#use_iv} */ readonly useIv?: boolean | cdktf.IResolvable; } /** * Represents a {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/key criblio_key} */ export declare class Key extends cdktf.TerraformResource { static readonly tfResourceType = "criblio_key"; /** * Generates CDKTF code for importing a Key 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 Key to import * @param importFromId The id of the existing Key that should be imported. Refer to the {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/key#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the Key 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/criblio/criblio/1.20.72/docs/resources/key criblio_key} 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 KeyConfig */ constructor(scope: Construct, id: string, config: KeyConfig); private _algorithm?; get algorithm(): string; set algorithm(value: string); resetAlgorithm(): void; get algorithmInput(): string; private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; private _expires?; get expires(): number; set expires(value: number); resetExpires(): void; get expiresInput(): number; private _groupId?; get groupId(): string; set groupId(value: string); get groupIdInput(): string; private _id?; get id(): string; set id(value: string); get idInput(): string; private _keyclass?; get keyclass(): number; set keyclass(value: number); resetKeyclass(): void; get keyclassInput(): number; private _kms?; get kms(): string; set kms(value: string); resetKms(): void; get kmsInput(): string; private _useIv?; get useIv(): boolean | cdktf.IResolvable; set useIv(value: boolean | cdktf.IResolvable); resetUseIv(): void; get useIvInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }