UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

136 lines (135 loc) 6.49 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface StorageHmacKeyConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/storage_hmac_key#id StorageHmacKey#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/hashicorp/google/6.13.0/docs/resources/storage_hmac_key#project StorageHmacKey#project} */ readonly project?: string; /** * The email address of the key's associated service account. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/storage_hmac_key#service_account_email StorageHmacKey#service_account_email} */ readonly serviceAccountEmail: string; /** * The state of the key. Can be set to one of ACTIVE, INACTIVE. Default value: "ACTIVE" Possible values: ["ACTIVE", "INACTIVE"] * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/storage_hmac_key#state StorageHmacKey#state} */ readonly state?: string; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/storage_hmac_key#timeouts StorageHmacKey#timeouts} */ readonly timeouts?: StorageHmacKeyTimeouts; } export interface StorageHmacKeyTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/storage_hmac_key#create StorageHmacKey#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/storage_hmac_key#delete StorageHmacKey#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/storage_hmac_key#update StorageHmacKey#update} */ readonly update?: string; } export declare function storageHmacKeyTimeoutsToTerraform(struct?: StorageHmacKeyTimeouts | cdktf.IResolvable): any; export declare function storageHmacKeyTimeoutsToHclTerraform(struct?: StorageHmacKeyTimeouts | cdktf.IResolvable): any; export declare class StorageHmacKeyTimeoutsOutputReference 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(): StorageHmacKeyTimeouts | cdktf.IResolvable | undefined; set internalValue(value: StorageHmacKeyTimeouts | 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/hashicorp/google/6.13.0/docs/resources/storage_hmac_key google_storage_hmac_key} */ export declare class StorageHmacKey extends cdktf.TerraformResource { static readonly tfResourceType = "google_storage_hmac_key"; /** * Generates CDKTF code for importing a StorageHmacKey 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 StorageHmacKey to import * @param importFromId The id of the existing StorageHmacKey that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/storage_hmac_key#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the StorageHmacKey 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/storage_hmac_key google_storage_hmac_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 StorageHmacKeyConfig */ constructor(scope: Construct, id: string, config: StorageHmacKeyConfig); get accessId(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; private _project?; get project(): string; set project(value: string); resetProject(): void; get projectInput(): string | undefined; get secret(): string; private _serviceAccountEmail?; get serviceAccountEmail(): string; set serviceAccountEmail(value: string); get serviceAccountEmailInput(): string | undefined; private _state?; get state(): string; set state(value: string); resetState(): void; get stateInput(): string | undefined; get timeCreated(): string; get updated(): string; private _timeouts; get timeouts(): StorageHmacKeyTimeoutsOutputReference; putTimeouts(value: StorageHmacKeyTimeouts): void; resetTimeouts(): void; get timeoutsInput(): cdktf.IResolvable | StorageHmacKeyTimeouts | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }