UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

311 lines (310 loc) 20.5 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface MemorystoreInstanceDesiredUserCreatedEndpointsConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/memorystore_instance_desired_user_created_endpoints#id MemorystoreInstanceDesiredUserCreatedEndpoints#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 Memorystore instance these endpoints should be added to. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/memorystore_instance_desired_user_created_endpoints#name MemorystoreInstanceDesiredUserCreatedEndpoints#name} */ readonly name: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/memorystore_instance_desired_user_created_endpoints#project MemorystoreInstanceDesiredUserCreatedEndpoints#project} */ readonly project?: string; /** * The name of the region of the Memorystore instance these endpoints should be added to. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/memorystore_instance_desired_user_created_endpoints#region MemorystoreInstanceDesiredUserCreatedEndpoints#region} */ readonly region: string; /** * desired_user_created_endpoints block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/memorystore_instance_desired_user_created_endpoints#desired_user_created_endpoints MemorystoreInstanceDesiredUserCreatedEndpoints#desired_user_created_endpoints} */ readonly desiredUserCreatedEndpoints?: MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpoints[] | cdktf.IResolvable; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/memorystore_instance_desired_user_created_endpoints#timeouts MemorystoreInstanceDesiredUserCreatedEndpoints#timeouts} */ readonly timeouts?: MemorystoreInstanceDesiredUserCreatedEndpointsTimeouts; } export interface MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsConnectionsPscConnection { /** * The URI of the consumer side forwarding rule. * Format: * projects/{project}/regions/{region}/forwardingRules/{forwarding_rule} * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/memorystore_instance_desired_user_created_endpoints#forwarding_rule MemorystoreInstanceDesiredUserCreatedEndpoints#forwarding_rule} */ readonly forwardingRule: string; /** * The IP allocated on the consumer network for the PSC forwarding rule. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/memorystore_instance_desired_user_created_endpoints#ip_address MemorystoreInstanceDesiredUserCreatedEndpoints#ip_address} */ readonly ipAddress: string; /** * The consumer network where the IP address resides, in the form of * projects/{project_id}/global/networks/{network_id}. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/memorystore_instance_desired_user_created_endpoints#network MemorystoreInstanceDesiredUserCreatedEndpoints#network} */ readonly network: string; /** * The consumer project_id where the forwarding rule is created from. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/memorystore_instance_desired_user_created_endpoints#project_id MemorystoreInstanceDesiredUserCreatedEndpoints#project_id} */ readonly projectId?: string; /** * The PSC connection id of the forwarding rule connected to the * service attachment. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/memorystore_instance_desired_user_created_endpoints#psc_connection_id MemorystoreInstanceDesiredUserCreatedEndpoints#psc_connection_id} */ readonly pscConnectionId: string; /** * The service attachment which is the target of the PSC connection, in the form of projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/memorystore_instance_desired_user_created_endpoints#service_attachment MemorystoreInstanceDesiredUserCreatedEndpoints#service_attachment} */ readonly serviceAttachment: string; } export declare function memorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsConnectionsPscConnectionToTerraform(struct?: MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsConnectionsPscConnectionOutputReference | MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsConnectionsPscConnection): any; export declare function memorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsConnectionsPscConnectionToHclTerraform(struct?: MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsConnectionsPscConnectionOutputReference | MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsConnectionsPscConnection): any; export declare class MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsConnectionsPscConnectionOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @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(): MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsConnectionsPscConnection | undefined; set internalValue(value: MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsConnectionsPscConnection | undefined); get connectionType(): string; private _forwardingRule?; get forwardingRule(): string; set forwardingRule(value: string); get forwardingRuleInput(): string | undefined; private _ipAddress?; get ipAddress(): string; set ipAddress(value: string); get ipAddressInput(): string | undefined; private _network?; get network(): string; set network(value: string); get networkInput(): string | undefined; private _projectId?; get projectId(): string; set projectId(value: string); resetProjectId(): void; get projectIdInput(): string | undefined; private _pscConnectionId?; get pscConnectionId(): string; set pscConnectionId(value: string); get pscConnectionIdInput(): string | undefined; get pscConnectionStatus(): string; private _serviceAttachment?; get serviceAttachment(): string; set serviceAttachment(value: string); get serviceAttachmentInput(): string | undefined; } export interface MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsConnections { /** * psc_connection block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/memorystore_instance_desired_user_created_endpoints#psc_connection MemorystoreInstanceDesiredUserCreatedEndpoints#psc_connection} */ readonly pscConnection?: MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsConnectionsPscConnection; } export declare function memorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsConnectionsToTerraform(struct?: MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsConnections | cdktf.IResolvable): any; export declare function memorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsConnectionsToHclTerraform(struct?: MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsConnections | cdktf.IResolvable): any; export declare class MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsConnectionsOutputReference 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(): MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsConnections | cdktf.IResolvable | undefined; set internalValue(value: MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsConnections | cdktf.IResolvable | undefined); private _pscConnection; get pscConnection(): MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsConnectionsPscConnectionOutputReference; putPscConnection(value: MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsConnectionsPscConnection): void; resetPscConnection(): void; get pscConnectionInput(): MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsConnectionsPscConnection | undefined; } export declare class MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsConnectionsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsConnections[] | 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): MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsConnectionsOutputReference; } export interface MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpoints { /** * connections block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/memorystore_instance_desired_user_created_endpoints#connections MemorystoreInstanceDesiredUserCreatedEndpoints#connections} */ readonly connections?: MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsConnections[] | cdktf.IResolvable; } export declare function memorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsToTerraform(struct?: MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpoints | cdktf.IResolvable): any; export declare function memorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsToHclTerraform(struct?: MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpoints | cdktf.IResolvable): any; export declare class MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsOutputReference 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(): MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpoints | cdktf.IResolvable | undefined; set internalValue(value: MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpoints | cdktf.IResolvable | undefined); private _connections; get connections(): MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsConnectionsList; putConnections(value: MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsConnections[] | cdktf.IResolvable): void; resetConnections(): void; get connectionsInput(): cdktf.IResolvable | MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsConnections[] | undefined; } export declare class MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpoints[] | 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): MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsOutputReference; } export interface MemorystoreInstanceDesiredUserCreatedEndpointsTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/memorystore_instance_desired_user_created_endpoints#create MemorystoreInstanceDesiredUserCreatedEndpoints#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/memorystore_instance_desired_user_created_endpoints#delete MemorystoreInstanceDesiredUserCreatedEndpoints#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/memorystore_instance_desired_user_created_endpoints#update MemorystoreInstanceDesiredUserCreatedEndpoints#update} */ readonly update?: string; } export declare function memorystoreInstanceDesiredUserCreatedEndpointsTimeoutsToTerraform(struct?: MemorystoreInstanceDesiredUserCreatedEndpointsTimeouts | cdktf.IResolvable): any; export declare function memorystoreInstanceDesiredUserCreatedEndpointsTimeoutsToHclTerraform(struct?: MemorystoreInstanceDesiredUserCreatedEndpointsTimeouts | cdktf.IResolvable): any; export declare class MemorystoreInstanceDesiredUserCreatedEndpointsTimeoutsOutputReference 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(): MemorystoreInstanceDesiredUserCreatedEndpointsTimeouts | cdktf.IResolvable | undefined; set internalValue(value: MemorystoreInstanceDesiredUserCreatedEndpointsTimeouts | 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/memorystore_instance_desired_user_created_endpoints google_memorystore_instance_desired_user_created_endpoints} */ export declare class MemorystoreInstanceDesiredUserCreatedEndpoints extends cdktf.TerraformResource { static readonly tfResourceType = "google_memorystore_instance_desired_user_created_endpoints"; /** * Generates CDKTF code for importing a MemorystoreInstanceDesiredUserCreatedEndpoints 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 MemorystoreInstanceDesiredUserCreatedEndpoints to import * @param importFromId The id of the existing MemorystoreInstanceDesiredUserCreatedEndpoints that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/resources/memorystore_instance_desired_user_created_endpoints#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the MemorystoreInstanceDesiredUserCreatedEndpoints 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/memorystore_instance_desired_user_created_endpoints google_memorystore_instance_desired_user_created_endpoints} 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 MemorystoreInstanceDesiredUserCreatedEndpointsConfig */ constructor(scope: Construct, id: string, config: MemorystoreInstanceDesiredUserCreatedEndpointsConfig); private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): 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; private _region?; get region(): string; set region(value: string); get regionInput(): string | undefined; private _desiredUserCreatedEndpoints; get desiredUserCreatedEndpoints(): MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpointsList; putDesiredUserCreatedEndpoints(value: MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpoints[] | cdktf.IResolvable): void; resetDesiredUserCreatedEndpoints(): void; get desiredUserCreatedEndpointsInput(): cdktf.IResolvable | MemorystoreInstanceDesiredUserCreatedEndpointsDesiredUserCreatedEndpoints[] | undefined; private _timeouts; get timeouts(): MemorystoreInstanceDesiredUserCreatedEndpointsTimeoutsOutputReference; putTimeouts(value: MemorystoreInstanceDesiredUserCreatedEndpointsTimeouts): void; resetTimeouts(): void; get timeoutsInput(): cdktf.IResolvable | MemorystoreInstanceDesiredUserCreatedEndpointsTimeouts | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }