import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface CertificateConfig extends cdktf.TerraformMetaArguments { /** * Optionally, drag/drop or upload all CA certificates in PEM/Base64 format. Or, paste certificate contents here. Certificates can be used for client and/or server authentication. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/certificate#ca Certificate#ca} */ readonly ca?: string; /** * Drag/drop or upload host certificate in PEM/Base64 format, or paste its contents here * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/certificate#cert Certificate#cert} */ readonly cert: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/certificate#description Certificate#description} */ readonly description?: string; /** * 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/certificate#group_id Certificate#group_id} */ readonly groupId: string; /** * Unique ID to PATCH * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/certificate#id Certificate#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; /** * List of configurations that reference this certificate * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/certificate#in_use Certificate#in_use} */ readonly inUse?: string[]; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/certificate#passphrase Certificate#passphrase} */ readonly passphrase?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/certificate#priv_key Certificate#priv_key} */ readonly privKey: string; } /** * Represents a {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/certificate criblio_certificate} */ export declare class Certificate extends cdktf.TerraformResource { static readonly tfResourceType = "criblio_certificate"; /** * Generates CDKTF code for importing a Certificate 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 Certificate to import * @param importFromId The id of the existing Certificate that should be imported. Refer to the {@link https://registry.terraform.io/providers/criblio/criblio/1.20.72/docs/resources/certificate#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the Certificate 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/certificate criblio_certificate} 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 CertificateConfig */ constructor(scope: Construct, id: string, config: CertificateConfig); private _ca?; get ca(): string; set ca(value: string); resetCa(): void; get caInput(): string; private _cert?; get cert(): string; set cert(value: string); get certInput(): string; private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; 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 _inUse?; get inUse(): string[]; set inUse(value: string[]); resetInUse(): void; get inUseInput(): string[]; private _passphrase?; get passphrase(): string; set passphrase(value: string); resetPassphrase(): void; get passphraseInput(): string; private _privKey?; get privKey(): string; set privKey(value: string); get privKeyInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }