rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
87 lines (86 loc) • 4.28 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataOciKmsEncryptedDataConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/kms_encrypted_data#associated_data DataOciKmsEncryptedData#associated_data}
*/
readonly associatedData?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/kms_encrypted_data#crypto_endpoint DataOciKmsEncryptedData#crypto_endpoint}
*/
readonly cryptoEndpoint: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/kms_encrypted_data#id DataOciKmsEncryptedData#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;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/kms_encrypted_data#key_id DataOciKmsEncryptedData#key_id}
*/
readonly keyId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/kms_encrypted_data#plaintext DataOciKmsEncryptedData#plaintext}
*/
readonly plaintext: string;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/kms_encrypted_data oci_kms_encrypted_data}
*/
export declare class DataOciKmsEncryptedData extends cdktf.TerraformDataSource {
static readonly tfResourceType = "oci_kms_encrypted_data";
/**
* Generates CDKTF code for importing a DataOciKmsEncryptedData resource upon running "cdktf plan <stack-name>"
* @param scope The scope in which to define this construct
* @param importToId The construct id used in the generated config for the DataOciKmsEncryptedData to import
* @param importFromId The id of the existing DataOciKmsEncryptedData that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/kms_encrypted_data#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataOciKmsEncryptedData to import is found
*/
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource;
/**
* Create a new {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/kms_encrypted_data oci_kms_encrypted_data} 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 DataOciKmsEncryptedDataConfig
*/
constructor(scope: Construct, id: string, config: DataOciKmsEncryptedDataConfig);
private _associatedData?;
get associatedData(): {
[key: string]: string;
};
set associatedData(value: {
[key: string]: string;
});
resetAssociatedData(): void;
get associatedDataInput(): {
[key: string]: string;
} | undefined;
get ciphertext(): string;
private _cryptoEndpoint?;
get cryptoEndpoint(): string;
set cryptoEndpoint(value: string);
get cryptoEndpointInput(): string | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _keyId?;
get keyId(): string;
set keyId(value: string);
get keyIdInput(): string | undefined;
private _plaintext?;
get plaintext(): string;
set plaintext(value: string);
get plaintextInput(): string | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}