Skip to content

Files

Latest commit

 

History

History
4541 lines (2787 loc) · 233 KB
·

computePerInstanceConfig.typescript.md

File metadata and controls

4541 lines (2787 loc) · 233 KB
·

computePerInstanceConfig Submodule

Constructs

ComputePerInstanceConfig

Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config google_compute_per_instance_config}.

Initializers

import { computePerInstanceConfig } from '@cdktf/provider-google'

new computePerInstanceConfig.ComputePerInstanceConfig(scope: Construct, id: string, config: ComputePerInstanceConfigConfig)
Name Type Description
scope constructs.Construct The scope in which to define this construct.
id string The scoped construct ID.
config ComputePerInstanceConfigConfig No description.

scopeRequired
  • Type: constructs.Construct

The scope in which to define this construct.


idRequired
  • Type: string

The scoped construct ID.

Must be unique amongst siblings in the same scope


configRequired

Methods

Name Description
toString Returns a string representation of this construct.
addOverride No description.
overrideLogicalId Overrides the auto-generated logical ID with a specific ID.
resetOverrideLogicalId Resets a previously passed logical Id to use the auto-generated logical id again.
toHclTerraform No description.
toMetadata No description.
toTerraform Adds this resource to the terraform JSON output.
addMoveTarget Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
hasResourceMove No description.
importFrom No description.
interpolationForAttribute No description.
moveFromId Move the resource corresponding to "id" to this resource.
moveTo Moves this resource to the target resource given by moveTarget.
moveToId Moves this resource to the resource corresponding to "id".
putPreservedState No description.
putTimeouts No description.
resetId No description.
resetMinimalAction No description.
resetMostDisruptiveAllowedAction No description.
resetPreservedState No description.
resetProject No description.
resetRemoveInstanceOnDestroy No description.
resetRemoveInstanceStateOnDestroy No description.
resetTimeouts No description.
resetZone No description.

toString
public toString(): string

Returns a string representation of this construct.

addOverride
public addOverride(path: string, value: any): void
pathRequired
  • Type: string

valueRequired
  • Type: any

overrideLogicalId
public overrideLogicalId(newLogicalId: string): void

Overrides the auto-generated logical ID with a specific ID.

newLogicalIdRequired
  • Type: string

The new logical ID to use for this stack element.


resetOverrideLogicalId
public resetOverrideLogicalId(): void

Resets a previously passed logical Id to use the auto-generated logical id again.

toHclTerraform
public toHclTerraform(): any
toMetadata
public toMetadata(): any
toTerraform
public toTerraform(): any

Adds this resource to the terraform JSON output.

addMoveTarget
public addMoveTarget(moveTarget: string): void

Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.

moveTargetRequired
  • Type: string

The string move target that will correspond to this resource.


getAnyMapAttribute
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
terraformAttributeRequired
  • Type: string

getBooleanAttribute
public getBooleanAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

getBooleanMapAttribute
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
terraformAttributeRequired
  • Type: string

getListAttribute
public getListAttribute(terraformAttribute: string): string[]
terraformAttributeRequired
  • Type: string

getNumberAttribute
public getNumberAttribute(terraformAttribute: string): number
terraformAttributeRequired
  • Type: string

getNumberListAttribute
public getNumberListAttribute(terraformAttribute: string): number[]
terraformAttributeRequired
  • Type: string

getNumberMapAttribute
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
terraformAttributeRequired
  • Type: string

getStringAttribute
public getStringAttribute(terraformAttribute: string): string
terraformAttributeRequired
  • Type: string

getStringMapAttribute
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
terraformAttributeRequired
  • Type: string

hasResourceMove
public hasResourceMove(): TerraformResourceMoveByTarget | TerraformResourceMoveById
importFrom
public importFrom(id: string, provider?: TerraformProvider): void
idRequired
  • Type: string

providerOptional
  • Type: cdktf.TerraformProvider

interpolationForAttribute
public interpolationForAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

moveFromId
public moveFromId(id: string): void

Move the resource corresponding to "id" to this resource.

Note that the resource being moved from must be marked as moved using it's instance function.

idRequired
  • Type: string

Full id of resource being moved from, e.g. "aws_s3_bucket.example".


moveTo
public moveTo(moveTarget: string, index?: string | number): void

Moves this resource to the target resource given by moveTarget.

moveTargetRequired
  • Type: string

The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.


indexOptional
  • Type: string | number

Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to.


moveToId
public moveToId(id: string): void

Moves this resource to the resource corresponding to "id".

idRequired
  • Type: string

Full id of resource to move to, e.g. "aws_s3_bucket.example".


putPreservedState
public putPreservedState(value: ComputePerInstanceConfigPreservedState): void
valueRequired

putTimeouts
public putTimeouts(value: ComputePerInstanceConfigTimeouts): void
valueRequired

resetId
public resetId(): void
resetMinimalAction
public resetMinimalAction(): void
resetMostDisruptiveAllowedAction
public resetMostDisruptiveAllowedAction(): void
resetPreservedState
public resetPreservedState(): void
resetProject
public resetProject(): void
resetRemoveInstanceOnDestroy
public resetRemoveInstanceOnDestroy(): void
resetRemoveInstanceStateOnDestroy
public resetRemoveInstanceStateOnDestroy(): void
resetTimeouts
public resetTimeouts(): void
resetZone
public resetZone(): void

Static Functions

Name Description
isConstruct Checks if x is a construct.
isTerraformElement No description.
isTerraformResource No description.
generateConfigForImport Generates CDKTF code for importing a ComputePerInstanceConfig resource upon running "cdktf plan ".

isConstruct
import { computePerInstanceConfig } from '@cdktf/provider-google'

computePerInstanceConfig.ComputePerInstanceConfig.isConstruct(x: any)

Checks if x is a construct.

Use this method instead of instanceof to properly detect Construct instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the constructs library on disk are seen as independent, completely different libraries. As a consequence, the class Construct in each copy of the constructs library is seen as a different class, and an instance of one class will not test as instanceof the other class. npm install will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the constructs library can be accidentally installed, and instanceof will behave unpredictably. It is safest to avoid using instanceof, and using this type-testing method instead.

xRequired
  • Type: any

Any object.


isTerraformElement
import { computePerInstanceConfig } from '@cdktf/provider-google'

computePerInstanceConfig.ComputePerInstanceConfig.isTerraformElement(x: any)
xRequired
  • Type: any

isTerraformResource
import { computePerInstanceConfig } from '@cdktf/provider-google'

computePerInstanceConfig.ComputePerInstanceConfig.isTerraformResource(x: any)
xRequired
  • Type: any

generateConfigForImport
import { computePerInstanceConfig } from '@cdktf/provider-google'

computePerInstanceConfig.ComputePerInstanceConfig.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider)

Generates CDKTF code for importing a ComputePerInstanceConfig resource upon running "cdktf plan ".

scopeRequired
  • Type: constructs.Construct

The scope in which to define this construct.


importToIdRequired
  • Type: string

The construct id used in the generated config for the ComputePerInstanceConfig to import.


importFromIdRequired
  • Type: string

The id of the existing ComputePerInstanceConfig that should be imported.

Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#import import section} in the documentation of this resource for the id to use


providerOptional
  • Type: cdktf.TerraformProvider

? Optional instance of the provider where the ComputePerInstanceConfig to import is found.


Properties

Name Type Description
node constructs.Node The tree node.
cdktfStack cdktf.TerraformStack No description.
fqn string No description.
friendlyUniqueId string No description.
terraformMetaArguments {[ key: string ]: any} No description.
terraformResourceType string No description.
terraformGeneratorMetadata cdktf.TerraformProviderGeneratorMetadata No description.
connection cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection No description.
count number | cdktf.TerraformCount No description.
dependsOn string[] No description.
forEach cdktf.ITerraformIterator No description.
lifecycle cdktf.TerraformResourceLifecycle No description.
provider cdktf.TerraformProvider No description.
provisioners cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] No description.
preservedState ComputePerInstanceConfigPreservedStateOutputReference No description.
timeouts ComputePerInstanceConfigTimeoutsOutputReference No description.
idInput string No description.
instanceGroupManagerInput string No description.
minimalActionInput string No description.
mostDisruptiveAllowedActionInput string No description.
nameInput string No description.
preservedStateInput ComputePerInstanceConfigPreservedState No description.
projectInput string No description.
removeInstanceOnDestroyInput boolean | cdktf.IResolvable No description.
removeInstanceStateOnDestroyInput boolean | cdktf.IResolvable No description.
timeoutsInput cdktf.IResolvable | ComputePerInstanceConfigTimeouts No description.
zoneInput string No description.
id string No description.
instanceGroupManager string No description.
minimalAction string No description.
mostDisruptiveAllowedAction string No description.
name string No description.
project string No description.
removeInstanceOnDestroy boolean | cdktf.IResolvable No description.
removeInstanceStateOnDestroy boolean | cdktf.IResolvable No description.
zone string No description.

nodeRequired
public readonly node: Node;
  • Type: constructs.Node

The tree node.


cdktfStackRequired
public readonly cdktfStack: TerraformStack;
  • Type: cdktf.TerraformStack

fqnRequired
public readonly fqn: string;
  • Type: string

friendlyUniqueIdRequired
public readonly friendlyUniqueId: string;
  • Type: string

terraformMetaArgumentsRequired
public readonly terraformMetaArguments: {[ key: string ]: any};
  • Type: {[ key: string ]: any}

terraformResourceTypeRequired
public readonly terraformResourceType: string;
  • Type: string

terraformGeneratorMetadataOptional
public readonly terraformGeneratorMetadata: TerraformProviderGeneratorMetadata;
  • Type: cdktf.TerraformProviderGeneratorMetadata

connectionOptional
public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection;
  • Type: cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection

countOptional
public readonly count: number | TerraformCount;
  • Type: number | cdktf.TerraformCount

dependsOnOptional
public readonly dependsOn: string[];
  • Type: string[]

forEachOptional
public readonly forEach: ITerraformIterator;
  • Type: cdktf.ITerraformIterator

lifecycleOptional
public readonly lifecycle: TerraformResourceLifecycle;
  • Type: cdktf.TerraformResourceLifecycle

providerOptional
public readonly provider: TerraformProvider;
  • Type: cdktf.TerraformProvider

provisionersOptional
public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[];
  • Type: cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[]

preservedStateRequired
public readonly preservedState: ComputePerInstanceConfigPreservedStateOutputReference;

timeoutsRequired
public readonly timeouts: ComputePerInstanceConfigTimeoutsOutputReference;

idInputOptional
public readonly idInput: string;
  • Type: string

instanceGroupManagerInputOptional
public readonly instanceGroupManagerInput: string;
  • Type: string

minimalActionInputOptional
public readonly minimalActionInput: string;
  • Type: string

mostDisruptiveAllowedActionInputOptional
public readonly mostDisruptiveAllowedActionInput: string;
  • Type: string

nameInputOptional
public readonly nameInput: string;
  • Type: string

preservedStateInputOptional
public readonly preservedStateInput: ComputePerInstanceConfigPreservedState;

projectInputOptional
public readonly projectInput: string;
  • Type: string

removeInstanceOnDestroyInputOptional
public readonly removeInstanceOnDestroyInput: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

removeInstanceStateOnDestroyInputOptional
public readonly removeInstanceStateOnDestroyInput: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

timeoutsInputOptional
public readonly timeoutsInput: IResolvable | ComputePerInstanceConfigTimeouts;

zoneInputOptional
public readonly zoneInput: string;
  • Type: string

idRequired
public readonly id: string;
  • Type: string

instanceGroupManagerRequired
public readonly instanceGroupManager: string;
  • Type: string

minimalActionRequired
public readonly minimalAction: string;
  • Type: string

mostDisruptiveAllowedActionRequired
public readonly mostDisruptiveAllowedAction: string;
  • Type: string

nameRequired
public readonly name: string;
  • Type: string

projectRequired
public readonly project: string;
  • Type: string

removeInstanceOnDestroyRequired
public readonly removeInstanceOnDestroy: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

removeInstanceStateOnDestroyRequired
public readonly removeInstanceStateOnDestroy: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

zoneRequired
public readonly zone: string;
  • Type: string

Constants

Name Type Description
tfResourceType string No description.

tfResourceTypeRequired
public readonly tfResourceType: string;
  • Type: string

Structs

ComputePerInstanceConfigConfig

Initializer

import { computePerInstanceConfig } from '@cdktf/provider-google'

const computePerInstanceConfigConfig: computePerInstanceConfig.ComputePerInstanceConfigConfig = { ... }

Properties

Name Type Description
connection cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection No description.
count number | cdktf.TerraformCount No description.
dependsOn cdktf.ITerraformDependable[] No description.
forEach cdktf.ITerraformIterator No description.
lifecycle cdktf.TerraformResourceLifecycle No description.
provider cdktf.TerraformProvider No description.
provisioners cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] No description.
instanceGroupManager string The instance group manager this instance config is part of.
name string The name for this per-instance config and its corresponding instance.
id string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#id ComputePerInstanceConfig#id}.
minimalAction string The minimal action to perform on the instance during an update.
mostDisruptiveAllowedAction string The most disruptive action to perform on the instance during an update.
preservedState ComputePerInstanceConfigPreservedState preserved_state block.
project string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#project ComputePerInstanceConfig#project}.
removeInstanceOnDestroy boolean | cdktf.IResolvable When true, deleting this config will immediately remove the underlying instance.
removeInstanceStateOnDestroy boolean | cdktf.IResolvable When true, deleting this config will immediately remove any specified state from the underlying instance.
timeouts ComputePerInstanceConfigTimeouts timeouts block.
zone string Zone where the containing instance group manager is located.

connectionOptional
public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection;
  • Type: cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection

countOptional
public readonly count: number | TerraformCount;
  • Type: number | cdktf.TerraformCount

dependsOnOptional
public readonly dependsOn: ITerraformDependable[];
  • Type: cdktf.ITerraformDependable[]

forEachOptional
public readonly forEach: ITerraformIterator;
  • Type: cdktf.ITerraformIterator

lifecycleOptional
public readonly lifecycle: TerraformResourceLifecycle;
  • Type: cdktf.TerraformResourceLifecycle

providerOptional
public readonly provider: TerraformProvider;
  • Type: cdktf.TerraformProvider

provisionersOptional
public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[];
  • Type: cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[]

instanceGroupManagerRequired
public readonly instanceGroupManager: string;
  • Type: string

The instance group manager this instance config is part of.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#instance_group_manager ComputePerInstanceConfig#instance_group_manager}


nameRequired
public readonly name: string;
  • Type: string

The name for this per-instance config and its corresponding instance.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#name ComputePerInstanceConfig#name}


idOptional
public readonly id: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#id ComputePerInstanceConfig#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.


minimalActionOptional
public readonly minimalAction: string;
  • Type: string

The minimal action to perform on the instance during an update.

Default is 'NONE'. Possible values are:

  • REPLACE
  • RESTART
  • REFRESH
  • NONE

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#minimal_action ComputePerInstanceConfig#minimal_action}


mostDisruptiveAllowedActionOptional
public readonly mostDisruptiveAllowedAction: string;
  • Type: string

The most disruptive action to perform on the instance during an update.

Default is 'REPLACE'. Possible values are:

  • REPLACE
  • RESTART
  • REFRESH
  • NONE

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#most_disruptive_allowed_action ComputePerInstanceConfig#most_disruptive_allowed_action}


preservedStateOptional
public readonly preservedState: ComputePerInstanceConfigPreservedState;

preserved_state block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#preserved_state ComputePerInstanceConfig#preserved_state}


projectOptional
public readonly project: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#project ComputePerInstanceConfig#project}.


removeInstanceOnDestroyOptional
public readonly removeInstanceOnDestroy: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

When true, deleting this config will immediately remove the underlying instance.

When false, deleting this config will use the behavior as determined by remove_instance_on_destroy.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#remove_instance_on_destroy ComputePerInstanceConfig#remove_instance_on_destroy}


removeInstanceStateOnDestroyOptional
public readonly removeInstanceStateOnDestroy: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

When true, deleting this config will immediately remove any specified state from the underlying instance.

When false, deleting this config will not immediately remove any state from the underlying instance. State will be removed on the next instance recreation or update.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#remove_instance_state_on_destroy ComputePerInstanceConfig#remove_instance_state_on_destroy}


timeoutsOptional
public readonly timeouts: ComputePerInstanceConfigTimeouts;

timeouts block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#timeouts ComputePerInstanceConfig#timeouts}


zoneOptional
public readonly zone: string;
  • Type: string

Zone where the containing instance group manager is located.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#zone ComputePerInstanceConfig#zone}


ComputePerInstanceConfigPreservedState

Initializer

import { computePerInstanceConfig } from '@cdktf/provider-google'

const computePerInstanceConfigPreservedState: computePerInstanceConfig.ComputePerInstanceConfigPreservedState = { ... }

Properties

Name Type Description
disk cdktf.IResolvable | ComputePerInstanceConfigPreservedStateDisk[] disk block.
externalIp cdktf.IResolvable | ComputePerInstanceConfigPreservedStateExternalIp[] external_ip block.
internalIp cdktf.IResolvable | ComputePerInstanceConfigPreservedStateInternalIp[] internal_ip block.
metadata {[ key: string ]: string} Preserved metadata defined for this instance. This is a list of key->value pairs.

diskOptional
public readonly disk: IResolvable | ComputePerInstanceConfigPreservedStateDisk[];

disk block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#disk ComputePerInstanceConfig#disk}


externalIpOptional
public readonly externalIp: IResolvable | ComputePerInstanceConfigPreservedStateExternalIp[];

external_ip block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#external_ip ComputePerInstanceConfig#external_ip}


internalIpOptional
public readonly internalIp: IResolvable | ComputePerInstanceConfigPreservedStateInternalIp[];

internal_ip block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#internal_ip ComputePerInstanceConfig#internal_ip}


metadataOptional
public readonly metadata: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

Preserved metadata defined for this instance. This is a list of key->value pairs.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#metadata ComputePerInstanceConfig#metadata}


ComputePerInstanceConfigPreservedStateDisk

Initializer

import { computePerInstanceConfig } from '@cdktf/provider-google'

const computePerInstanceConfigPreservedStateDisk: computePerInstanceConfig.ComputePerInstanceConfigPreservedStateDisk = { ... }

Properties

Name Type Description
deviceName string A unique device name that is reflected into the /dev/ tree of a Linux operating system running within the instance.
source string The URI of an existing persistent disk to attach under the specified device-name in the format 'projects/project-id/zones/zone/disks/disk-name'.
deleteRule string A value that prescribes what should happen to the stateful disk when the VM instance is deleted.
mode string The mode of the disk. Default value: "READ_WRITE" Possible values: ["READ_ONLY", "READ_WRITE"].

deviceNameRequired
public readonly deviceName: string;
  • Type: string

A unique device name that is reflected into the /dev/ tree of a Linux operating system running within the instance.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#device_name ComputePerInstanceConfig#device_name}


sourceRequired
public readonly source: string;
  • Type: string

The URI of an existing persistent disk to attach under the specified device-name in the format 'projects/project-id/zones/zone/disks/disk-name'.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#source ComputePerInstanceConfig#source}


deleteRuleOptional
public readonly deleteRule: string;
  • Type: string

A value that prescribes what should happen to the stateful disk when the VM instance is deleted.

The available options are 'NEVER' and 'ON_PERMANENT_INSTANCE_DELETION'. 'NEVER' - detach the disk when the VM is deleted, but do not delete the disk. 'ON_PERMANENT_INSTANCE_DELETION' will delete the stateful disk when the VM is permanently deleted from the instance group. Default value: "NEVER" Possible values: ["NEVER", "ON_PERMANENT_INSTANCE_DELETION"]

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#delete_rule ComputePerInstanceConfig#delete_rule}


modeOptional
public readonly mode: string;
  • Type: string

The mode of the disk. Default value: "READ_WRITE" Possible values: ["READ_ONLY", "READ_WRITE"].

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#mode ComputePerInstanceConfig#mode}


ComputePerInstanceConfigPreservedStateExternalIp

Initializer

import { computePerInstanceConfig } from '@cdktf/provider-google'

const computePerInstanceConfigPreservedStateExternalIp: computePerInstanceConfig.ComputePerInstanceConfigPreservedStateExternalIp = { ... }

Properties

Name Type Description
interfaceName string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#interface_name ComputePerInstanceConfig#interface_name}.
autoDelete string These stateful IPs will never be released during autohealing, update or VM instance recreate operations.
ipAddress ComputePerInstanceConfigPreservedStateExternalIpIpAddress ip_address block.

interfaceNameRequired
public readonly interfaceName: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#interface_name ComputePerInstanceConfig#interface_name}.


autoDeleteOptional
public readonly autoDelete: string;
  • Type: string

These stateful IPs will never be released during autohealing, update or VM instance recreate operations.

This flag is used to configure if the IP reservation should be deleted after it is no longer used by the group, e.g. when the given instance or the whole group is deleted. Default value: "NEVER" Possible values: ["NEVER", "ON_PERMANENT_INSTANCE_DELETION"]

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#auto_delete ComputePerInstanceConfig#auto_delete}


ipAddressOptional
public readonly ipAddress: ComputePerInstanceConfigPreservedStateExternalIpIpAddress;

ip_address block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#ip_address ComputePerInstanceConfig#ip_address}


ComputePerInstanceConfigPreservedStateExternalIpIpAddress

Initializer

import { computePerInstanceConfig } from '@cdktf/provider-google'

const computePerInstanceConfigPreservedStateExternalIpIpAddress: computePerInstanceConfig.ComputePerInstanceConfigPreservedStateExternalIpIpAddress = { ... }

Properties

Name Type Description
address string The URL of the reservation for this IP address.

addressOptional
public readonly address: string;
  • Type: string

The URL of the reservation for this IP address.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#address ComputePerInstanceConfig#address}


ComputePerInstanceConfigPreservedStateInternalIp

Initializer

import { computePerInstanceConfig } from '@cdktf/provider-google'

const computePerInstanceConfigPreservedStateInternalIp: computePerInstanceConfig.ComputePerInstanceConfigPreservedStateInternalIp = { ... }

Properties

Name Type Description
interfaceName string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#interface_name ComputePerInstanceConfig#interface_name}.
autoDelete string These stateful IPs will never be released during autohealing, update or VM instance recreate operations.
ipAddress ComputePerInstanceConfigPreservedStateInternalIpIpAddress ip_address block.

interfaceNameRequired
public readonly interfaceName: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#interface_name ComputePerInstanceConfig#interface_name}.


autoDeleteOptional
public readonly autoDelete: string;
  • Type: string

These stateful IPs will never be released during autohealing, update or VM instance recreate operations.

This flag is used to configure if the IP reservation should be deleted after it is no longer used by the group, e.g. when the given instance or the whole group is deleted. Default value: "NEVER" Possible values: ["NEVER", "ON_PERMANENT_INSTANCE_DELETION"]

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#auto_delete ComputePerInstanceConfig#auto_delete}


ipAddressOptional
public readonly ipAddress: ComputePerInstanceConfigPreservedStateInternalIpIpAddress;

ip_address block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#ip_address ComputePerInstanceConfig#ip_address}


ComputePerInstanceConfigPreservedStateInternalIpIpAddress

Initializer

import { computePerInstanceConfig } from '@cdktf/provider-google'

const computePerInstanceConfigPreservedStateInternalIpIpAddress: computePerInstanceConfig.ComputePerInstanceConfigPreservedStateInternalIpIpAddress = { ... }

Properties

Name Type Description
address string The URL of the reservation for this IP address.

addressOptional
public readonly address: string;
  • Type: string

The URL of the reservation for this IP address.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#address ComputePerInstanceConfig#address}


ComputePerInstanceConfigTimeouts

Initializer

import { computePerInstanceConfig } from '@cdktf/provider-google'

const computePerInstanceConfigTimeouts: computePerInstanceConfig.ComputePerInstanceConfigTimeouts = { ... }

Properties

Name Type Description
create string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#create ComputePerInstanceConfig#create}.
delete string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#delete ComputePerInstanceConfig#delete}.
update string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#update ComputePerInstanceConfig#update}.

createOptional
public readonly create: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#create ComputePerInstanceConfig#create}.


deleteOptional
public readonly delete: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#delete ComputePerInstanceConfig#delete}.


updateOptional
public readonly update: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_per_instance_config#update ComputePerInstanceConfig#update}.


Classes

ComputePerInstanceConfigPreservedStateDiskList

Initializers

import { computePerInstanceConfig } from '@cdktf/provider-google'

new computePerInstanceConfig.ComputePerInstanceConfigPreservedStateDiskList(terraformResource: IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.
wrapsSet boolean whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


wrapsSetRequired
  • Type: boolean

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
allWithMapKey Creating an iterator for this complex list.
computeFqn No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
get No description.

allWithMapKey
public allWithMapKey(mapKeyAttributeName: string): DynamicListTerraformIterator

Creating an iterator for this complex list.

The list will be converted into a map with the mapKeyAttributeName as the key.

mapKeyAttributeNameRequired
  • Type: string

computeFqn
public computeFqn(): string
resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

get
public get(index: number): ComputePerInstanceConfigPreservedStateDiskOutputReference
indexRequired
  • Type: number

the index of the item to return.


Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.
internalValue cdktf.IResolvable | ComputePerInstanceConfigPreservedStateDisk[] No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public readonly fqn: string;
  • Type: string

internalValueOptional
public readonly internalValue: IResolvable | ComputePerInstanceConfigPreservedStateDisk[];

ComputePerInstanceConfigPreservedStateDiskOutputReference

Initializers

import { computePerInstanceConfig } from '@cdktf/provider-google'

new computePerInstanceConfig.ComputePerInstanceConfigPreservedStateDiskOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.
complexObjectIndex number the index of this item in the list.
complexObjectIsFromSet boolean whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


complexObjectIndexRequired
  • Type: number

the index of this item in the list.


complexObjectIsFromSetRequired
  • Type: boolean

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
computeFqn No description.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
interpolationForAttribute No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
resetDeleteRule No description.
resetMode No description.

computeFqn
public computeFqn(): string
getAnyMapAttribute
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
terraformAttributeRequired
  • Type: string

getBooleanAttribute
public getBooleanAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

getBooleanMapAttribute
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
terraformAttributeRequired
  • Type: string

getListAttribute
public getListAttribute(terraformAttribute: string): string[]
terraformAttributeRequired
  • Type: string

getNumberAttribute
public getNumberAttribute(terraformAttribute: string): number
terraformAttributeRequired
  • Type: string

getNumberListAttribute
public getNumberListAttribute(terraformAttribute: string): number[]
terraformAttributeRequired
  • Type: string

getNumberMapAttribute
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
terraformAttributeRequired
  • Type: string

getStringAttribute
public getStringAttribute(terraformAttribute: string): string
terraformAttributeRequired
  • Type: string

getStringMapAttribute
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
terraformAttributeRequired
  • Type: string

interpolationForAttribute
public interpolationForAttribute(property: string): IResolvable
propertyRequired
  • Type: string

resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

resetDeleteRule
public resetDeleteRule(): void
resetMode
public resetMode(): void

Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.
deleteRuleInput string No description.
deviceNameInput string No description.
modeInput string No description.
sourceInput string No description.
deleteRule string No description.
deviceName string No description.
mode string No description.
source string No description.
internalValue cdktf.IResolvable | ComputePerInstanceConfigPreservedStateDisk No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public readonly fqn: string;
  • Type: string

deleteRuleInputOptional
public readonly deleteRuleInput: string;
  • Type: string

deviceNameInputOptional
public readonly deviceNameInput: string;
  • Type: string

modeInputOptional
public readonly modeInput: string;
  • Type: string

sourceInputOptional
public readonly sourceInput: string;
  • Type: string

deleteRuleRequired
public readonly deleteRule: string;
  • Type: string

deviceNameRequired
public readonly deviceName: string;
  • Type: string

modeRequired
public readonly mode: string;
  • Type: string

sourceRequired
public readonly source: string;
  • Type: string

internalValueOptional
public readonly internalValue: IResolvable | ComputePerInstanceConfigPreservedStateDisk;

ComputePerInstanceConfigPreservedStateExternalIpIpAddressOutputReference

Initializers

import { computePerInstanceConfig } from '@cdktf/provider-google'

new computePerInstanceConfig.ComputePerInstanceConfigPreservedStateExternalIpIpAddressOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


Methods

Name Description
computeFqn No description.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
interpolationForAttribute No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
resetAddress No description.

computeFqn
public computeFqn(): string
getAnyMapAttribute
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
terraformAttributeRequired
  • Type: string

getBooleanAttribute
public getBooleanAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

getBooleanMapAttribute
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
terraformAttributeRequired
  • Type: string

getListAttribute
public getListAttribute(terraformAttribute: string): string[]
terraformAttributeRequired
  • Type: string

getNumberAttribute
public getNumberAttribute(terraformAttribute: string): number
terraformAttributeRequired
  • Type: string

getNumberListAttribute
public getNumberListAttribute(terraformAttribute: string): number[]
terraformAttributeRequired
  • Type: string

getNumberMapAttribute
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
terraformAttributeRequired
  • Type: string

getStringAttribute
public getStringAttribute(terraformAttribute: string): string
terraformAttributeRequired
  • Type: string

getStringMapAttribute
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
terraformAttributeRequired
  • Type: string

interpolationForAttribute
public interpolationForAttribute(property: string): IResolvable
propertyRequired
  • Type: string

resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

resetAddress
public resetAddress(): void

Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.
addressInput string No description.
address string No description.
internalValue ComputePerInstanceConfigPreservedStateExternalIpIpAddress No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public readonly fqn: string;
  • Type: string

addressInputOptional
public readonly addressInput: string;
  • Type: string

addressRequired
public readonly address: string;
  • Type: string

internalValueOptional
public readonly internalValue: ComputePerInstanceConfigPreservedStateExternalIpIpAddress;

ComputePerInstanceConfigPreservedStateExternalIpList

Initializers

import { computePerInstanceConfig } from '@cdktf/provider-google'

new computePerInstanceConfig.ComputePerInstanceConfigPreservedStateExternalIpList(terraformResource: IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.
wrapsSet boolean whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


wrapsSetRequired
  • Type: boolean

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
allWithMapKey Creating an iterator for this complex list.
computeFqn No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
get No description.

allWithMapKey
public allWithMapKey(mapKeyAttributeName: string): DynamicListTerraformIterator

Creating an iterator for this complex list.

The list will be converted into a map with the mapKeyAttributeName as the key.

mapKeyAttributeNameRequired
  • Type: string

computeFqn
public computeFqn(): string
resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

get
public get(index: number): ComputePerInstanceConfigPreservedStateExternalIpOutputReference
indexRequired
  • Type: number

the index of the item to return.


Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.
internalValue cdktf.IResolvable | ComputePerInstanceConfigPreservedStateExternalIp[] No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public readonly fqn: string;
  • Type: string

internalValueOptional
public readonly internalValue: IResolvable | ComputePerInstanceConfigPreservedStateExternalIp[];

ComputePerInstanceConfigPreservedStateExternalIpOutputReference

Initializers

import { computePerInstanceConfig } from '@cdktf/provider-google'

new computePerInstanceConfig.ComputePerInstanceConfigPreservedStateExternalIpOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.
complexObjectIndex number the index of this item in the list.
complexObjectIsFromSet boolean whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


complexObjectIndexRequired
  • Type: number

the index of this item in the list.


complexObjectIsFromSetRequired
  • Type: boolean

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
computeFqn No description.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
interpolationForAttribute No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
putIpAddress No description.
resetAutoDelete No description.
resetIpAddress No description.

computeFqn
public computeFqn(): string
getAnyMapAttribute
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
terraformAttributeRequired
  • Type: string

getBooleanAttribute
public getBooleanAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

getBooleanMapAttribute
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
terraformAttributeRequired
  • Type: string

getListAttribute
public getListAttribute(terraformAttribute: string): string[]
terraformAttributeRequired
  • Type: string

getNumberAttribute
public getNumberAttribute(terraformAttribute: string): number
terraformAttributeRequired
  • Type: string

getNumberListAttribute
public getNumberListAttribute(terraformAttribute: string): number[]
terraformAttributeRequired
  • Type: string

getNumberMapAttribute
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
terraformAttributeRequired
  • Type: string

getStringAttribute
public getStringAttribute(terraformAttribute: string): string
terraformAttributeRequired
  • Type: string

getStringMapAttribute
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
terraformAttributeRequired
  • Type: string

interpolationForAttribute
public interpolationForAttribute(property: string): IResolvable
propertyRequired
  • Type: string

resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

putIpAddress
public putIpAddress(value: ComputePerInstanceConfigPreservedStateExternalIpIpAddress): void
valueRequired

resetAutoDelete
public resetAutoDelete(): void
resetIpAddress
public resetIpAddress(): void

Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.
ipAddress ComputePerInstanceConfigPreservedStateExternalIpIpAddressOutputReference No description.
autoDeleteInput string No description.
interfaceNameInput string No description.
ipAddressInput ComputePerInstanceConfigPreservedStateExternalIpIpAddress No description.
autoDelete string No description.
interfaceName string No description.
internalValue cdktf.IResolvable | ComputePerInstanceConfigPreservedStateExternalIp No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public readonly fqn: string;
  • Type: string

ipAddressRequired
public readonly ipAddress: ComputePerInstanceConfigPreservedStateExternalIpIpAddressOutputReference;

autoDeleteInputOptional
public readonly autoDeleteInput: string;
  • Type: string

interfaceNameInputOptional
public readonly interfaceNameInput: string;
  • Type: string

ipAddressInputOptional
public readonly ipAddressInput: ComputePerInstanceConfigPreservedStateExternalIpIpAddress;

autoDeleteRequired
public readonly autoDelete: string;
  • Type: string

interfaceNameRequired
public readonly interfaceName: string;
  • Type: string

internalValueOptional
public readonly internalValue: IResolvable | ComputePerInstanceConfigPreservedStateExternalIp;

ComputePerInstanceConfigPreservedStateInternalIpIpAddressOutputReference

Initializers

import { computePerInstanceConfig } from '@cdktf/provider-google'

new computePerInstanceConfig.ComputePerInstanceConfigPreservedStateInternalIpIpAddressOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


Methods

Name Description
computeFqn No description.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
interpolationForAttribute No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
resetAddress No description.

computeFqn
public computeFqn(): string
getAnyMapAttribute
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
terraformAttributeRequired
  • Type: string

getBooleanAttribute
public getBooleanAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

getBooleanMapAttribute
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
terraformAttributeRequired
  • Type: string

getListAttribute
public getListAttribute(terraformAttribute: string): string[]
terraformAttributeRequired
  • Type: string

getNumberAttribute
public getNumberAttribute(terraformAttribute: string): number
terraformAttributeRequired
  • Type: string

getNumberListAttribute
public getNumberListAttribute(terraformAttribute: string): number[]
terraformAttributeRequired
  • Type: string

getNumberMapAttribute
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
terraformAttributeRequired
  • Type: string

getStringAttribute
public getStringAttribute(terraformAttribute: string): string
terraformAttributeRequired
  • Type: string

getStringMapAttribute
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
terraformAttributeRequired
  • Type: string

interpolationForAttribute
public interpolationForAttribute(property: string): IResolvable
propertyRequired
  • Type: string

resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

resetAddress
public resetAddress(): void

Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.
addressInput string No description.
address string No description.
internalValue ComputePerInstanceConfigPreservedStateInternalIpIpAddress No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public readonly fqn: string;
  • Type: string

addressInputOptional
public readonly addressInput: string;
  • Type: string

addressRequired
public readonly address: string;
  • Type: string

internalValueOptional
public readonly internalValue: ComputePerInstanceConfigPreservedStateInternalIpIpAddress;

ComputePerInstanceConfigPreservedStateInternalIpList

Initializers

import { computePerInstanceConfig } from '@cdktf/provider-google'

new computePerInstanceConfig.ComputePerInstanceConfigPreservedStateInternalIpList(terraformResource: IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.
wrapsSet boolean whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


wrapsSetRequired
  • Type: boolean

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
allWithMapKey Creating an iterator for this complex list.
computeFqn No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
get No description.

allWithMapKey
public allWithMapKey(mapKeyAttributeName: string): DynamicListTerraformIterator

Creating an iterator for this complex list.

The list will be converted into a map with the mapKeyAttributeName as the key.

mapKeyAttributeNameRequired
  • Type: string

computeFqn
public computeFqn(): string
resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

get
public get(index: number): ComputePerInstanceConfigPreservedStateInternalIpOutputReference
indexRequired
  • Type: number

the index of the item to return.


Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.
internalValue cdktf.IResolvable | ComputePerInstanceConfigPreservedStateInternalIp[] No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public readonly fqn: string;
  • Type: string

internalValueOptional
public readonly internalValue: IResolvable | ComputePerInstanceConfigPreservedStateInternalIp[];

ComputePerInstanceConfigPreservedStateInternalIpOutputReference

Initializers

import { computePerInstanceConfig } from '@cdktf/provider-google'

new computePerInstanceConfig.ComputePerInstanceConfigPreservedStateInternalIpOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.
complexObjectIndex number the index of this item in the list.
complexObjectIsFromSet boolean whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


complexObjectIndexRequired
  • Type: number

the index of this item in the list.


complexObjectIsFromSetRequired
  • Type: boolean

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
computeFqn No description.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
interpolationForAttribute No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
putIpAddress No description.
resetAutoDelete No description.
resetIpAddress No description.

computeFqn
public computeFqn(): string
getAnyMapAttribute
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
terraformAttributeRequired
  • Type: string

getBooleanAttribute
public getBooleanAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

getBooleanMapAttribute
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
terraformAttributeRequired
  • Type: string

getListAttribute
public getListAttribute(terraformAttribute: string): string[]
terraformAttributeRequired
  • Type: string

getNumberAttribute
public getNumberAttribute(terraformAttribute: string): number
terraformAttributeRequired
  • Type: string

getNumberListAttribute
public getNumberListAttribute(terraformAttribute: string): number[]
terraformAttributeRequired
  • Type: string

getNumberMapAttribute
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
terraformAttributeRequired
  • Type: string

getStringAttribute
public getStringAttribute(terraformAttribute: string): string
terraformAttributeRequired
  • Type: string

getStringMapAttribute
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
terraformAttributeRequired
  • Type: string

interpolationForAttribute
public interpolationForAttribute(property: string): IResolvable
propertyRequired
  • Type: string

resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

putIpAddress
public putIpAddress(value: ComputePerInstanceConfigPreservedStateInternalIpIpAddress): void
valueRequired

resetAutoDelete
public resetAutoDelete(): void
resetIpAddress
public resetIpAddress(): void

Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.
ipAddress ComputePerInstanceConfigPreservedStateInternalIpIpAddressOutputReference No description.
autoDeleteInput string No description.
interfaceNameInput string No description.
ipAddressInput ComputePerInstanceConfigPreservedStateInternalIpIpAddress No description.
autoDelete string No description.
interfaceName string No description.
internalValue cdktf.IResolvable | ComputePerInstanceConfigPreservedStateInternalIp No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public readonly fqn: string;
  • Type: string

ipAddressRequired
public readonly ipAddress: ComputePerInstanceConfigPreservedStateInternalIpIpAddressOutputReference;

autoDeleteInputOptional
public readonly autoDeleteInput: string;
  • Type: string

interfaceNameInputOptional
public readonly interfaceNameInput: string;
  • Type: string

ipAddressInputOptional
public readonly ipAddressInput: ComputePerInstanceConfigPreservedStateInternalIpIpAddress;

autoDeleteRequired
public readonly autoDelete: string;
  • Type: string

interfaceNameRequired
public readonly interfaceName: string;
  • Type: string

internalValueOptional
public readonly internalValue: IResolvable | ComputePerInstanceConfigPreservedStateInternalIp;

ComputePerInstanceConfigPreservedStateOutputReference

Initializers

import { computePerInstanceConfig } from '@cdktf/provider-google'

new computePerInstanceConfig.ComputePerInstanceConfigPreservedStateOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


Methods

Name Description
computeFqn No description.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
interpolationForAttribute No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
putDisk No description.
putExternalIp No description.
putInternalIp No description.
resetDisk No description.
resetExternalIp No description.
resetInternalIp No description.
resetMetadata No description.

computeFqn
public computeFqn(): string
getAnyMapAttribute
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
terraformAttributeRequired
  • Type: string

getBooleanAttribute
public getBooleanAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

getBooleanMapAttribute
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
terraformAttributeRequired
  • Type: string

getListAttribute
public getListAttribute(terraformAttribute: string): string[]
terraformAttributeRequired
  • Type: string

getNumberAttribute
public getNumberAttribute(terraformAttribute: string): number
terraformAttributeRequired
  • Type: string

getNumberListAttribute
public getNumberListAttribute(terraformAttribute: string): number[]
terraformAttributeRequired
  • Type: string

getNumberMapAttribute
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
terraformAttributeRequired
  • Type: string

getStringAttribute
public getStringAttribute(terraformAttribute: string): string
terraformAttributeRequired
  • Type: string

getStringMapAttribute
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
terraformAttributeRequired
  • Type: string

interpolationForAttribute
public interpolationForAttribute(property: string): IResolvable
propertyRequired
  • Type: string

resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

putDisk
public putDisk(value: IResolvable | ComputePerInstanceConfigPreservedStateDisk[]): void
valueRequired

putExternalIp
public putExternalIp(value: IResolvable | ComputePerInstanceConfigPreservedStateExternalIp[]): void
valueRequired

putInternalIp
public putInternalIp(value: IResolvable | ComputePerInstanceConfigPreservedStateInternalIp[]): void
valueRequired

resetDisk
public resetDisk(): void
resetExternalIp
public resetExternalIp(): void
resetInternalIp
public resetInternalIp(): void
resetMetadata
public resetMetadata(): void

Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.
disk ComputePerInstanceConfigPreservedStateDiskList No description.
externalIp ComputePerInstanceConfigPreservedStateExternalIpList No description.
internalIp ComputePerInstanceConfigPreservedStateInternalIpList No description.
diskInput cdktf.IResolvable | ComputePerInstanceConfigPreservedStateDisk[] No description.
externalIpInput cdktf.IResolvable | ComputePerInstanceConfigPreservedStateExternalIp[] No description.
internalIpInput cdktf.IResolvable | ComputePerInstanceConfigPreservedStateInternalIp[] No description.
metadataInput {[ key: string ]: string} No description.
metadata {[ key: string ]: string} No description.
internalValue ComputePerInstanceConfigPreservedState No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public readonly fqn: string;
  • Type: string

diskRequired
public readonly disk: ComputePerInstanceConfigPreservedStateDiskList;

externalIpRequired
public readonly externalIp: ComputePerInstanceConfigPreservedStateExternalIpList;

internalIpRequired
public readonly internalIp: ComputePerInstanceConfigPreservedStateInternalIpList;

diskInputOptional
public readonly diskInput: IResolvable | ComputePerInstanceConfigPreservedStateDisk[];

externalIpInputOptional
public readonly externalIpInput: IResolvable | ComputePerInstanceConfigPreservedStateExternalIp[];

internalIpInputOptional
public readonly internalIpInput: IResolvable | ComputePerInstanceConfigPreservedStateInternalIp[];

metadataInputOptional
public readonly metadataInput: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

metadataRequired
public readonly metadata: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

internalValueOptional
public readonly internalValue: ComputePerInstanceConfigPreservedState;

ComputePerInstanceConfigTimeoutsOutputReference

Initializers

import { computePerInstanceConfig } from '@cdktf/provider-google'

new computePerInstanceConfig.ComputePerInstanceConfigTimeoutsOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


Methods

Name Description
computeFqn No description.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
interpolationForAttribute No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
resetCreate No description.
resetDelete No description.
resetUpdate No description.

computeFqn
public computeFqn(): string
getAnyMapAttribute
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
terraformAttributeRequired
  • Type: string

getBooleanAttribute
public getBooleanAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

getBooleanMapAttribute
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
terraformAttributeRequired
  • Type: string

getListAttribute
public getListAttribute(terraformAttribute: string): string[]
terraformAttributeRequired
  • Type: string

getNumberAttribute
public getNumberAttribute(terraformAttribute: string): number
terraformAttributeRequired
  • Type: string

getNumberListAttribute
public getNumberListAttribute(terraformAttribute: string): number[]
terraformAttributeRequired
  • Type: string

getNumberMapAttribute
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
terraformAttributeRequired
  • Type: string

getStringAttribute
public getStringAttribute(terraformAttribute: string): string
terraformAttributeRequired
  • Type: string

getStringMapAttribute
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
terraformAttributeRequired
  • Type: string

interpolationForAttribute
public interpolationForAttribute(property: string): IResolvable
propertyRequired
  • Type: string

resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

resetCreate
public resetCreate(): void
resetDelete
public resetDelete(): void
resetUpdate
public resetUpdate(): void

Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.
createInput string No description.
deleteInput string No description.
updateInput string No description.
create string No description.
delete string No description.
update string No description.
internalValue cdktf.IResolvable | ComputePerInstanceConfigTimeouts No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public readonly fqn: string;
  • Type: string

createInputOptional
public readonly createInput: string;
  • Type: string

deleteInputOptional
public readonly deleteInput: string;
  • Type: string

updateInputOptional
public readonly updateInput: string;
  • Type: string

createRequired
public readonly create: string;
  • Type: string

deleteRequired
public readonly delete: string;
  • Type: string

updateRequired
public readonly update: string;
  • Type: string

internalValueOptional
public readonly internalValue: IResolvable | ComputePerInstanceConfigTimeouts;