Skip to content

Files

Latest commit

 

History

History
5184 lines (3228 loc) · 227 KB
·

computeDisk.typescript.md

File metadata and controls

5184 lines (3228 loc) · 227 KB
·

computeDisk Submodule

Constructs

ComputeDisk

Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk google_compute_disk}.

Initializers

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

new computeDisk.ComputeDisk(scope: Construct, id: string, config: ComputeDiskConfig)
Name Type Description
scope constructs.Construct The scope in which to define this construct.
id string The scoped construct ID.
config ComputeDiskConfig 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".
putAsyncPrimaryDisk No description.
putDiskEncryptionKey No description.
putGuestOsFeatures No description.
putParams No description.
putSourceImageEncryptionKey No description.
putSourceSnapshotEncryptionKey No description.
putTimeouts No description.
resetAccessMode No description.
resetArchitecture No description.
resetAsyncPrimaryDisk No description.
resetCreateSnapshotBeforeDestroy No description.
resetCreateSnapshotBeforeDestroyPrefix No description.
resetDescription No description.
resetDiskEncryptionKey No description.
resetEnableConfidentialCompute No description.
resetGuestOsFeatures No description.
resetId No description.
resetImage No description.
resetLabels No description.
resetLicenses No description.
resetParams No description.
resetPhysicalBlockSizeBytes No description.
resetProject No description.
resetProvisionedIops No description.
resetProvisionedThroughput No description.
resetSize No description.
resetSnapshot No description.
resetSourceDisk No description.
resetSourceImageEncryptionKey No description.
resetSourceInstantSnapshot No description.
resetSourceSnapshotEncryptionKey No description.
resetSourceStorageObject No description.
resetStoragePool No description.
resetTimeouts No description.
resetType 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".


putAsyncPrimaryDisk
public putAsyncPrimaryDisk(value: ComputeDiskAsyncPrimaryDisk): void
valueRequired

putDiskEncryptionKey
public putDiskEncryptionKey(value: ComputeDiskDiskEncryptionKey): void
valueRequired

putGuestOsFeatures
public putGuestOsFeatures(value: IResolvable | ComputeDiskGuestOsFeatures[]): void
valueRequired

putParams
public putParams(value: ComputeDiskParams): void
valueRequired

putSourceImageEncryptionKey
public putSourceImageEncryptionKey(value: ComputeDiskSourceImageEncryptionKey): void
valueRequired

putSourceSnapshotEncryptionKey
public putSourceSnapshotEncryptionKey(value: ComputeDiskSourceSnapshotEncryptionKey): void
valueRequired

putTimeouts
public putTimeouts(value: ComputeDiskTimeouts): void
valueRequired

resetAccessMode
public resetAccessMode(): void
resetArchitecture
public resetArchitecture(): void
resetAsyncPrimaryDisk
public resetAsyncPrimaryDisk(): void
resetCreateSnapshotBeforeDestroy
public resetCreateSnapshotBeforeDestroy(): void
resetCreateSnapshotBeforeDestroyPrefix
public resetCreateSnapshotBeforeDestroyPrefix(): void
resetDescription
public resetDescription(): void
resetDiskEncryptionKey
public resetDiskEncryptionKey(): void
resetEnableConfidentialCompute
public resetEnableConfidentialCompute(): void
resetGuestOsFeatures
public resetGuestOsFeatures(): void
resetId
public resetId(): void
resetImage
public resetImage(): void
resetLabels
public resetLabels(): void
resetLicenses
public resetLicenses(): void
resetParams
public resetParams(): void
resetPhysicalBlockSizeBytes
public resetPhysicalBlockSizeBytes(): void
resetProject
public resetProject(): void
resetProvisionedIops
public resetProvisionedIops(): void
resetProvisionedThroughput
public resetProvisionedThroughput(): void
resetSize
public resetSize(): void
resetSnapshot
public resetSnapshot(): void
resetSourceDisk
public resetSourceDisk(): void
resetSourceImageEncryptionKey
public resetSourceImageEncryptionKey(): void
resetSourceInstantSnapshot
public resetSourceInstantSnapshot(): void
resetSourceSnapshotEncryptionKey
public resetSourceSnapshotEncryptionKey(): void
resetSourceStorageObject
public resetSourceStorageObject(): void
resetStoragePool
public resetStoragePool(): void
resetTimeouts
public resetTimeouts(): void
resetType
public resetType(): 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 ComputeDisk resource upon running "cdktf plan ".

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

computeDisk.ComputeDisk.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 { computeDisk } from '@cdktf/provider-google'

computeDisk.ComputeDisk.isTerraformElement(x: any)
xRequired
  • Type: any

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

computeDisk.ComputeDisk.isTerraformResource(x: any)
xRequired
  • Type: any

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

computeDisk.ComputeDisk.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider)

Generates CDKTF code for importing a ComputeDisk 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 ComputeDisk to import.


importFromIdRequired
  • Type: string

The id of the existing ComputeDisk that should be imported.

Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#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 ComputeDisk 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.
asyncPrimaryDisk ComputeDiskAsyncPrimaryDiskOutputReference No description.
creationTimestamp string No description.
diskEncryptionKey ComputeDiskDiskEncryptionKeyOutputReference No description.
diskId string No description.
effectiveLabels cdktf.StringMap No description.
guestOsFeatures ComputeDiskGuestOsFeaturesList No description.
labelFingerprint string No description.
lastAttachTimestamp string No description.
lastDetachTimestamp string No description.
params ComputeDiskParamsOutputReference No description.
selfLink string No description.
sourceDiskId string No description.
sourceImageEncryptionKey ComputeDiskSourceImageEncryptionKeyOutputReference No description.
sourceImageId string No description.
sourceInstantSnapshotId string No description.
sourceSnapshotEncryptionKey ComputeDiskSourceSnapshotEncryptionKeyOutputReference No description.
sourceSnapshotId string No description.
terraformLabels cdktf.StringMap No description.
timeouts ComputeDiskTimeoutsOutputReference No description.
users string[] No description.
accessModeInput string No description.
architectureInput string No description.
asyncPrimaryDiskInput ComputeDiskAsyncPrimaryDisk No description.
createSnapshotBeforeDestroyInput boolean | cdktf.IResolvable No description.
createSnapshotBeforeDestroyPrefixInput string No description.
descriptionInput string No description.
diskEncryptionKeyInput ComputeDiskDiskEncryptionKey No description.
enableConfidentialComputeInput boolean | cdktf.IResolvable No description.
guestOsFeaturesInput cdktf.IResolvable | ComputeDiskGuestOsFeatures[] No description.
idInput string No description.
imageInput string No description.
labelsInput {[ key: string ]: string} No description.
licensesInput string[] No description.
nameInput string No description.
paramsInput ComputeDiskParams No description.
physicalBlockSizeBytesInput number No description.
projectInput string No description.
provisionedIopsInput number No description.
provisionedThroughputInput number No description.
sizeInput number No description.
snapshotInput string No description.
sourceDiskInput string No description.
sourceImageEncryptionKeyInput ComputeDiskSourceImageEncryptionKey No description.
sourceInstantSnapshotInput string No description.
sourceSnapshotEncryptionKeyInput ComputeDiskSourceSnapshotEncryptionKey No description.
sourceStorageObjectInput string No description.
storagePoolInput string No description.
timeoutsInput cdktf.IResolvable | ComputeDiskTimeouts No description.
typeInput string No description.
zoneInput string No description.
accessMode string No description.
architecture string No description.
createSnapshotBeforeDestroy boolean | cdktf.IResolvable No description.
createSnapshotBeforeDestroyPrefix string No description.
description string No description.
enableConfidentialCompute boolean | cdktf.IResolvable No description.
id string No description.
image string No description.
labels {[ key: string ]: string} No description.
licenses string[] No description.
name string No description.
physicalBlockSizeBytes number No description.
project string No description.
provisionedIops number No description.
provisionedThroughput number No description.
size number No description.
snapshot string No description.
sourceDisk string No description.
sourceInstantSnapshot string No description.
sourceStorageObject string No description.
storagePool string No description.
type string 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[]

asyncPrimaryDiskRequired
public readonly asyncPrimaryDisk: ComputeDiskAsyncPrimaryDiskOutputReference;

creationTimestampRequired
public readonly creationTimestamp: string;
  • Type: string

diskEncryptionKeyRequired
public readonly diskEncryptionKey: ComputeDiskDiskEncryptionKeyOutputReference;

diskIdRequired
public readonly diskId: string;
  • Type: string

effectiveLabelsRequired
public readonly effectiveLabels: StringMap;
  • Type: cdktf.StringMap

guestOsFeaturesRequired
public readonly guestOsFeatures: ComputeDiskGuestOsFeaturesList;

labelFingerprintRequired
public readonly labelFingerprint: string;
  • Type: string

lastAttachTimestampRequired
public readonly lastAttachTimestamp: string;
  • Type: string

lastDetachTimestampRequired
public readonly lastDetachTimestamp: string;
  • Type: string

paramsRequired
public readonly params: ComputeDiskParamsOutputReference;

selfLinkRequired
public readonly selfLink: string;
  • Type: string

sourceDiskIdRequired
public readonly sourceDiskId: string;
  • Type: string

sourceImageEncryptionKeyRequired
public readonly sourceImageEncryptionKey: ComputeDiskSourceImageEncryptionKeyOutputReference;

sourceImageIdRequired
public readonly sourceImageId: string;
  • Type: string

sourceInstantSnapshotIdRequired
public readonly sourceInstantSnapshotId: string;
  • Type: string

sourceSnapshotEncryptionKeyRequired
public readonly sourceSnapshotEncryptionKey: ComputeDiskSourceSnapshotEncryptionKeyOutputReference;

sourceSnapshotIdRequired
public readonly sourceSnapshotId: string;
  • Type: string

terraformLabelsRequired
public readonly terraformLabels: StringMap;
  • Type: cdktf.StringMap

timeoutsRequired
public readonly timeouts: ComputeDiskTimeoutsOutputReference;

usersRequired
public readonly users: string[];
  • Type: string[]

accessModeInputOptional
public readonly accessModeInput: string;
  • Type: string

architectureInputOptional
public readonly architectureInput: string;
  • Type: string

asyncPrimaryDiskInputOptional
public readonly asyncPrimaryDiskInput: ComputeDiskAsyncPrimaryDisk;

createSnapshotBeforeDestroyInputOptional
public readonly createSnapshotBeforeDestroyInput: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

createSnapshotBeforeDestroyPrefixInputOptional
public readonly createSnapshotBeforeDestroyPrefixInput: string;
  • Type: string

descriptionInputOptional
public readonly descriptionInput: string;
  • Type: string

diskEncryptionKeyInputOptional
public readonly diskEncryptionKeyInput: ComputeDiskDiskEncryptionKey;

enableConfidentialComputeInputOptional
public readonly enableConfidentialComputeInput: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

guestOsFeaturesInputOptional
public readonly guestOsFeaturesInput: IResolvable | ComputeDiskGuestOsFeatures[];

idInputOptional
public readonly idInput: string;
  • Type: string

imageInputOptional
public readonly imageInput: string;
  • Type: string

labelsInputOptional
public readonly labelsInput: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

licensesInputOptional
public readonly licensesInput: string[];
  • Type: string[]

nameInputOptional
public readonly nameInput: string;
  • Type: string

paramsInputOptional
public readonly paramsInput: ComputeDiskParams;

physicalBlockSizeBytesInputOptional
public readonly physicalBlockSizeBytesInput: number;
  • Type: number

projectInputOptional
public readonly projectInput: string;
  • Type: string

provisionedIopsInputOptional
public readonly provisionedIopsInput: number;
  • Type: number

provisionedThroughputInputOptional
public readonly provisionedThroughputInput: number;
  • Type: number

sizeInputOptional
public readonly sizeInput: number;
  • Type: number

snapshotInputOptional
public readonly snapshotInput: string;
  • Type: string

sourceDiskInputOptional
public readonly sourceDiskInput: string;
  • Type: string

sourceImageEncryptionKeyInputOptional
public readonly sourceImageEncryptionKeyInput: ComputeDiskSourceImageEncryptionKey;

sourceInstantSnapshotInputOptional
public readonly sourceInstantSnapshotInput: string;
  • Type: string

sourceSnapshotEncryptionKeyInputOptional
public readonly sourceSnapshotEncryptionKeyInput: ComputeDiskSourceSnapshotEncryptionKey;

sourceStorageObjectInputOptional
public readonly sourceStorageObjectInput: string;
  • Type: string

storagePoolInputOptional
public readonly storagePoolInput: string;
  • Type: string

timeoutsInputOptional
public readonly timeoutsInput: IResolvable | ComputeDiskTimeouts;

typeInputOptional
public readonly typeInput: string;
  • Type: string

zoneInputOptional
public readonly zoneInput: string;
  • Type: string

accessModeRequired
public readonly accessMode: string;
  • Type: string

architectureRequired
public readonly architecture: string;
  • Type: string

createSnapshotBeforeDestroyRequired
public readonly createSnapshotBeforeDestroy: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

createSnapshotBeforeDestroyPrefixRequired
public readonly createSnapshotBeforeDestroyPrefix: string;
  • Type: string

descriptionRequired
public readonly description: string;
  • Type: string

enableConfidentialComputeRequired
public readonly enableConfidentialCompute: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

idRequired
public readonly id: string;
  • Type: string

imageRequired
public readonly image: string;
  • Type: string

labelsRequired
public readonly labels: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

licensesRequired
public readonly licenses: string[];
  • Type: string[]

nameRequired
public readonly name: string;
  • Type: string

physicalBlockSizeBytesRequired
public readonly physicalBlockSizeBytes: number;
  • Type: number

projectRequired
public readonly project: string;
  • Type: string

provisionedIopsRequired
public readonly provisionedIops: number;
  • Type: number

provisionedThroughputRequired
public readonly provisionedThroughput: number;
  • Type: number

sizeRequired
public readonly size: number;
  • Type: number

snapshotRequired
public readonly snapshot: string;
  • Type: string

sourceDiskRequired
public readonly sourceDisk: string;
  • Type: string

sourceInstantSnapshotRequired
public readonly sourceInstantSnapshot: string;
  • Type: string

sourceStorageObjectRequired
public readonly sourceStorageObject: string;
  • Type: string

storagePoolRequired
public readonly storagePool: string;
  • Type: string

typeRequired
public readonly type: string;
  • Type: string

zoneRequired
public readonly zone: string;
  • Type: string

Constants

Name Type Description
tfResourceType string No description.

tfResourceTypeRequired
public readonly tfResourceType: string;
  • Type: string

Structs

ComputeDiskAsyncPrimaryDisk

Initializer

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

const computeDiskAsyncPrimaryDisk: computeDisk.ComputeDiskAsyncPrimaryDisk = { ... }

Properties

Name Type Description
disk string Primary disk for asynchronous disk replication.

diskRequired
public readonly disk: string;
  • Type: string

Primary disk for asynchronous disk replication.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#disk ComputeDisk#disk}


ComputeDiskConfig

Initializer

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

const computeDiskConfig: computeDisk.ComputeDiskConfig = { ... }

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.
name string Name of the resource.
accessMode string The accessMode of the disk. For example: * READ_WRITE_SINGLE * READ_WRITE_MANY * READ_ONLY_SINGLE.
architecture string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#architecture ComputeDisk#architecture}.
asyncPrimaryDisk ComputeDiskAsyncPrimaryDisk async_primary_disk block.
createSnapshotBeforeDestroy boolean | cdktf.IResolvable If set to true, a snapshot of the disk will be created before it is destroyed.
createSnapshotBeforeDestroyPrefix string This will set a custom name prefix for the snapshot that's created when the disk is deleted.
description string An optional description of this resource. Provide this property when you create the resource.
diskEncryptionKey ComputeDiskDiskEncryptionKey disk_encryption_key block.
enableConfidentialCompute boolean | cdktf.IResolvable Whether this disk is using confidential compute mode.
guestOsFeatures cdktf.IResolvable | ComputeDiskGuestOsFeatures[] guest_os_features block.
id string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#id ComputeDisk#id}.
image string The image from which to initialize this disk.
labels {[ key: string ]: string} Labels to apply to this disk. A list of key->value pairs.
licenses string[] Any applicable license URI.
params ComputeDiskParams params block.
physicalBlockSizeBytes number Physical block size of the persistent disk, in bytes.
project string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#project ComputeDisk#project}.
provisionedIops number Indicates how many IOPS must be provisioned for the disk.
provisionedThroughput number Indicates how much Throughput must be provisioned for the disk.
size number Size of the persistent disk, specified in GB.
snapshot string The source snapshot used to create this disk.
sourceDisk string The source disk used to create this disk.
sourceImageEncryptionKey ComputeDiskSourceImageEncryptionKey source_image_encryption_key block.
sourceInstantSnapshot string The source instant snapshot used to create this disk.
sourceSnapshotEncryptionKey ComputeDiskSourceSnapshotEncryptionKey source_snapshot_encryption_key block.
sourceStorageObject string The full Google Cloud Storage URI where the disk image is stored.
storagePool string The URL or the name of the storage pool in which the new disk is created.
timeouts ComputeDiskTimeouts timeouts block.
type string URL of the disk type resource describing which disk type to use to create the disk.
zone string A reference to the zone where the disk resides.

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[]

nameRequired
public readonly name: string;
  • Type: string

Name of the resource.

Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression 'a-z?' which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#name ComputeDisk#name}


accessModeOptional
public readonly accessMode: string;
  • Type: string

The accessMode of the disk. For example: * READ_WRITE_SINGLE * READ_WRITE_MANY * READ_ONLY_SINGLE.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#access_mode ComputeDisk#access_mode}


architectureOptional
public readonly architecture: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#architecture ComputeDisk#architecture}.


asyncPrimaryDiskOptional
public readonly asyncPrimaryDisk: ComputeDiskAsyncPrimaryDisk;

async_primary_disk block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#async_primary_disk ComputeDisk#async_primary_disk}


createSnapshotBeforeDestroyOptional
public readonly createSnapshotBeforeDestroy: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

If set to true, a snapshot of the disk will be created before it is destroyed.

If your disk is encrypted with customer managed encryption keys these will be reused for the snapshot creation. The name of the snapshot by default will be '{{disk-name}}-YYYYMMDD-HHmm'

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#create_snapshot_before_destroy ComputeDisk#create_snapshot_before_destroy}


createSnapshotBeforeDestroyPrefixOptional
public readonly createSnapshotBeforeDestroyPrefix: string;
  • Type: string

This will set a custom name prefix for the snapshot that's created when the disk is deleted.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#create_snapshot_before_destroy_prefix ComputeDisk#create_snapshot_before_destroy_prefix}


descriptionOptional
public readonly description: string;
  • Type: string

An optional description of this resource. Provide this property when you create the resource.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#description ComputeDisk#description}


diskEncryptionKeyOptional
public readonly diskEncryptionKey: ComputeDiskDiskEncryptionKey;

disk_encryption_key block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#disk_encryption_key ComputeDisk#disk_encryption_key}


enableConfidentialComputeOptional
public readonly enableConfidentialCompute: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

Whether this disk is using confidential compute mode.

Note: Only supported on hyperdisk skus, disk_encryption_key is required when setting to true

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#enable_confidential_compute ComputeDisk#enable_confidential_compute}


guestOsFeaturesOptional
public readonly guestOsFeatures: IResolvable | ComputeDiskGuestOsFeatures[];

guest_os_features block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#guest_os_features ComputeDisk#guest_os_features}


idOptional
public readonly id: string;
  • Type: string

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


imageOptional
public readonly image: string;
  • Type: string

The image from which to initialize this disk.

This can be one of: the image's 'self_link', 'projects/{project}/global/images/{image}', 'projects/{project}/global/images/family/{family}', 'global/images/{image}', 'global/images/family/{family}', 'family/{family}', '{project}/{family}', '{project}/{image}', '{family}', or '{image}'. If referred by family, the images names must include the family name. If they don't, use the google_compute_image data source. For instance, the image 'centos-6-v20180104' includes its family name 'centos-6'. These images can be referred by family name here.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#image ComputeDisk#image}


labelsOptional
public readonly labels: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

Labels to apply to this disk. A list of key->value pairs.

Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#labels ComputeDisk#labels}


licensesOptional
public readonly licenses: string[];
  • Type: string[]

Any applicable license URI.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#licenses ComputeDisk#licenses}


paramsOptional
public readonly params: ComputeDiskParams;

params block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#params ComputeDisk#params}


physicalBlockSizeBytesOptional
public readonly physicalBlockSizeBytes: number;
  • Type: number

Physical block size of the persistent disk, in bytes.

If not present in a request, a default value is used. Currently supported sizes are 4096 and 16384, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#physical_block_size_bytes ComputeDisk#physical_block_size_bytes}


projectOptional
public readonly project: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#project ComputeDisk#project}.


provisionedIopsOptional
public readonly provisionedIops: number;
  • Type: number

Indicates how many IOPS must be provisioned for the disk.

Note: Updating currently is only supported by hyperdisk skus without the need to delete and recreate the disk, hyperdisk allows for an update of IOPS every 4 hours. To update your hyperdisk more frequently, you'll need to manually delete and recreate it

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#provisioned_iops ComputeDisk#provisioned_iops}


provisionedThroughputOptional
public readonly provisionedThroughput: number;
  • Type: number

Indicates how much Throughput must be provisioned for the disk.

Note: Updating currently is only supported by hyperdisk skus without the need to delete and recreate the disk, hyperdisk allows for an update of Throughput every 4 hours. To update your hyperdisk more frequently, you'll need to manually delete and recreate it

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#provisioned_throughput ComputeDisk#provisioned_throughput}


sizeOptional
public readonly size: number;
  • Type: number

Size of the persistent disk, specified in GB.

You can specify this field when creating a persistent disk using the 'image' or 'snapshot' parameter, or specify it alone to create an empty persistent disk.

If you specify this field along with 'image' or 'snapshot', the value must not be less than the size of the image or the size of the snapshot.

~>NOTE If you change the size, Terraform updates the disk size if upsizing is detected but recreates the disk if downsizing is requested. You can add 'lifecycle.prevent_destroy' in the config to prevent destroying and recreating.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#size ComputeDisk#size}


snapshotOptional
public readonly snapshot: string;
  • Type: string

The source snapshot used to create this disk.

You can provide this as a partial or full URL to the resource. If the snapshot is in another project than this disk, you must supply a full URL. For example, the following are valid values:

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#snapshot ComputeDisk#snapshot}


sourceDiskOptional
public readonly sourceDisk: string;
  • Type: string

The source disk used to create this disk.

You can provide this as a partial or full URL to the resource. For example, the following are valid values:

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#source_disk ComputeDisk#source_disk}


sourceImageEncryptionKeyOptional
public readonly sourceImageEncryptionKey: ComputeDiskSourceImageEncryptionKey;

source_image_encryption_key block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#source_image_encryption_key ComputeDisk#source_image_encryption_key}


sourceInstantSnapshotOptional
public readonly sourceInstantSnapshot: string;
  • Type: string

The source instant snapshot used to create this disk.

You can provide this as a partial or full URL to the resource. For example, the following are valid values:

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#source_instant_snapshot ComputeDisk#source_instant_snapshot}


sourceSnapshotEncryptionKeyOptional
public readonly sourceSnapshotEncryptionKey: ComputeDiskSourceSnapshotEncryptionKey;

source_snapshot_encryption_key block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#source_snapshot_encryption_key ComputeDisk#source_snapshot_encryption_key}


sourceStorageObjectOptional
public readonly sourceStorageObject: string;
  • Type: string

The full Google Cloud Storage URI where the disk image is stored.

This file must be a gzip-compressed tarball whose name ends in .tar.gz or virtual machine disk whose name ends in vmdk. Valid URIs may start with gs:// or https://storage.googleapis.com/. This flag is not optimized for creating multiple disks from a source storage object. To create many disks from a source storage object, use gcloud compute images import instead.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#source_storage_object ComputeDisk#source_storage_object}


storagePoolOptional
public readonly storagePool: string;
  • Type: string

The URL or the name of the storage pool in which the new disk is created.

For example:

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#storage_pool ComputeDisk#storage_pool}


timeoutsOptional
public readonly timeouts: ComputeDiskTimeouts;

timeouts block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#timeouts ComputeDisk#timeouts}


typeOptional
public readonly type: string;
  • Type: string

URL of the disk type resource describing which disk type to use to create the disk.

Provide this when creating the disk.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#type ComputeDisk#type}


zoneOptional
public readonly zone: string;
  • Type: string

A reference to the zone where the disk resides.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#zone ComputeDisk#zone}


ComputeDiskDiskEncryptionKey

Initializer

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

const computeDiskDiskEncryptionKey: computeDisk.ComputeDiskDiskEncryptionKey = { ... }

Properties

Name Type Description
kmsKeySelfLink string The self link of the encryption key used to encrypt the disk.
kmsKeyServiceAccount string The service account used for the encryption request for the given KMS key.
rawKey string Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
rsaEncryptedKey string Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource.

kmsKeySelfLinkOptional
public readonly kmsKeySelfLink: string;
  • Type: string

The self link of the encryption key used to encrypt the disk.

Also called KmsKeyName in the cloud console. Your project's Compute Engine System service account ('service-{{PROJECT_NUMBER}}@compute-system.iam.gserviceaccount.com') must have 'roles/cloudkms.cryptoKeyEncrypterDecrypter' to use this feature. See https://cloud.google.com/compute/docs/disks/customer-managed-encryption#encrypt_a_new_persistent_disk_with_your_own_keys

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#kms_key_self_link ComputeDisk#kms_key_self_link}


kmsKeyServiceAccountOptional
public readonly kmsKeyServiceAccount: string;
  • Type: string

The service account used for the encryption request for the given KMS key.

If absent, the Compute Engine Service Agent service account is used.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#kms_key_service_account ComputeDisk#kms_key_service_account}


rawKeyOptional
public readonly rawKey: string;
  • Type: string

Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#raw_key ComputeDisk#raw_key}


rsaEncryptedKeyOptional
public readonly rsaEncryptedKey: string;
  • Type: string

Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource.

You can provide either the rawKey or the rsaEncryptedKey.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#rsa_encrypted_key ComputeDisk#rsa_encrypted_key}


ComputeDiskGuestOsFeatures

Initializer

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

const computeDiskGuestOsFeatures: computeDisk.ComputeDiskGuestOsFeatures = { ... }

Properties

Name Type Description
type string The type of supported feature. Read Enabling guest operating system features to see a list of available options.

typeRequired
public readonly type: string;
  • Type: string

The type of supported feature. Read Enabling guest operating system features to see a list of available options.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#type ComputeDisk#type}


ComputeDiskParams

Initializer

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

const computeDiskParams: computeDisk.ComputeDiskParams = { ... }

Properties

Name Type Description
resourceManagerTags {[ key: string ]: string} Resource manager tags to be bound to the disk.

resourceManagerTagsOptional
public readonly resourceManagerTags: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

Resource manager tags to be bound to the disk.

Tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#resource_manager_tags ComputeDisk#resource_manager_tags}


ComputeDiskSourceImageEncryptionKey

Initializer

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

const computeDiskSourceImageEncryptionKey: computeDisk.ComputeDiskSourceImageEncryptionKey = { ... }

Properties

Name Type Description
kmsKeySelfLink string The self link of the encryption key used to encrypt the disk.
kmsKeyServiceAccount string The service account used for the encryption request for the given KMS key.
rawKey string Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.

kmsKeySelfLinkOptional
public readonly kmsKeySelfLink: string;
  • Type: string

The self link of the encryption key used to encrypt the disk.

Also called KmsKeyName in the cloud console. Your project's Compute Engine System service account ('service-{{PROJECT_NUMBER}}@compute-system.iam.gserviceaccount.com') must have 'roles/cloudkms.cryptoKeyEncrypterDecrypter' to use this feature. See https://cloud.google.com/compute/docs/disks/customer-managed-encryption#encrypt_a_new_persistent_disk_with_your_own_keys

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#kms_key_self_link ComputeDisk#kms_key_self_link}


kmsKeyServiceAccountOptional
public readonly kmsKeyServiceAccount: string;
  • Type: string

The service account used for the encryption request for the given KMS key.

If absent, the Compute Engine Service Agent service account is used.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#kms_key_service_account ComputeDisk#kms_key_service_account}


rawKeyOptional
public readonly rawKey: string;
  • Type: string

Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#raw_key ComputeDisk#raw_key}


ComputeDiskSourceSnapshotEncryptionKey

Initializer

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

const computeDiskSourceSnapshotEncryptionKey: computeDisk.ComputeDiskSourceSnapshotEncryptionKey = { ... }

Properties

Name Type Description
kmsKeySelfLink string The self link of the encryption key used to encrypt the disk.
kmsKeyServiceAccount string The service account used for the encryption request for the given KMS key.
rawKey string Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.

kmsKeySelfLinkOptional
public readonly kmsKeySelfLink: string;
  • Type: string

The self link of the encryption key used to encrypt the disk.

Also called KmsKeyName in the cloud console. Your project's Compute Engine System service account ('service-{{PROJECT_NUMBER}}@compute-system.iam.gserviceaccount.com') must have 'roles/cloudkms.cryptoKeyEncrypterDecrypter' to use this feature. See https://cloud.google.com/compute/docs/disks/customer-managed-encryption#encrypt_a_new_persistent_disk_with_your_own_keys

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#kms_key_self_link ComputeDisk#kms_key_self_link}


kmsKeyServiceAccountOptional
public readonly kmsKeyServiceAccount: string;
  • Type: string

The service account used for the encryption request for the given KMS key.

If absent, the Compute Engine Service Agent service account is used.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#kms_key_service_account ComputeDisk#kms_key_service_account}


rawKeyOptional
public readonly rawKey: string;
  • Type: string

Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#raw_key ComputeDisk#raw_key}


ComputeDiskTimeouts

Initializer

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

const computeDiskTimeouts: computeDisk.ComputeDiskTimeouts = { ... }

Properties

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

createOptional
public readonly create: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#create ComputeDisk#create}.


deleteOptional
public readonly delete: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#delete ComputeDisk#delete}.


updateOptional
public readonly update: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.34.0/docs/resources/compute_disk#update ComputeDisk#update}.


Classes

ComputeDiskAsyncPrimaryDiskOutputReference

Initializers

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

new computeDisk.ComputeDiskAsyncPrimaryDiskOutputReference(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.

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.

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.
diskInput string No description.
disk string No description.
internalValue ComputeDiskAsyncPrimaryDisk 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

diskInputOptional
public readonly diskInput: string;
  • Type: string

diskRequired
public readonly disk: string;
  • Type: string

internalValueOptional
public readonly internalValue: ComputeDiskAsyncPrimaryDisk;

ComputeDiskDiskEncryptionKeyOutputReference

Initializers

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

new computeDisk.ComputeDiskDiskEncryptionKeyOutputReference(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.
resetKmsKeySelfLink No description.
resetKmsKeyServiceAccount No description.
resetRawKey No description.
resetRsaEncryptedKey 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.

resetKmsKeySelfLink
public resetKmsKeySelfLink(): void
resetKmsKeyServiceAccount
public resetKmsKeyServiceAccount(): void
resetRawKey
public resetRawKey(): void
resetRsaEncryptedKey
public resetRsaEncryptedKey(): 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.
sha256 string No description.
kmsKeySelfLinkInput string No description.
kmsKeyServiceAccountInput string No description.
rawKeyInput string No description.
rsaEncryptedKeyInput string No description.
kmsKeySelfLink string No description.
kmsKeyServiceAccount string No description.
rawKey string No description.
rsaEncryptedKey string No description.
internalValue ComputeDiskDiskEncryptionKey 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

sha256Required
public readonly sha256: string;
  • Type: string

kmsKeySelfLinkInputOptional
public readonly kmsKeySelfLinkInput: string;
  • Type: string

kmsKeyServiceAccountInputOptional
public readonly kmsKeyServiceAccountInput: string;
  • Type: string

rawKeyInputOptional
public readonly rawKeyInput: string;
  • Type: string

rsaEncryptedKeyInputOptional
public readonly rsaEncryptedKeyInput: string;
  • Type: string

kmsKeySelfLinkRequired
public readonly kmsKeySelfLink: string;
  • Type: string

kmsKeyServiceAccountRequired
public readonly kmsKeyServiceAccount: string;
  • Type: string

rawKeyRequired
public readonly rawKey: string;
  • Type: string

rsaEncryptedKeyRequired
public readonly rsaEncryptedKey: string;
  • Type: string

internalValueOptional
public readonly internalValue: ComputeDiskDiskEncryptionKey;

ComputeDiskGuestOsFeaturesList

Initializers

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

new computeDisk.ComputeDiskGuestOsFeaturesList(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): ComputeDiskGuestOsFeaturesOutputReference
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 | ComputeDiskGuestOsFeatures[] 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 | ComputeDiskGuestOsFeatures[];

ComputeDiskGuestOsFeaturesOutputReference

Initializers

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

new computeDisk.ComputeDiskGuestOsFeaturesOutputReference(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.

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.

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.
typeInput string No description.
type string No description.
internalValue cdktf.IResolvable | ComputeDiskGuestOsFeatures 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

typeInputOptional
public readonly typeInput: string;
  • Type: string

typeRequired
public readonly type: string;
  • Type: string

internalValueOptional
public readonly internalValue: IResolvable | ComputeDiskGuestOsFeatures;

ComputeDiskParamsOutputReference

Initializers

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

new computeDisk.ComputeDiskParamsOutputReference(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.
resetResourceManagerTags 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.

resetResourceManagerTags
public resetResourceManagerTags(): 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.
resourceManagerTagsInput {[ key: string ]: string} No description.
resourceManagerTags {[ key: string ]: string} No description.
internalValue ComputeDiskParams 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

resourceManagerTagsInputOptional
public readonly resourceManagerTagsInput: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

resourceManagerTagsRequired
public readonly resourceManagerTags: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

internalValueOptional
public readonly internalValue: ComputeDiskParams;

ComputeDiskSourceImageEncryptionKeyOutputReference

Initializers

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

new computeDisk.ComputeDiskSourceImageEncryptionKeyOutputReference(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.
resetKmsKeySelfLink No description.
resetKmsKeyServiceAccount No description.
resetRawKey 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.

resetKmsKeySelfLink
public resetKmsKeySelfLink(): void
resetKmsKeyServiceAccount
public resetKmsKeyServiceAccount(): void
resetRawKey
public resetRawKey(): 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.
sha256 string No description.
kmsKeySelfLinkInput string No description.
kmsKeyServiceAccountInput string No description.
rawKeyInput string No description.
kmsKeySelfLink string No description.
kmsKeyServiceAccount string No description.
rawKey string No description.
internalValue ComputeDiskSourceImageEncryptionKey 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

sha256Required
public readonly sha256: string;
  • Type: string

kmsKeySelfLinkInputOptional
public readonly kmsKeySelfLinkInput: string;
  • Type: string

kmsKeyServiceAccountInputOptional
public readonly kmsKeyServiceAccountInput: string;
  • Type: string

rawKeyInputOptional
public readonly rawKeyInput: string;
  • Type: string

kmsKeySelfLinkRequired
public readonly kmsKeySelfLink: string;
  • Type: string

kmsKeyServiceAccountRequired
public readonly kmsKeyServiceAccount: string;
  • Type: string

rawKeyRequired
public readonly rawKey: string;
  • Type: string

internalValueOptional
public readonly internalValue: ComputeDiskSourceImageEncryptionKey;

ComputeDiskSourceSnapshotEncryptionKeyOutputReference

Initializers

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

new computeDisk.ComputeDiskSourceSnapshotEncryptionKeyOutputReference(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.
resetKmsKeySelfLink No description.
resetKmsKeyServiceAccount No description.
resetRawKey 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.

resetKmsKeySelfLink
public resetKmsKeySelfLink(): void
resetKmsKeyServiceAccount
public resetKmsKeyServiceAccount(): void
resetRawKey
public resetRawKey(): 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.
sha256 string No description.
kmsKeySelfLinkInput string No description.
kmsKeyServiceAccountInput string No description.
rawKeyInput string No description.
kmsKeySelfLink string No description.
kmsKeyServiceAccount string No description.
rawKey string No description.
internalValue ComputeDiskSourceSnapshotEncryptionKey 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

sha256Required
public readonly sha256: string;
  • Type: string

kmsKeySelfLinkInputOptional
public readonly kmsKeySelfLinkInput: string;
  • Type: string

kmsKeyServiceAccountInputOptional
public readonly kmsKeyServiceAccountInput: string;
  • Type: string

rawKeyInputOptional
public readonly rawKeyInput: string;
  • Type: string

kmsKeySelfLinkRequired
public readonly kmsKeySelfLink: string;
  • Type: string

kmsKeyServiceAccountRequired
public readonly kmsKeyServiceAccount: string;
  • Type: string

rawKeyRequired
public readonly rawKey: string;
  • Type: string

internalValueOptional
public readonly internalValue: ComputeDiskSourceSnapshotEncryptionKey;

ComputeDiskTimeoutsOutputReference

Initializers

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

new computeDisk.ComputeDiskTimeoutsOutputReference(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 | ComputeDiskTimeouts 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 | ComputeDiskTimeouts;