UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

114 lines (113 loc) 5.58 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface TagsTagBindingConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/tags_tag_binding#id TagsTagBinding#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 full resource name of the resource the TagValue is bound to. E.g. //cloudresourcemanager.googleapis.com/projects/123 * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/tags_tag_binding#parent TagsTagBinding#parent} */ readonly parent: string; /** * The TagValue of the TagBinding. Must be of the form tagValues/456. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/tags_tag_binding#tag_value TagsTagBinding#tag_value} */ readonly tagValue: string; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/tags_tag_binding#timeouts TagsTagBinding#timeouts} */ readonly timeouts?: TagsTagBindingTimeouts; } export interface TagsTagBindingTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/tags_tag_binding#create TagsTagBinding#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/tags_tag_binding#delete TagsTagBinding#delete} */ readonly delete?: string; } export declare function tagsTagBindingTimeoutsToTerraform(struct?: TagsTagBindingTimeouts | cdktf.IResolvable): any; export declare function tagsTagBindingTimeoutsToHclTerraform(struct?: TagsTagBindingTimeouts | cdktf.IResolvable): any; export declare class TagsTagBindingTimeoutsOutputReference 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(): TagsTagBindingTimeouts | cdktf.IResolvable | undefined; set internalValue(value: TagsTagBindingTimeouts | 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/tags_tag_binding google_tags_tag_binding} */ export declare class TagsTagBinding extends cdktf.TerraformResource { static readonly tfResourceType = "google_tags_tag_binding"; /** * Generates CDKTF code for importing a TagsTagBinding 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 TagsTagBinding to import * @param importFromId The id of the existing TagsTagBinding that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/tags_tag_binding#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the TagsTagBinding 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/tags_tag_binding google_tags_tag_binding} 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 TagsTagBindingConfig */ constructor(scope: Construct, id: string, config: TagsTagBindingConfig); private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; get name(): string; private _parent?; get parent(): string; set parent(value: string); get parentInput(): string | undefined; private _tagValue?; get tagValue(): string; set tagValue(value: string); get tagValueInput(): string | undefined; private _timeouts; get timeouts(): TagsTagBindingTimeoutsOutputReference; putTimeouts(value: TagsTagBindingTimeouts): void; resetTimeouts(): void; get timeoutsInput(): cdktf.IResolvable | TagsTagBindingTimeouts | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }