UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

155 lines (154 loc) 7.63 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface NetworkSecurityUrlListsConfig extends cdktf.TerraformMetaArguments { /** * Free-text description of the resource. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/network_security_url_lists#description NetworkSecurityUrlLists#description} */ readonly description?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/network_security_url_lists#id NetworkSecurityUrlLists#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 location of the url lists. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/network_security_url_lists#location NetworkSecurityUrlLists#location} */ readonly location: string; /** * Short name of the UrlList resource to be created. * This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. 'urlList'. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/network_security_url_lists#name NetworkSecurityUrlLists#name} */ readonly name: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/network_security_url_lists#project NetworkSecurityUrlLists#project} */ readonly project?: string; /** * FQDNs and URLs. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/network_security_url_lists#values NetworkSecurityUrlLists#values} */ readonly values: string[]; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/network_security_url_lists#timeouts NetworkSecurityUrlLists#timeouts} */ readonly timeouts?: NetworkSecurityUrlListsTimeouts; } export interface NetworkSecurityUrlListsTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/network_security_url_lists#create NetworkSecurityUrlLists#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/network_security_url_lists#delete NetworkSecurityUrlLists#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/network_security_url_lists#update NetworkSecurityUrlLists#update} */ readonly update?: string; } export declare function networkSecurityUrlListsTimeoutsToTerraform(struct?: NetworkSecurityUrlListsTimeouts | cdktf.IResolvable): any; export declare function networkSecurityUrlListsTimeoutsToHclTerraform(struct?: NetworkSecurityUrlListsTimeouts | cdktf.IResolvable): any; export declare class NetworkSecurityUrlListsTimeoutsOutputReference 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(): NetworkSecurityUrlListsTimeouts | cdktf.IResolvable | undefined; set internalValue(value: NetworkSecurityUrlListsTimeouts | 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/network_security_url_lists google_network_security_url_lists} */ export declare class NetworkSecurityUrlLists extends cdktf.TerraformResource { static readonly tfResourceType = "google_network_security_url_lists"; /** * Generates CDKTF code for importing a NetworkSecurityUrlLists 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 NetworkSecurityUrlLists to import * @param importFromId The id of the existing NetworkSecurityUrlLists that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/network_security_url_lists#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the NetworkSecurityUrlLists 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/network_security_url_lists google_network_security_url_lists} 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 NetworkSecurityUrlListsConfig */ constructor(scope: Construct, id: string, config: NetworkSecurityUrlListsConfig); 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; private _location?; get location(): string; set location(value: string); get locationInput(): string | undefined; private _name?; get name(): string; set name(value: string); get nameInput(): string | undefined; private _project?; get project(): string; set project(value: string); resetProject(): void; get projectInput(): string | undefined; get updateTime(): string; private _values?; get values(): string[]; set values(value: string[]); get valuesInput(): string[] | undefined; private _timeouts; get timeouts(): NetworkSecurityUrlListsTimeoutsOutputReference; putTimeouts(value: NetworkSecurityUrlListsTimeouts): void; resetTimeouts(): void; get timeoutsInput(): cdktf.IResolvable | NetworkSecurityUrlListsTimeouts | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }