UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

194 lines (193 loc) 9.86 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface LoggingLinkedDatasetConfig extends cdktf.TerraformMetaArguments { /** * The bucket to which the linked dataset is attached. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/logging_linked_dataset#bucket LoggingLinkedDataset#bucket} */ readonly bucket: string; /** * Describes this link. The maximum length of the description is 8000 characters. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/logging_linked_dataset#description LoggingLinkedDataset#description} */ readonly description?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/logging_linked_dataset#id LoggingLinkedDataset#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 id of the linked dataset. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/logging_linked_dataset#link_id LoggingLinkedDataset#link_id} */ readonly linkId: string; /** * The location of the linked dataset. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/logging_linked_dataset#location LoggingLinkedDataset#location} */ readonly location?: string; /** * The parent of the linked dataset. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/logging_linked_dataset#parent LoggingLinkedDataset#parent} */ readonly parent?: string; /** * bigquery_dataset block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/logging_linked_dataset#bigquery_dataset LoggingLinkedDataset#bigquery_dataset} */ readonly bigqueryDataset?: LoggingLinkedDatasetBigqueryDataset[] | cdktf.IResolvable; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/logging_linked_dataset#timeouts LoggingLinkedDataset#timeouts} */ readonly timeouts?: LoggingLinkedDatasetTimeouts; } export interface LoggingLinkedDatasetBigqueryDataset { } export declare function loggingLinkedDatasetBigqueryDatasetToTerraform(struct?: LoggingLinkedDatasetBigqueryDataset | cdktf.IResolvable): any; export declare function loggingLinkedDatasetBigqueryDatasetToHclTerraform(struct?: LoggingLinkedDatasetBigqueryDataset | cdktf.IResolvable): any; export declare class LoggingLinkedDatasetBigqueryDatasetOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @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(): LoggingLinkedDatasetBigqueryDataset | cdktf.IResolvable | undefined; set internalValue(value: LoggingLinkedDatasetBigqueryDataset | cdktf.IResolvable | undefined); get datasetId(): string; } export declare class LoggingLinkedDatasetBigqueryDatasetList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: LoggingLinkedDatasetBigqueryDataset[] | cdktf.IResolvable; /** * @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): LoggingLinkedDatasetBigqueryDatasetOutputReference; } export interface LoggingLinkedDatasetTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/logging_linked_dataset#create LoggingLinkedDataset#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/logging_linked_dataset#delete LoggingLinkedDataset#delete} */ readonly delete?: string; } export declare function loggingLinkedDatasetTimeoutsToTerraform(struct?: LoggingLinkedDatasetTimeouts | cdktf.IResolvable): any; export declare function loggingLinkedDatasetTimeoutsToHclTerraform(struct?: LoggingLinkedDatasetTimeouts | cdktf.IResolvable): any; export declare class LoggingLinkedDatasetTimeoutsOutputReference 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(): LoggingLinkedDatasetTimeouts | cdktf.IResolvable | undefined; set internalValue(value: LoggingLinkedDatasetTimeouts | 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/logging_linked_dataset google_logging_linked_dataset} */ export declare class LoggingLinkedDataset extends cdktf.TerraformResource { static readonly tfResourceType = "google_logging_linked_dataset"; /** * Generates CDKTF code for importing a LoggingLinkedDataset 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 LoggingLinkedDataset to import * @param importFromId The id of the existing LoggingLinkedDataset that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/logging_linked_dataset#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the LoggingLinkedDataset 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/logging_linked_dataset google_logging_linked_dataset} 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 LoggingLinkedDatasetConfig */ constructor(scope: Construct, id: string, config: LoggingLinkedDatasetConfig); private _bucket?; get bucket(): string; set bucket(value: string); get bucketInput(): string | undefined; 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 lifecycleState(): string; private _linkId?; get linkId(): string; set linkId(value: string); get linkIdInput(): string | undefined; private _location?; get location(): string; set location(value: string); resetLocation(): void; get locationInput(): string | undefined; get name(): string; private _parent?; get parent(): string; set parent(value: string); resetParent(): void; get parentInput(): string | undefined; private _bigqueryDataset; get bigqueryDataset(): LoggingLinkedDatasetBigqueryDatasetList; putBigqueryDataset(value: LoggingLinkedDatasetBigqueryDataset[] | cdktf.IResolvable): void; resetBigqueryDataset(): void; get bigqueryDatasetInput(): cdktf.IResolvable | LoggingLinkedDatasetBigqueryDataset[] | undefined; private _timeouts; get timeouts(): LoggingLinkedDatasetTimeoutsOutputReference; putTimeouts(value: LoggingLinkedDatasetTimeouts): void; resetTimeouts(): void; get timeoutsInput(): cdktf.IResolvable | LoggingLinkedDatasetTimeouts | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }