UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

207 lines (206 loc) 10.9 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface KmsKeyRingImportJobConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/kms_key_ring_import_job#id KmsKeyRingImportJob#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; /** * It must be unique within a KeyRing and match the regular expression [a-zA-Z0-9_-]{1,63} * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/kms_key_ring_import_job#import_job_id KmsKeyRingImportJob#import_job_id} */ readonly importJobId: string; /** * The wrapping method to be used for incoming key material. Possible values: ["RSA_OAEP_3072_SHA1_AES_256", "RSA_OAEP_4096_SHA1_AES_256"] * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/kms_key_ring_import_job#import_method KmsKeyRingImportJob#import_method} */ readonly importMethod: string; /** * The KeyRing that this import job belongs to. * Format: ''projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}''. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/kms_key_ring_import_job#key_ring KmsKeyRingImportJob#key_ring} */ readonly keyRing: string; /** * The protection level of the ImportJob. This must match the protectionLevel of the * versionTemplate on the CryptoKey you attempt to import into. Possible values: ["SOFTWARE", "HSM", "EXTERNAL"] * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/kms_key_ring_import_job#protection_level KmsKeyRingImportJob#protection_level} */ readonly protectionLevel: string; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/kms_key_ring_import_job#timeouts KmsKeyRingImportJob#timeouts} */ readonly timeouts?: KmsKeyRingImportJobTimeouts; } export interface KmsKeyRingImportJobAttestation { } export declare function kmsKeyRingImportJobAttestationToTerraform(struct?: KmsKeyRingImportJobAttestation): any; export declare function kmsKeyRingImportJobAttestationToHclTerraform(struct?: KmsKeyRingImportJobAttestation): any; export declare class KmsKeyRingImportJobAttestationOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @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(): KmsKeyRingImportJobAttestation | undefined; set internalValue(value: KmsKeyRingImportJobAttestation | undefined); get content(): string; get format(): string; } export declare class KmsKeyRingImportJobAttestationList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @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): KmsKeyRingImportJobAttestationOutputReference; } export interface KmsKeyRingImportJobPublicKey { } export declare function kmsKeyRingImportJobPublicKeyToTerraform(struct?: KmsKeyRingImportJobPublicKey): any; export declare function kmsKeyRingImportJobPublicKeyToHclTerraform(struct?: KmsKeyRingImportJobPublicKey): any; export declare class KmsKeyRingImportJobPublicKeyOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @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(): KmsKeyRingImportJobPublicKey | undefined; set internalValue(value: KmsKeyRingImportJobPublicKey | undefined); get pem(): string; } export declare class KmsKeyRingImportJobPublicKeyList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @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): KmsKeyRingImportJobPublicKeyOutputReference; } export interface KmsKeyRingImportJobTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/kms_key_ring_import_job#create KmsKeyRingImportJob#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/kms_key_ring_import_job#delete KmsKeyRingImportJob#delete} */ readonly delete?: string; } export declare function kmsKeyRingImportJobTimeoutsToTerraform(struct?: KmsKeyRingImportJobTimeouts | cdktf.IResolvable): any; export declare function kmsKeyRingImportJobTimeoutsToHclTerraform(struct?: KmsKeyRingImportJobTimeouts | cdktf.IResolvable): any; export declare class KmsKeyRingImportJobTimeoutsOutputReference 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(): KmsKeyRingImportJobTimeouts | cdktf.IResolvable | undefined; set internalValue(value: KmsKeyRingImportJobTimeouts | 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; } /** * Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/kms_key_ring_import_job google_kms_key_ring_import_job} */ export declare class KmsKeyRingImportJob extends cdktf.TerraformResource { static readonly tfResourceType = "google_kms_key_ring_import_job"; /** * Generates CDKTF code for importing a KmsKeyRingImportJob 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 KmsKeyRingImportJob to import * @param importFromId The id of the existing KmsKeyRingImportJob that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/kms_key_ring_import_job#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the KmsKeyRingImportJob 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/hashicorp/google/6.13.0/docs/resources/kms_key_ring_import_job google_kms_key_ring_import_job} 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 KmsKeyRingImportJobConfig */ constructor(scope: Construct, id: string, config: KmsKeyRingImportJobConfig); private _attestation; get attestation(): KmsKeyRingImportJobAttestationList; get expireTime(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; private _importJobId?; get importJobId(): string; set importJobId(value: string); get importJobIdInput(): string | undefined; private _importMethod?; get importMethod(): string; set importMethod(value: string); get importMethodInput(): string | undefined; private _keyRing?; get keyRing(): string; set keyRing(value: string); get keyRingInput(): string | undefined; get name(): string; private _protectionLevel?; get protectionLevel(): string; set protectionLevel(value: string); get protectionLevelInput(): string | undefined; private _publicKey; get publicKey(): KmsKeyRingImportJobPublicKeyList; get state(): string; private _timeouts; get timeouts(): KmsKeyRingImportJobTimeoutsOutputReference; putTimeouts(value: KmsKeyRingImportJobTimeouts): void; resetTimeouts(): void; get timeoutsInput(): cdktf.IResolvable | KmsKeyRingImportJobTimeouts | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }