rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
175 lines (174 loc) • 8.03 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface KmsEncryptedDataConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/kms_encrypted_data#associated_data KmsEncryptedData#associated_data}
*/
readonly associatedData?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/kms_encrypted_data#crypto_endpoint KmsEncryptedData#crypto_endpoint}
*/
readonly cryptoEndpoint: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/kms_encrypted_data#encryption_algorithm KmsEncryptedData#encryption_algorithm}
*/
readonly encryptionAlgorithm?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/kms_encrypted_data#id KmsEncryptedData#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/resources/kms_encrypted_data#key_id KmsEncryptedData#key_id}
*/
readonly keyId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/kms_encrypted_data#key_version_id KmsEncryptedData#key_version_id}
*/
readonly keyVersionId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/kms_encrypted_data#logging_context KmsEncryptedData#logging_context}
*/
readonly loggingContext?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/kms_encrypted_data#plaintext KmsEncryptedData#plaintext}
*/
readonly plaintext: string;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/kms_encrypted_data#timeouts KmsEncryptedData#timeouts}
*/
readonly timeouts?: KmsEncryptedDataTimeouts;
}
export interface KmsEncryptedDataTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/kms_encrypted_data#create KmsEncryptedData#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/kms_encrypted_data#delete KmsEncryptedData#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/kms_encrypted_data#update KmsEncryptedData#update}
*/
readonly update?: string;
}
export declare function kmsEncryptedDataTimeoutsToTerraform(struct?: KmsEncryptedDataTimeouts | cdktf.IResolvable): any;
export declare function kmsEncryptedDataTimeoutsToHclTerraform(struct?: KmsEncryptedDataTimeouts | cdktf.IResolvable): any;
export declare class KmsEncryptedDataTimeoutsOutputReference 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(): KmsEncryptedDataTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: KmsEncryptedDataTimeouts | cdktf.IResolvable | undefined);
private _create?;
get create(): string;
set create(value: string);
resetCreate(): void;
get createInput(): string | undefined;
private _delete?;
get delete(): string;
set delete(value: string);
resetDelete(): void;
get deleteInput(): string | undefined;
private _update?;
get update(): string;
set update(value: string);
resetUpdate(): void;
get updateInput(): string | undefined;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/kms_encrypted_data oci_kms_encrypted_data}
*/
export declare class KmsEncryptedData extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_kms_encrypted_data";
/**
* Generates CDKTF code for importing a KmsEncryptedData 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 KmsEncryptedData to import
* @param importFromId The id of the existing KmsEncryptedData that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/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 KmsEncryptedData 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/resources/kms_encrypted_data oci_kms_encrypted_data} 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 KmsEncryptedDataConfig
*/
constructor(scope: Construct, id: string, config: KmsEncryptedDataConfig);
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 _encryptionAlgorithm?;
get encryptionAlgorithm(): string;
set encryptionAlgorithm(value: string);
resetEncryptionAlgorithm(): void;
get encryptionAlgorithmInput(): 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 _keyVersionId?;
get keyVersionId(): string;
set keyVersionId(value: string);
resetKeyVersionId(): void;
get keyVersionIdInput(): string | undefined;
private _loggingContext?;
get loggingContext(): {
[key: string]: string;
};
set loggingContext(value: {
[key: string]: string;
});
resetLoggingContext(): void;
get loggingContextInput(): {
[key: string]: string;
} | undefined;
private _plaintext?;
get plaintext(): string;
set plaintext(value: string);
get plaintextInput(): string | undefined;
private _timeouts;
get timeouts(): KmsEncryptedDataTimeoutsOutputReference;
putTimeouts(value: KmsEncryptedDataTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | KmsEncryptedDataTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}