@cdktf/provider-google
Version:
Prebuilt google Provider for Terraform CDK (cdktf)
154 lines (153 loc) • 7.84 kB
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface BigtableMaterializedViewConfig extends cdktf.TerraformMetaArguments {
/**
* Set to true to make the MaterializedView protected against deletion.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/bigtable_materialized_view#deletion_protection BigtableMaterializedView#deletion_protection}
*/
readonly deletionProtection?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/bigtable_materialized_view#id BigtableMaterializedView#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;
/**
* The name of the instance to create the materialized view within.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/bigtable_materialized_view#instance BigtableMaterializedView#instance}
*/
readonly instance?: string;
/**
* The unique name of the materialized view in the form '[_a-zA-Z0-9][-_.a-zA-Z0-9]*'.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/bigtable_materialized_view#materialized_view_id BigtableMaterializedView#materialized_view_id}
*/
readonly materializedViewId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/bigtable_materialized_view#project BigtableMaterializedView#project}
*/
readonly project?: string;
/**
* The materialized view's select query.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/bigtable_materialized_view#query BigtableMaterializedView#query}
*/
readonly query: string;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/bigtable_materialized_view#timeouts BigtableMaterializedView#timeouts}
*/
readonly timeouts?: BigtableMaterializedViewTimeouts;
}
export interface BigtableMaterializedViewTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/bigtable_materialized_view#create BigtableMaterializedView#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/bigtable_materialized_view#delete BigtableMaterializedView#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/bigtable_materialized_view#update BigtableMaterializedView#update}
*/
readonly update?: string;
}
export declare function bigtableMaterializedViewTimeoutsToTerraform(struct?: BigtableMaterializedViewTimeouts | cdktf.IResolvable): any;
export declare function bigtableMaterializedViewTimeoutsToHclTerraform(struct?: BigtableMaterializedViewTimeouts | cdktf.IResolvable): any;
export declare class BigtableMaterializedViewTimeoutsOutputReference 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(): BigtableMaterializedViewTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: BigtableMaterializedViewTimeouts | 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.36.0/docs/resources/bigtable_materialized_view google_bigtable_materialized_view}
*/
export declare class BigtableMaterializedView extends cdktf.TerraformResource {
static readonly tfResourceType = "google_bigtable_materialized_view";
/**
* Generates CDKTF code for importing a BigtableMaterializedView 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 BigtableMaterializedView to import
* @param importFromId The id of the existing BigtableMaterializedView that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/bigtable_materialized_view#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the BigtableMaterializedView 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.36.0/docs/resources/bigtable_materialized_view google_bigtable_materialized_view} 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 BigtableMaterializedViewConfig
*/
constructor(scope: Construct, id: string, config: BigtableMaterializedViewConfig);
private _deletionProtection?;
get deletionProtection(): boolean | cdktf.IResolvable;
set deletionProtection(value: boolean | cdktf.IResolvable);
resetDeletionProtection(): void;
get deletionProtectionInput(): boolean | cdktf.IResolvable | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _instance?;
get instance(): string;
set instance(value: string);
resetInstance(): void;
get instanceInput(): string | undefined;
private _materializedViewId?;
get materializedViewId(): string;
set materializedViewId(value: string);
get materializedViewIdInput(): string | undefined;
get name(): string;
private _project?;
get project(): string;
set project(value: string);
resetProject(): void;
get projectInput(): string | undefined;
private _query?;
get query(): string;
set query(value: string);
get queryInput(): string | undefined;
private _timeouts;
get timeouts(): BigtableMaterializedViewTimeoutsOutputReference;
putTimeouts(value: BigtableMaterializedViewTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | BigtableMaterializedViewTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}