@cdktf/provider-google
Version:
Prebuilt google Provider for Terraform CDK (cdktf)
139 lines (138 loc) • 6.74 kB
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface TagsTagValueConfig extends cdktf.TerraformMetaArguments {
/**
* User-assigned description of the TagValue. Must not exceed 256 characters.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/tags_tag_value#description TagsTagValue#description}
*/
readonly description?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/tags_tag_value#id TagsTagValue#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;
/**
* Input only. The resource name of the new TagValue's parent. Must be of the form tagKeys/{tag_key_id}.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/tags_tag_value#parent TagsTagValue#parent}
*/
readonly parent: string;
/**
* Input only. User-assigned short name for TagValue. The short name should be unique for TagValues within the same parent TagKey.
*
* The short name can have a maximum length of 256 characters. The permitted character set for the shortName includes all UTF-8 encoded Unicode characters except single quotes ('), double quotes ("), backslashes (\\), and forward slashes (/).
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/tags_tag_value#short_name TagsTagValue#short_name}
*/
readonly shortName: string;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/tags_tag_value#timeouts TagsTagValue#timeouts}
*/
readonly timeouts?: TagsTagValueTimeouts;
}
export interface TagsTagValueTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/tags_tag_value#create TagsTagValue#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/tags_tag_value#delete TagsTagValue#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/tags_tag_value#update TagsTagValue#update}
*/
readonly update?: string;
}
export declare function tagsTagValueTimeoutsToTerraform(struct?: TagsTagValueTimeouts | cdktf.IResolvable): any;
export declare function tagsTagValueTimeoutsToHclTerraform(struct?: TagsTagValueTimeouts | cdktf.IResolvable): any;
export declare class TagsTagValueTimeoutsOutputReference 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(): TagsTagValueTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: TagsTagValueTimeouts | 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/tags_tag_value google_tags_tag_value}
*/
export declare class TagsTagValue extends cdktf.TerraformResource {
static readonly tfResourceType = "google_tags_tag_value";
/**
* Generates CDKTF code for importing a TagsTagValue 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 TagsTagValue to import
* @param importFromId The id of the existing TagsTagValue that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/tags_tag_value#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the TagsTagValue 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_value google_tags_tag_value} 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 TagsTagValueConfig
*/
constructor(scope: Construct, id: string, config: TagsTagValueConfig);
get createTime(): string;
private _description?;
get description(): string;
set description(value: string);
resetDescription(): void;
get descriptionInput(): string | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
get name(): string;
get namespacedName(): string;
private _parent?;
get parent(): string;
set parent(value: string);
get parentInput(): string | undefined;
private _shortName?;
get shortName(): string;
set shortName(value: string);
get shortNameInput(): string | undefined;
get updateTime(): string;
private _timeouts;
get timeouts(): TagsTagValueTimeoutsOutputReference;
putTimeouts(value: TagsTagValueTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | TagsTagValueTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}