Skip to content

Files

Latest commit

 

History

History
8451 lines (5381 loc) · 373 KB
·

computeImage.python.md

File metadata and controls

8451 lines (5381 loc) · 373 KB
·

computeImage Submodule

Constructs

ComputeImage

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

Initializers

from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImage(
  scope: Construct,
  id: str,
  connection: typing.Union[SSHProvisionerConnection, WinrmProvisionerConnection] = None,
  count: typing.Union[typing.Union[int, float], TerraformCount] = None,
  depends_on: typing.List[ITerraformDependable] = None,
  for_each: ITerraformIterator = None,
  lifecycle: TerraformResourceLifecycle = None,
  provider: TerraformProvider = None,
  provisioners: typing.List[typing.Union[FileProvisioner, LocalExecProvisioner, RemoteExecProvisioner]] = None,
  name: str,
  description: str = None,
  disk_size_gb: typing.Union[int, float] = None,
  family: str = None,
  guest_os_features: typing.Union[IResolvable, typing.List[ComputeImageGuestOsFeatures]] = None,
  id: str = None,
  image_encryption_key: ComputeImageImageEncryptionKey = None,
  labels: typing.Mapping[str] = None,
  licenses: typing.List[str] = None,
  project: str = None,
  raw_disk: ComputeImageRawDisk = None,
  shielded_instance_initial_state: ComputeImageShieldedInstanceInitialState = None,
  source_disk: str = None,
  source_disk_encryption_key: ComputeImageSourceDiskEncryptionKey = None,
  source_image: str = None,
  source_image_encryption_key: ComputeImageSourceImageEncryptionKey = None,
  source_snapshot: str = None,
  source_snapshot_encryption_key: ComputeImageSourceSnapshotEncryptionKey = None,
  storage_locations: typing.List[str] = None,
  timeouts: ComputeImageTimeouts = None
)
Name Type Description
scope constructs.Construct The scope in which to define this construct.
id str The scoped construct ID.
connection typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection] No description.
count typing.Union[typing.Union[int, float], cdktf.TerraformCount] No description.
depends_on typing.List[cdktf.ITerraformDependable] No description.
for_each cdktf.ITerraformIterator No description.
lifecycle cdktf.TerraformResourceLifecycle No description.
provider cdktf.TerraformProvider No description.
provisioners typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]] No description.
name str Name of the resource;
description str An optional description of this resource. Provide this property when you create the resource.
disk_size_gb typing.Union[int, float] Size of the image when restored onto a persistent disk (in GB).
family str The name of the image family to which this image belongs.
guest_os_features typing.Union[cdktf.IResolvable, typing.List[ComputeImageGuestOsFeatures]] guest_os_features block.
id str Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#id ComputeImage#id}.
image_encryption_key ComputeImageImageEncryptionKey image_encryption_key block.
labels typing.Mapping[str] Labels to apply to this Image.
licenses typing.List[str] Any applicable license URI.
project str Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#project ComputeImage#project}.
raw_disk ComputeImageRawDisk raw_disk block.
shielded_instance_initial_state ComputeImageShieldedInstanceInitialState shielded_instance_initial_state block.
source_disk str The source disk to create this image based on.
source_disk_encryption_key ComputeImageSourceDiskEncryptionKey source_disk_encryption_key block.
source_image str URL of the source image used to create this image.
source_image_encryption_key ComputeImageSourceImageEncryptionKey source_image_encryption_key block.
source_snapshot str URL of the source snapshot used to create this image.
source_snapshot_encryption_key ComputeImageSourceSnapshotEncryptionKey source_snapshot_encryption_key block.
storage_locations typing.List[str] Cloud Storage bucket storage location of the image (regional or multi-regional). Reference link: https://cloud.google.com/compute/docs/reference/rest/v1/images.
timeouts ComputeImageTimeouts timeouts block.

scopeRequired
  • Type: constructs.Construct

The scope in which to define this construct.


idRequired
  • Type: str

The scoped construct ID.

Must be unique amongst siblings in the same scope


connectionOptional
  • Type: typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection]

countOptional
  • Type: typing.Union[typing.Union[int, float], cdktf.TerraformCount]

depends_onOptional
  • Type: typing.List[cdktf.ITerraformDependable]

for_eachOptional
  • Type: cdktf.ITerraformIterator

lifecycleOptional
  • Type: cdktf.TerraformResourceLifecycle

providerOptional
  • Type: cdktf.TerraformProvider

provisionersOptional
  • Type: typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]]

nameRequired
  • Type: str

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.37.0/docs/resources/compute_image#name ComputeImage#name}


descriptionOptional
  • Type: str

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.37.0/docs/resources/compute_image#description ComputeImage#description}


disk_size_gbOptional
  • Type: typing.Union[int, float]

Size of the image when restored onto a persistent disk (in GB).

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#disk_size_gb ComputeImage#disk_size_gb}


familyOptional
  • Type: str

The name of the image family to which this image belongs.

You can create disks by specifying an image family instead of a specific image name. The image family always returns its latest image that is not deprecated. The name of the image family must comply with RFC1035.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#family ComputeImage#family}


guest_os_featuresOptional

guest_os_features block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#guest_os_features ComputeImage#guest_os_features}


idOptional
  • Type: str

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


image_encryption_keyOptional

image_encryption_key block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#image_encryption_key ComputeImage#image_encryption_key}


labelsOptional
  • Type: typing.Mapping[str]

Labels to apply to this Image.

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.37.0/docs/resources/compute_image#labels ComputeImage#labels}


licensesOptional
  • Type: typing.List[str]

Any applicable license URI.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#licenses ComputeImage#licenses}


projectOptional
  • Type: str

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


raw_diskOptional

raw_disk block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#raw_disk ComputeImage#raw_disk}


shielded_instance_initial_stateOptional

shielded_instance_initial_state block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#shielded_instance_initial_state ComputeImage#shielded_instance_initial_state}


source_diskOptional
  • Type: str

The source disk to create this image based on.

You must provide either this property or the rawDisk.source property but not both to create an image.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#source_disk ComputeImage#source_disk}


source_disk_encryption_keyOptional

source_disk_encryption_key block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#source_disk_encryption_key ComputeImage#source_disk_encryption_key}


source_imageOptional
  • Type: str

URL of the source image used to create this image.

In order to create an image, you must provide the full or partial URL of one of the following:

  • The selfLink URL
  • This property
  • The rawDisk.source URL
  • The sourceDisk URL

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#source_image ComputeImage#source_image}


source_image_encryption_keyOptional

source_image_encryption_key block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#source_image_encryption_key ComputeImage#source_image_encryption_key}


source_snapshotOptional
  • Type: str

URL of the source snapshot used to create this image.

In order to create an image, you must provide the full or partial URL of one of the following:

  • The selfLink URL
  • This property
  • The sourceImage URL
  • The rawDisk.source URL
  • The sourceDisk URL

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#source_snapshot ComputeImage#source_snapshot}


source_snapshot_encryption_keyOptional

source_snapshot_encryption_key block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#source_snapshot_encryption_key ComputeImage#source_snapshot_encryption_key}


storage_locationsOptional
  • Type: typing.List[str]

Cloud Storage bucket storage location of the image (regional or multi-regional). Reference link: https://cloud.google.com/compute/docs/reference/rest/v1/images.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#storage_locations ComputeImage#storage_locations}


timeoutsOptional

timeouts block.

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


Methods

Name Description
to_string Returns a string representation of this construct.
add_override No description.
override_logical_id Overrides the auto-generated logical ID with a specific ID.
reset_override_logical_id Resets a previously passed logical Id to use the auto-generated logical id again.
to_hcl_terraform No description.
to_metadata No description.
to_terraform Adds this resource to the terraform JSON output.
add_move_target Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
get_any_map_attribute No description.
get_boolean_attribute No description.
get_boolean_map_attribute No description.
get_list_attribute No description.
get_number_attribute No description.
get_number_list_attribute No description.
get_number_map_attribute No description.
get_string_attribute No description.
get_string_map_attribute No description.
has_resource_move No description.
import_from No description.
interpolation_for_attribute No description.
move_from_id Move the resource corresponding to "id" to this resource.
move_to Moves this resource to the target resource given by moveTarget.
move_to_id Moves this resource to the resource corresponding to "id".
put_guest_os_features No description.
put_image_encryption_key No description.
put_raw_disk No description.
put_shielded_instance_initial_state No description.
put_source_disk_encryption_key No description.
put_source_image_encryption_key No description.
put_source_snapshot_encryption_key No description.
put_timeouts No description.
reset_description No description.
reset_disk_size_gb No description.
reset_family No description.
reset_guest_os_features No description.
reset_id No description.
reset_image_encryption_key No description.
reset_labels No description.
reset_licenses No description.
reset_project No description.
reset_raw_disk No description.
reset_shielded_instance_initial_state No description.
reset_source_disk No description.
reset_source_disk_encryption_key No description.
reset_source_image No description.
reset_source_image_encryption_key No description.
reset_source_snapshot No description.
reset_source_snapshot_encryption_key No description.
reset_storage_locations No description.
reset_timeouts No description.

to_string
def to_string() -> str

Returns a string representation of this construct.

add_override
def add_override(
  path: str,
  value: typing.Any
) -> None
pathRequired
  • Type: str

valueRequired
  • Type: typing.Any

override_logical_id
def override_logical_id(
  new_logical_id: str
) -> None

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

new_logical_idRequired
  • Type: str

The new logical ID to use for this stack element.


reset_override_logical_id
def reset_override_logical_id() -> None

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

to_hcl_terraform
def to_hcl_terraform() -> typing.Any
to_metadata
def to_metadata() -> typing.Any
to_terraform
def to_terraform() -> typing.Any

Adds this resource to the terraform JSON output.

add_move_target
def add_move_target(
  move_target: str
) -> None

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

move_targetRequired
  • Type: str

The string move target that will correspond to this resource.


get_any_map_attribute
def get_any_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Any]
terraform_attributeRequired
  • Type: str

get_boolean_attribute
def get_boolean_attribute(
  terraform_attribute: str
) -> IResolvable
terraform_attributeRequired
  • Type: str

get_boolean_map_attribute
def get_boolean_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[bool]
terraform_attributeRequired
  • Type: str

get_list_attribute
def get_list_attribute(
  terraform_attribute: str
) -> typing.List[str]
terraform_attributeRequired
  • Type: str

get_number_attribute
def get_number_attribute(
  terraform_attribute: str
) -> typing.Union[int, float]
terraform_attributeRequired
  • Type: str

get_number_list_attribute
def get_number_list_attribute(
  terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_number_map_attribute
def get_number_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_string_attribute
def get_string_attribute(
  terraform_attribute: str
) -> str
terraform_attributeRequired
  • Type: str

get_string_map_attribute
def get_string_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[str]
terraform_attributeRequired
  • Type: str

has_resource_move
def has_resource_move() -> typing.Union[TerraformResourceMoveByTarget, TerraformResourceMoveById]
import_from
def import_from(
  id: str,
  provider: TerraformProvider = None
) -> None
idRequired
  • Type: str

providerOptional
  • Type: cdktf.TerraformProvider

interpolation_for_attribute
def interpolation_for_attribute(
  terraform_attribute: str
) -> IResolvable
terraform_attributeRequired
  • Type: str

move_from_id
def move_from_id(
  id: str
) -> None

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: str

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


move_to
def move_to(
  move_target: str,
  index: typing.Union[str, typing.Union[int, float]] = None
) -> None

Moves this resource to the target resource given by moveTarget.

move_targetRequired
  • Type: str

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


indexOptional
  • Type: typing.Union[str, typing.Union[int, float]]

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


move_to_id
def move_to_id(
  id: str
) -> None

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

idRequired
  • Type: str

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


put_guest_os_features
def put_guest_os_features(
  value: typing.Union[IResolvable, typing.List[ComputeImageGuestOsFeatures]]
) -> None
valueRequired

put_image_encryption_key
def put_image_encryption_key(
  kms_key_self_link: str = None,
  kms_key_service_account: str = None,
  raw_key: str = None,
  rsa_encrypted_key: str = None
) -> None
kms_key_self_linkOptional
  • Type: str

The self link of the encryption key that is stored in Google Cloud KMS.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#kms_key_self_link ComputeImage#kms_key_self_link}


kms_key_service_accountOptional
  • Type: str

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

If absent, the Compute Engine default service account is used.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#kms_key_service_account ComputeImage#kms_key_service_account}


raw_keyOptional
  • Type: str

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.37.0/docs/resources/compute_image#raw_key ComputeImage#raw_key}


rsa_encrypted_keyOptional
  • Type: str

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.37.0/docs/resources/compute_image#rsa_encrypted_key ComputeImage#rsa_encrypted_key}


put_raw_disk
def put_raw_disk(
  source: str,
  container_type: str = None,
  sha1: str = None
) -> None
sourceRequired
  • Type: str

The full Google Cloud Storage URL where disk storage is stored You must provide either this property or the sourceDisk property but not both.

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


container_typeOptional
  • Type: str

The format used to encode and transmit the block device, which should be TAR.

This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created. Default value: "TAR" Possible values: ["TAR"]

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#container_type ComputeImage#container_type}


sha1Optional
  • Type: str

An optional SHA1 checksum of the disk image before unpackaging.

This is provided by the client when the disk image is created.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#sha1 ComputeImage#sha1}


put_shielded_instance_initial_state
def put_shielded_instance_initial_state(
  dbs: typing.Union[IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateDbs]] = None,
  dbxs: typing.Union[IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateDbxs]] = None,
  keks: typing.Union[IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateKeks]] = None,
  pk: ComputeImageShieldedInstanceInitialStatePk = None
) -> None
dbsOptional

dbs block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#dbs ComputeImage#dbs}


dbxsOptional

dbxs block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#dbxs ComputeImage#dbxs}


keksOptional

keks block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#keks ComputeImage#keks}


pkOptional

pk block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#pk ComputeImage#pk}


put_source_disk_encryption_key
def put_source_disk_encryption_key(
  kms_key_self_link: str = None,
  kms_key_service_account: str = None,
  raw_key: str = None,
  rsa_encrypted_key: str = None
) -> None
kms_key_self_linkOptional
  • Type: str

The self link of the encryption key used to decrypt this resource.

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.37.0/docs/resources/compute_image#kms_key_self_link ComputeImage#kms_key_self_link}


kms_key_service_accountOptional
  • Type: str

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

If absent, the Compute Engine default service account is used.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#kms_key_service_account ComputeImage#kms_key_service_account}


raw_keyOptional
  • Type: str

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.37.0/docs/resources/compute_image#raw_key ComputeImage#raw_key}


rsa_encrypted_keyOptional
  • Type: str

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.37.0/docs/resources/compute_image#rsa_encrypted_key ComputeImage#rsa_encrypted_key}


put_source_image_encryption_key
def put_source_image_encryption_key(
  kms_key_self_link: str = None,
  kms_key_service_account: str = None,
  raw_key: str = None,
  rsa_encrypted_key: str = None
) -> None
kms_key_self_linkOptional
  • Type: str

The self link of the encryption key used to decrypt this resource.

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.37.0/docs/resources/compute_image#kms_key_self_link ComputeImage#kms_key_self_link}


kms_key_service_accountOptional
  • Type: str

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

If absent, the Compute Engine default service account is used.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#kms_key_service_account ComputeImage#kms_key_service_account}


raw_keyOptional
  • Type: str

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.37.0/docs/resources/compute_image#raw_key ComputeImage#raw_key}


rsa_encrypted_keyOptional
  • Type: str

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.37.0/docs/resources/compute_image#rsa_encrypted_key ComputeImage#rsa_encrypted_key}


put_source_snapshot_encryption_key
def put_source_snapshot_encryption_key(
  kms_key_self_link: str = None,
  kms_key_service_account: str = None,
  raw_key: str = None,
  rsa_encrypted_key: str = None
) -> None
kms_key_self_linkOptional
  • Type: str

The self link of the encryption key used to decrypt this resource.

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.37.0/docs/resources/compute_image#kms_key_self_link ComputeImage#kms_key_self_link}


kms_key_service_accountOptional
  • Type: str

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

If absent, the Compute Engine default service account is used.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#kms_key_service_account ComputeImage#kms_key_service_account}


raw_keyOptional
  • Type: str

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.37.0/docs/resources/compute_image#raw_key ComputeImage#raw_key}


rsa_encrypted_keyOptional
  • Type: str

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.37.0/docs/resources/compute_image#rsa_encrypted_key ComputeImage#rsa_encrypted_key}


put_timeouts
def put_timeouts(
  create: str = None,
  delete: str = None,
  update: str = None
) -> None
createOptional
  • Type: str

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


deleteOptional
  • Type: str

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


updateOptional
  • Type: str

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


reset_description
def reset_description() -> None
reset_disk_size_gb
def reset_disk_size_gb() -> None
reset_family
def reset_family() -> None
reset_guest_os_features
def reset_guest_os_features() -> None
reset_id
def reset_id() -> None
reset_image_encryption_key
def reset_image_encryption_key() -> None
reset_labels
def reset_labels() -> None
reset_licenses
def reset_licenses() -> None
reset_project
def reset_project() -> None
reset_raw_disk
def reset_raw_disk() -> None
reset_shielded_instance_initial_state
def reset_shielded_instance_initial_state() -> None
reset_source_disk
def reset_source_disk() -> None
reset_source_disk_encryption_key
def reset_source_disk_encryption_key() -> None
reset_source_image
def reset_source_image() -> None
reset_source_image_encryption_key
def reset_source_image_encryption_key() -> None
reset_source_snapshot
def reset_source_snapshot() -> None
reset_source_snapshot_encryption_key
def reset_source_snapshot_encryption_key() -> None
reset_storage_locations
def reset_storage_locations() -> None
reset_timeouts
def reset_timeouts() -> None

Static Functions

Name Description
is_construct Checks if x is a construct.
is_terraform_element No description.
is_terraform_resource No description.
generate_config_for_import Generates CDKTF code for importing a ComputeImage resource upon running "cdktf plan ".

is_construct
from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImage.is_construct(
  x: typing.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: typing.Any

Any object.


is_terraform_element
from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImage.is_terraform_element(
  x: typing.Any
)
xRequired
  • Type: typing.Any

is_terraform_resource
from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImage.is_terraform_resource(
  x: typing.Any
)
xRequired
  • Type: typing.Any

generate_config_for_import
from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImage.generate_config_for_import(
  scope: Construct,
  import_to_id: str,
  import_from_id: str,
  provider: TerraformProvider = None
)

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

scopeRequired
  • Type: constructs.Construct

The scope in which to define this construct.


import_to_idRequired
  • Type: str

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


import_from_idRequired
  • Type: str

The id of the existing ComputeImage that should be imported.

Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#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 ComputeImage to import is found.


Properties

Name Type Description
node constructs.Node The tree node.
cdktf_stack cdktf.TerraformStack No description.
fqn str No description.
friendly_unique_id str No description.
terraform_meta_arguments typing.Mapping[typing.Any] No description.
terraform_resource_type str No description.
terraform_generator_metadata cdktf.TerraformProviderGeneratorMetadata No description.
connection typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection] No description.
count typing.Union[typing.Union[int, float], cdktf.TerraformCount] No description.
depends_on typing.List[str] No description.
for_each cdktf.ITerraformIterator No description.
lifecycle cdktf.TerraformResourceLifecycle No description.
provider cdktf.TerraformProvider No description.
provisioners typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]] No description.
archive_size_bytes typing.Union[int, float] No description.
creation_timestamp str No description.
effective_labels cdktf.StringMap No description.
guest_os_features ComputeImageGuestOsFeaturesList No description.
image_encryption_key ComputeImageImageEncryptionKeyOutputReference No description.
label_fingerprint str No description.
raw_disk ComputeImageRawDiskOutputReference No description.
self_link str No description.
shielded_instance_initial_state ComputeImageShieldedInstanceInitialStateOutputReference No description.
source_disk_encryption_key ComputeImageSourceDiskEncryptionKeyOutputReference No description.
source_image_encryption_key ComputeImageSourceImageEncryptionKeyOutputReference No description.
source_snapshot_encryption_key ComputeImageSourceSnapshotEncryptionKeyOutputReference No description.
terraform_labels cdktf.StringMap No description.
timeouts ComputeImageTimeoutsOutputReference No description.
description_input str No description.
disk_size_gb_input typing.Union[int, float] No description.
family_input str No description.
guest_os_features_input typing.Union[cdktf.IResolvable, typing.List[ComputeImageGuestOsFeatures]] No description.
id_input str No description.
image_encryption_key_input ComputeImageImageEncryptionKey No description.
labels_input typing.Mapping[str] No description.
licenses_input typing.List[str] No description.
name_input str No description.
project_input str No description.
raw_disk_input ComputeImageRawDisk No description.
shielded_instance_initial_state_input ComputeImageShieldedInstanceInitialState No description.
source_disk_encryption_key_input ComputeImageSourceDiskEncryptionKey No description.
source_disk_input str No description.
source_image_encryption_key_input ComputeImageSourceImageEncryptionKey No description.
source_image_input str No description.
source_snapshot_encryption_key_input ComputeImageSourceSnapshotEncryptionKey No description.
source_snapshot_input str No description.
storage_locations_input typing.List[str] No description.
timeouts_input typing.Union[cdktf.IResolvable, ComputeImageTimeouts] No description.
description str No description.
disk_size_gb typing.Union[int, float] No description.
family str No description.
id str No description.
labels typing.Mapping[str] No description.
licenses typing.List[str] No description.
name str No description.
project str No description.
source_disk str No description.
source_image str No description.
source_snapshot str No description.
storage_locations typing.List[str] No description.

nodeRequired
node: Node
  • Type: constructs.Node

The tree node.


cdktf_stackRequired
cdktf_stack: TerraformStack
  • Type: cdktf.TerraformStack

fqnRequired
fqn: str
  • Type: str

friendly_unique_idRequired
friendly_unique_id: str
  • Type: str

terraform_meta_argumentsRequired
terraform_meta_arguments: typing.Mapping[typing.Any]
  • Type: typing.Mapping[typing.Any]

terraform_resource_typeRequired
terraform_resource_type: str
  • Type: str

terraform_generator_metadataOptional
terraform_generator_metadata: TerraformProviderGeneratorMetadata
  • Type: cdktf.TerraformProviderGeneratorMetadata

connectionOptional
connection: typing.Union[SSHProvisionerConnection, WinrmProvisionerConnection]
  • Type: typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection]

countOptional
count: typing.Union[typing.Union[int, float], TerraformCount]
  • Type: typing.Union[typing.Union[int, float], cdktf.TerraformCount]

depends_onOptional
depends_on: typing.List[str]
  • Type: typing.List[str]

for_eachOptional
for_each: ITerraformIterator
  • Type: cdktf.ITerraformIterator

lifecycleOptional
lifecycle: TerraformResourceLifecycle
  • Type: cdktf.TerraformResourceLifecycle

providerOptional
provider: TerraformProvider
  • Type: cdktf.TerraformProvider

provisionersOptional
provisioners: typing.List[typing.Union[FileProvisioner, LocalExecProvisioner, RemoteExecProvisioner]]
  • Type: typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]]

archive_size_bytesRequired
archive_size_bytes: typing.Union[int, float]
  • Type: typing.Union[int, float]

creation_timestampRequired
creation_timestamp: str
  • Type: str

effective_labelsRequired
effective_labels: StringMap
  • Type: cdktf.StringMap

guest_os_featuresRequired
guest_os_features: ComputeImageGuestOsFeaturesList

image_encryption_keyRequired
image_encryption_key: ComputeImageImageEncryptionKeyOutputReference

label_fingerprintRequired
label_fingerprint: str
  • Type: str

raw_diskRequired
raw_disk: ComputeImageRawDiskOutputReference

self_linkRequired
self_link: str
  • Type: str

shielded_instance_initial_stateRequired
shielded_instance_initial_state: ComputeImageShieldedInstanceInitialStateOutputReference

source_disk_encryption_keyRequired
source_disk_encryption_key: ComputeImageSourceDiskEncryptionKeyOutputReference

source_image_encryption_keyRequired
source_image_encryption_key: ComputeImageSourceImageEncryptionKeyOutputReference

source_snapshot_encryption_keyRequired
source_snapshot_encryption_key: ComputeImageSourceSnapshotEncryptionKeyOutputReference

terraform_labelsRequired
terraform_labels: StringMap
  • Type: cdktf.StringMap

timeoutsRequired
timeouts: ComputeImageTimeoutsOutputReference

description_inputOptional
description_input: str
  • Type: str

disk_size_gb_inputOptional
disk_size_gb_input: typing.Union[int, float]
  • Type: typing.Union[int, float]

family_inputOptional
family_input: str
  • Type: str

guest_os_features_inputOptional
guest_os_features_input: typing.Union[IResolvable, typing.List[ComputeImageGuestOsFeatures]]

id_inputOptional
id_input: str
  • Type: str

image_encryption_key_inputOptional
image_encryption_key_input: ComputeImageImageEncryptionKey

labels_inputOptional
labels_input: typing.Mapping[str]
  • Type: typing.Mapping[str]

licenses_inputOptional
licenses_input: typing.List[str]
  • Type: typing.List[str]

name_inputOptional
name_input: str
  • Type: str

project_inputOptional
project_input: str
  • Type: str

raw_disk_inputOptional
raw_disk_input: ComputeImageRawDisk

shielded_instance_initial_state_inputOptional
shielded_instance_initial_state_input: ComputeImageShieldedInstanceInitialState

source_disk_encryption_key_inputOptional
source_disk_encryption_key_input: ComputeImageSourceDiskEncryptionKey

source_disk_inputOptional
source_disk_input: str
  • Type: str

source_image_encryption_key_inputOptional
source_image_encryption_key_input: ComputeImageSourceImageEncryptionKey

source_image_inputOptional
source_image_input: str
  • Type: str

source_snapshot_encryption_key_inputOptional
source_snapshot_encryption_key_input: ComputeImageSourceSnapshotEncryptionKey

source_snapshot_inputOptional
source_snapshot_input: str
  • Type: str

storage_locations_inputOptional
storage_locations_input: typing.List[str]
  • Type: typing.List[str]

timeouts_inputOptional
timeouts_input: typing.Union[IResolvable, ComputeImageTimeouts]

descriptionRequired
description: str
  • Type: str

disk_size_gbRequired
disk_size_gb: typing.Union[int, float]
  • Type: typing.Union[int, float]

familyRequired
family: str
  • Type: str

idRequired
id: str
  • Type: str

labelsRequired
labels: typing.Mapping[str]
  • Type: typing.Mapping[str]

licensesRequired
licenses: typing.List[str]
  • Type: typing.List[str]

nameRequired
name: str
  • Type: str

projectRequired
project: str
  • Type: str

source_diskRequired
source_disk: str
  • Type: str

source_imageRequired
source_image: str
  • Type: str

source_snapshotRequired
source_snapshot: str
  • Type: str

storage_locationsRequired
storage_locations: typing.List[str]
  • Type: typing.List[str]

Constants

Name Type Description
tfResourceType str No description.

tfResourceTypeRequired
tfResourceType: str
  • Type: str

Structs

ComputeImageConfig

Initializer

from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImageConfig(
  connection: typing.Union[SSHProvisionerConnection, WinrmProvisionerConnection] = None,
  count: typing.Union[typing.Union[int, float], TerraformCount] = None,
  depends_on: typing.List[ITerraformDependable] = None,
  for_each: ITerraformIterator = None,
  lifecycle: TerraformResourceLifecycle = None,
  provider: TerraformProvider = None,
  provisioners: typing.List[typing.Union[FileProvisioner, LocalExecProvisioner, RemoteExecProvisioner]] = None,
  name: str,
  description: str = None,
  disk_size_gb: typing.Union[int, float] = None,
  family: str = None,
  guest_os_features: typing.Union[IResolvable, typing.List[ComputeImageGuestOsFeatures]] = None,
  id: str = None,
  image_encryption_key: ComputeImageImageEncryptionKey = None,
  labels: typing.Mapping[str] = None,
  licenses: typing.List[str] = None,
  project: str = None,
  raw_disk: ComputeImageRawDisk = None,
  shielded_instance_initial_state: ComputeImageShieldedInstanceInitialState = None,
  source_disk: str = None,
  source_disk_encryption_key: ComputeImageSourceDiskEncryptionKey = None,
  source_image: str = None,
  source_image_encryption_key: ComputeImageSourceImageEncryptionKey = None,
  source_snapshot: str = None,
  source_snapshot_encryption_key: ComputeImageSourceSnapshotEncryptionKey = None,
  storage_locations: typing.List[str] = None,
  timeouts: ComputeImageTimeouts = None
)

Properties

Name Type Description
connection typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection] No description.
count typing.Union[typing.Union[int, float], cdktf.TerraformCount] No description.
depends_on typing.List[cdktf.ITerraformDependable] No description.
for_each cdktf.ITerraformIterator No description.
lifecycle cdktf.TerraformResourceLifecycle No description.
provider cdktf.TerraformProvider No description.
provisioners typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]] No description.
name str Name of the resource;
description str An optional description of this resource. Provide this property when you create the resource.
disk_size_gb typing.Union[int, float] Size of the image when restored onto a persistent disk (in GB).
family str The name of the image family to which this image belongs.
guest_os_features typing.Union[cdktf.IResolvable, typing.List[ComputeImageGuestOsFeatures]] guest_os_features block.
id str Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#id ComputeImage#id}.
image_encryption_key ComputeImageImageEncryptionKey image_encryption_key block.
labels typing.Mapping[str] Labels to apply to this Image.
licenses typing.List[str] Any applicable license URI.
project str Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#project ComputeImage#project}.
raw_disk ComputeImageRawDisk raw_disk block.
shielded_instance_initial_state ComputeImageShieldedInstanceInitialState shielded_instance_initial_state block.
source_disk str The source disk to create this image based on.
source_disk_encryption_key ComputeImageSourceDiskEncryptionKey source_disk_encryption_key block.
source_image str URL of the source image used to create this image.
source_image_encryption_key ComputeImageSourceImageEncryptionKey source_image_encryption_key block.
source_snapshot str URL of the source snapshot used to create this image.
source_snapshot_encryption_key ComputeImageSourceSnapshotEncryptionKey source_snapshot_encryption_key block.
storage_locations typing.List[str] Cloud Storage bucket storage location of the image (regional or multi-regional). Reference link: https://cloud.google.com/compute/docs/reference/rest/v1/images.
timeouts ComputeImageTimeouts timeouts block.

connectionOptional
connection: typing.Union[SSHProvisionerConnection, WinrmProvisionerConnection]
  • Type: typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection]

countOptional
count: typing.Union[typing.Union[int, float], TerraformCount]
  • Type: typing.Union[typing.Union[int, float], cdktf.TerraformCount]

depends_onOptional
depends_on: typing.List[ITerraformDependable]
  • Type: typing.List[cdktf.ITerraformDependable]

for_eachOptional
for_each: ITerraformIterator
  • Type: cdktf.ITerraformIterator

lifecycleOptional
lifecycle: TerraformResourceLifecycle
  • Type: cdktf.TerraformResourceLifecycle

providerOptional
provider: TerraformProvider
  • Type: cdktf.TerraformProvider

provisionersOptional
provisioners: typing.List[typing.Union[FileProvisioner, LocalExecProvisioner, RemoteExecProvisioner]]
  • Type: typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]]

nameRequired
name: str
  • Type: str

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.37.0/docs/resources/compute_image#name ComputeImage#name}


descriptionOptional
description: str
  • Type: str

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.37.0/docs/resources/compute_image#description ComputeImage#description}


disk_size_gbOptional
disk_size_gb: typing.Union[int, float]
  • Type: typing.Union[int, float]

Size of the image when restored onto a persistent disk (in GB).

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#disk_size_gb ComputeImage#disk_size_gb}


familyOptional
family: str
  • Type: str

The name of the image family to which this image belongs.

You can create disks by specifying an image family instead of a specific image name. The image family always returns its latest image that is not deprecated. The name of the image family must comply with RFC1035.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#family ComputeImage#family}


guest_os_featuresOptional
guest_os_features: typing.Union[IResolvable, typing.List[ComputeImageGuestOsFeatures]]

guest_os_features block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#guest_os_features ComputeImage#guest_os_features}


idOptional
id: str
  • Type: str

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


image_encryption_keyOptional
image_encryption_key: ComputeImageImageEncryptionKey

image_encryption_key block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#image_encryption_key ComputeImage#image_encryption_key}


labelsOptional
labels: typing.Mapping[str]
  • Type: typing.Mapping[str]

Labels to apply to this Image.

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.37.0/docs/resources/compute_image#labels ComputeImage#labels}


licensesOptional
licenses: typing.List[str]
  • Type: typing.List[str]

Any applicable license URI.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#licenses ComputeImage#licenses}


projectOptional
project: str
  • Type: str

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


raw_diskOptional
raw_disk: ComputeImageRawDisk

raw_disk block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#raw_disk ComputeImage#raw_disk}


shielded_instance_initial_stateOptional
shielded_instance_initial_state: ComputeImageShieldedInstanceInitialState

shielded_instance_initial_state block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#shielded_instance_initial_state ComputeImage#shielded_instance_initial_state}


source_diskOptional
source_disk: str
  • Type: str

The source disk to create this image based on.

You must provide either this property or the rawDisk.source property but not both to create an image.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#source_disk ComputeImage#source_disk}


source_disk_encryption_keyOptional
source_disk_encryption_key: ComputeImageSourceDiskEncryptionKey

source_disk_encryption_key block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#source_disk_encryption_key ComputeImage#source_disk_encryption_key}


source_imageOptional
source_image: str
  • Type: str

URL of the source image used to create this image.

In order to create an image, you must provide the full or partial URL of one of the following:

  • The selfLink URL
  • This property
  • The rawDisk.source URL
  • The sourceDisk URL

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#source_image ComputeImage#source_image}


source_image_encryption_keyOptional
source_image_encryption_key: ComputeImageSourceImageEncryptionKey

source_image_encryption_key block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#source_image_encryption_key ComputeImage#source_image_encryption_key}


source_snapshotOptional
source_snapshot: str
  • Type: str

URL of the source snapshot used to create this image.

In order to create an image, you must provide the full or partial URL of one of the following:

  • The selfLink URL
  • This property
  • The sourceImage URL
  • The rawDisk.source URL
  • The sourceDisk URL

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#source_snapshot ComputeImage#source_snapshot}


source_snapshot_encryption_keyOptional
source_snapshot_encryption_key: ComputeImageSourceSnapshotEncryptionKey

source_snapshot_encryption_key block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#source_snapshot_encryption_key ComputeImage#source_snapshot_encryption_key}


storage_locationsOptional
storage_locations: typing.List[str]
  • Type: typing.List[str]

Cloud Storage bucket storage location of the image (regional or multi-regional). Reference link: https://cloud.google.com/compute/docs/reference/rest/v1/images.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#storage_locations ComputeImage#storage_locations}


timeoutsOptional
timeouts: ComputeImageTimeouts

timeouts block.

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


ComputeImageGuestOsFeatures

Initializer

from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImageGuestOsFeatures(
  type: str
)

Properties

Name Type Description
type str The type of supported feature.

typeRequired
type: str
  • Type: str

The type of supported feature.

Read Enabling guest operating system features to see a list of available options. Possible values: ["MULTI_IP_SUBNET", "SECURE_BOOT", "SEV_CAPABLE", "UEFI_COMPATIBLE", "VIRTIO_SCSI_MULTIQUEUE", "WINDOWS", "GVNIC", "IDPF", "SEV_LIVE_MIGRATABLE", "SEV_SNP_CAPABLE", "SUSPEND_RESUME_COMPATIBLE", "TDX_CAPABLE", "SEV_LIVE_MIGRATABLE_V2"]

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#type ComputeImage#type}


ComputeImageImageEncryptionKey

Initializer

from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImageImageEncryptionKey(
  kms_key_self_link: str = None,
  kms_key_service_account: str = None,
  raw_key: str = None,
  rsa_encrypted_key: str = None
)

Properties

Name Type Description
kms_key_self_link str The self link of the encryption key that is stored in Google Cloud KMS.
kms_key_service_account str The service account being used for the encryption request for the given KMS key.
raw_key str Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
rsa_encrypted_key str Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.

kms_key_self_linkOptional
kms_key_self_link: str
  • Type: str

The self link of the encryption key that is stored in Google Cloud KMS.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#kms_key_self_link ComputeImage#kms_key_self_link}


kms_key_service_accountOptional
kms_key_service_account: str
  • Type: str

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

If absent, the Compute Engine default service account is used.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#kms_key_service_account ComputeImage#kms_key_service_account}


raw_keyOptional
raw_key: str
  • Type: str

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.37.0/docs/resources/compute_image#raw_key ComputeImage#raw_key}


rsa_encrypted_keyOptional
rsa_encrypted_key: str
  • Type: str

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.37.0/docs/resources/compute_image#rsa_encrypted_key ComputeImage#rsa_encrypted_key}


ComputeImageRawDisk

Initializer

from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImageRawDisk(
  source: str,
  container_type: str = None,
  sha1: str = None
)

Properties

Name Type Description
source str The full Google Cloud Storage URL where disk storage is stored You must provide either this property or the sourceDisk property but not both.
container_type str The format used to encode and transmit the block device, which should be TAR.
sha1 str An optional SHA1 checksum of the disk image before unpackaging.

sourceRequired
source: str
  • Type: str

The full Google Cloud Storage URL where disk storage is stored You must provide either this property or the sourceDisk property but not both.

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


container_typeOptional
container_type: str
  • Type: str

The format used to encode and transmit the block device, which should be TAR.

This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created. Default value: "TAR" Possible values: ["TAR"]

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#container_type ComputeImage#container_type}


sha1Optional
sha1: str
  • Type: str

An optional SHA1 checksum of the disk image before unpackaging.

This is provided by the client when the disk image is created.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#sha1 ComputeImage#sha1}


ComputeImageShieldedInstanceInitialState

Initializer

from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImageShieldedInstanceInitialState(
  dbs: typing.Union[IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateDbs]] = None,
  dbxs: typing.Union[IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateDbxs]] = None,
  keks: typing.Union[IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateKeks]] = None,
  pk: ComputeImageShieldedInstanceInitialStatePk = None
)

Properties

Name Type Description
dbs typing.Union[cdktf.IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateDbs]] dbs block.
dbxs typing.Union[cdktf.IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateDbxs]] dbxs block.
keks typing.Union[cdktf.IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateKeks]] keks block.
pk ComputeImageShieldedInstanceInitialStatePk pk block.

dbsOptional
dbs: typing.Union[IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateDbs]]

dbs block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#dbs ComputeImage#dbs}


dbxsOptional
dbxs: typing.Union[IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateDbxs]]

dbxs block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#dbxs ComputeImage#dbxs}


keksOptional
keks: typing.Union[IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateKeks]]

keks block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#keks ComputeImage#keks}


pkOptional
pk: ComputeImageShieldedInstanceInitialStatePk

pk block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#pk ComputeImage#pk}


ComputeImageShieldedInstanceInitialStateDbs

Initializer

from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImageShieldedInstanceInitialStateDbs(
  content: str,
  file_type: str = None
)

Properties

Name Type Description
content str The raw content in the secure keys file.
file_type str The file type of source file.

contentRequired
content: str
  • Type: str

The raw content in the secure keys file.

A base64-encoded string.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#content ComputeImage#content}


file_typeOptional
file_type: str
  • Type: str

The file type of source file.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#file_type ComputeImage#file_type}


ComputeImageShieldedInstanceInitialStateDbxs

Initializer

from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImageShieldedInstanceInitialStateDbxs(
  content: str,
  file_type: str = None
)

Properties

Name Type Description
content str The raw content in the secure keys file.
file_type str The file type of source file.

contentRequired
content: str
  • Type: str

The raw content in the secure keys file.

A base64-encoded string.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#content ComputeImage#content}


file_typeOptional
file_type: str
  • Type: str

The file type of source file.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#file_type ComputeImage#file_type}


ComputeImageShieldedInstanceInitialStateKeks

Initializer

from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImageShieldedInstanceInitialStateKeks(
  content: str,
  file_type: str = None
)

Properties

Name Type Description
content str The raw content in the secure keys file.
file_type str The file type of source file.

contentRequired
content: str
  • Type: str

The raw content in the secure keys file.

A base64-encoded string.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#content ComputeImage#content}


file_typeOptional
file_type: str
  • Type: str

The file type of source file.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#file_type ComputeImage#file_type}


ComputeImageShieldedInstanceInitialStatePk

Initializer

from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImageShieldedInstanceInitialStatePk(
  content: str,
  file_type: str = None
)

Properties

Name Type Description
content str The raw content in the secure keys file.
file_type str The file type of source file.

contentRequired
content: str
  • Type: str

The raw content in the secure keys file.

A base64-encoded string.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#content ComputeImage#content}


file_typeOptional
file_type: str
  • Type: str

The file type of source file.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#file_type ComputeImage#file_type}


ComputeImageSourceDiskEncryptionKey

Initializer

from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImageSourceDiskEncryptionKey(
  kms_key_self_link: str = None,
  kms_key_service_account: str = None,
  raw_key: str = None,
  rsa_encrypted_key: str = None
)

Properties

Name Type Description
kms_key_self_link str The self link of the encryption key used to decrypt this resource.
kms_key_service_account str The service account being used for the encryption request for the given KMS key.
raw_key str Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
rsa_encrypted_key str Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource.

kms_key_self_linkOptional
kms_key_self_link: str
  • Type: str

The self link of the encryption key used to decrypt this resource.

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.37.0/docs/resources/compute_image#kms_key_self_link ComputeImage#kms_key_self_link}


kms_key_service_accountOptional
kms_key_service_account: str
  • Type: str

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

If absent, the Compute Engine default service account is used.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#kms_key_service_account ComputeImage#kms_key_service_account}


raw_keyOptional
raw_key: str
  • Type: str

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.37.0/docs/resources/compute_image#raw_key ComputeImage#raw_key}


rsa_encrypted_keyOptional
rsa_encrypted_key: str
  • Type: str

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.37.0/docs/resources/compute_image#rsa_encrypted_key ComputeImage#rsa_encrypted_key}


ComputeImageSourceImageEncryptionKey

Initializer

from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImageSourceImageEncryptionKey(
  kms_key_self_link: str = None,
  kms_key_service_account: str = None,
  raw_key: str = None,
  rsa_encrypted_key: str = None
)

Properties

Name Type Description
kms_key_self_link str The self link of the encryption key used to decrypt this resource.
kms_key_service_account str The service account being used for the encryption request for the given KMS key.
raw_key str Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
rsa_encrypted_key str Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource.

kms_key_self_linkOptional
kms_key_self_link: str
  • Type: str

The self link of the encryption key used to decrypt this resource.

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.37.0/docs/resources/compute_image#kms_key_self_link ComputeImage#kms_key_self_link}


kms_key_service_accountOptional
kms_key_service_account: str
  • Type: str

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

If absent, the Compute Engine default service account is used.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#kms_key_service_account ComputeImage#kms_key_service_account}


raw_keyOptional
raw_key: str
  • Type: str

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.37.0/docs/resources/compute_image#raw_key ComputeImage#raw_key}


rsa_encrypted_keyOptional
rsa_encrypted_key: str
  • Type: str

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.37.0/docs/resources/compute_image#rsa_encrypted_key ComputeImage#rsa_encrypted_key}


ComputeImageSourceSnapshotEncryptionKey

Initializer

from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImageSourceSnapshotEncryptionKey(
  kms_key_self_link: str = None,
  kms_key_service_account: str = None,
  raw_key: str = None,
  rsa_encrypted_key: str = None
)

Properties

Name Type Description
kms_key_self_link str The self link of the encryption key used to decrypt this resource.
kms_key_service_account str The service account being used for the encryption request for the given KMS key.
raw_key str Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.
rsa_encrypted_key str Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource.

kms_key_self_linkOptional
kms_key_self_link: str
  • Type: str

The self link of the encryption key used to decrypt this resource.

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.37.0/docs/resources/compute_image#kms_key_self_link ComputeImage#kms_key_self_link}


kms_key_service_accountOptional
kms_key_service_account: str
  • Type: str

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

If absent, the Compute Engine default service account is used.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#kms_key_service_account ComputeImage#kms_key_service_account}


raw_keyOptional
raw_key: str
  • Type: str

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.37.0/docs/resources/compute_image#raw_key ComputeImage#raw_key}


rsa_encrypted_keyOptional
rsa_encrypted_key: str
  • Type: str

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.37.0/docs/resources/compute_image#rsa_encrypted_key ComputeImage#rsa_encrypted_key}


ComputeImageTimeouts

Initializer

from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImageTimeouts(
  create: str = None,
  delete: str = None,
  update: str = None
)

Properties

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

createOptional
create: str
  • Type: str

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


deleteOptional
delete: str
  • Type: str

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


updateOptional
update: str
  • Type: str

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


Classes

ComputeImageGuestOsFeaturesList

Initializers

from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImageGuestOsFeaturesList(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str,
  wraps_set: bool
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.
wraps_set bool whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


wraps_setRequired
  • Type: bool

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


Methods

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

all_with_map_key
def all_with_map_key(
  map_key_attribute_name: str
) -> DynamicListTerraformIterator

Creating an iterator for this complex list.

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

map_key_attribute_nameRequired
  • Type: str

compute_fqn
def compute_fqn() -> str
resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

get
def get(
  index: typing.Union[int, float]
) -> ComputeImageGuestOsFeaturesOutputReference
indexRequired
  • Type: typing.Union[int, float]

the index of the item to return.


Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
internal_value typing.Union[cdktf.IResolvable, typing.List[ComputeImageGuestOsFeatures]] No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

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
fqn: str
  • Type: str

internal_valueOptional
internal_value: typing.Union[IResolvable, typing.List[ComputeImageGuestOsFeatures]]

ComputeImageGuestOsFeaturesOutputReference

Initializers

from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImageGuestOsFeaturesOutputReference(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str,
  complex_object_index: typing.Union[int, float],
  complex_object_is_from_set: bool
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.
complex_object_index typing.Union[int, float] the index of this item in the list.
complex_object_is_from_set bool whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


complex_object_indexRequired
  • Type: typing.Union[int, float]

the index of this item in the list.


complex_object_is_from_setRequired
  • Type: bool

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


Methods

Name Description
compute_fqn No description.
get_any_map_attribute No description.
get_boolean_attribute No description.
get_boolean_map_attribute No description.
get_list_attribute No description.
get_number_attribute No description.
get_number_list_attribute No description.
get_number_map_attribute No description.
get_string_attribute No description.
get_string_map_attribute No description.
interpolation_for_attribute No description.
resolve Produce the Token's value at resolution time.
to_string Return a string representation of this resolvable object.

compute_fqn
def compute_fqn() -> str
get_any_map_attribute
def get_any_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Any]
terraform_attributeRequired
  • Type: str

get_boolean_attribute
def get_boolean_attribute(
  terraform_attribute: str
) -> IResolvable
terraform_attributeRequired
  • Type: str

get_boolean_map_attribute
def get_boolean_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[bool]
terraform_attributeRequired
  • Type: str

get_list_attribute
def get_list_attribute(
  terraform_attribute: str
) -> typing.List[str]
terraform_attributeRequired
  • Type: str

get_number_attribute
def get_number_attribute(
  terraform_attribute: str
) -> typing.Union[int, float]
terraform_attributeRequired
  • Type: str

get_number_list_attribute
def get_number_list_attribute(
  terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_number_map_attribute
def get_number_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_string_attribute
def get_string_attribute(
  terraform_attribute: str
) -> str
terraform_attributeRequired
  • Type: str

get_string_map_attribute
def get_string_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[str]
terraform_attributeRequired
  • Type: str

interpolation_for_attribute
def interpolation_for_attribute(
  property: str
) -> IResolvable
propertyRequired
  • Type: str

resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
type_input str No description.
type str No description.
internal_value typing.Union[cdktf.IResolvable, ComputeImageGuestOsFeatures] No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

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
fqn: str
  • Type: str

type_inputOptional
type_input: str
  • Type: str

typeRequired
type: str
  • Type: str

internal_valueOptional
internal_value: typing.Union[IResolvable, ComputeImageGuestOsFeatures]

ComputeImageImageEncryptionKeyOutputReference

Initializers

from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImageImageEncryptionKeyOutputReference(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

Name Description
compute_fqn No description.
get_any_map_attribute No description.
get_boolean_attribute No description.
get_boolean_map_attribute No description.
get_list_attribute No description.
get_number_attribute No description.
get_number_list_attribute No description.
get_number_map_attribute No description.
get_string_attribute No description.
get_string_map_attribute No description.
interpolation_for_attribute No description.
resolve Produce the Token's value at resolution time.
to_string Return a string representation of this resolvable object.
reset_kms_key_self_link No description.
reset_kms_key_service_account No description.
reset_raw_key No description.
reset_rsa_encrypted_key No description.

compute_fqn
def compute_fqn() -> str
get_any_map_attribute
def get_any_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Any]
terraform_attributeRequired
  • Type: str

get_boolean_attribute
def get_boolean_attribute(
  terraform_attribute: str
) -> IResolvable
terraform_attributeRequired
  • Type: str

get_boolean_map_attribute
def get_boolean_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[bool]
terraform_attributeRequired
  • Type: str

get_list_attribute
def get_list_attribute(
  terraform_attribute: str
) -> typing.List[str]
terraform_attributeRequired
  • Type: str

get_number_attribute
def get_number_attribute(
  terraform_attribute: str
) -> typing.Union[int, float]
terraform_attributeRequired
  • Type: str

get_number_list_attribute
def get_number_list_attribute(
  terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_number_map_attribute
def get_number_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_string_attribute
def get_string_attribute(
  terraform_attribute: str
) -> str
terraform_attributeRequired
  • Type: str

get_string_map_attribute
def get_string_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[str]
terraform_attributeRequired
  • Type: str

interpolation_for_attribute
def interpolation_for_attribute(
  property: str
) -> IResolvable
propertyRequired
  • Type: str

resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

reset_kms_key_self_link
def reset_kms_key_self_link() -> None
reset_kms_key_service_account
def reset_kms_key_service_account() -> None
reset_raw_key
def reset_raw_key() -> None
reset_rsa_encrypted_key
def reset_rsa_encrypted_key() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
kms_key_self_link_input str No description.
kms_key_service_account_input str No description.
raw_key_input str No description.
rsa_encrypted_key_input str No description.
kms_key_self_link str No description.
kms_key_service_account str No description.
raw_key str No description.
rsa_encrypted_key str No description.
internal_value ComputeImageImageEncryptionKey No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

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
fqn: str
  • Type: str

kms_key_self_link_inputOptional
kms_key_self_link_input: str
  • Type: str

kms_key_service_account_inputOptional
kms_key_service_account_input: str
  • Type: str

raw_key_inputOptional
raw_key_input: str
  • Type: str

rsa_encrypted_key_inputOptional
rsa_encrypted_key_input: str
  • Type: str

kms_key_self_linkRequired
kms_key_self_link: str
  • Type: str

kms_key_service_accountRequired
kms_key_service_account: str
  • Type: str

raw_keyRequired
raw_key: str
  • Type: str

rsa_encrypted_keyRequired
rsa_encrypted_key: str
  • Type: str

internal_valueOptional
internal_value: ComputeImageImageEncryptionKey

ComputeImageRawDiskOutputReference

Initializers

from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImageRawDiskOutputReference(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

Name Description
compute_fqn No description.
get_any_map_attribute No description.
get_boolean_attribute No description.
get_boolean_map_attribute No description.
get_list_attribute No description.
get_number_attribute No description.
get_number_list_attribute No description.
get_number_map_attribute No description.
get_string_attribute No description.
get_string_map_attribute No description.
interpolation_for_attribute No description.
resolve Produce the Token's value at resolution time.
to_string Return a string representation of this resolvable object.
reset_container_type No description.
reset_sha1 No description.

compute_fqn
def compute_fqn() -> str
get_any_map_attribute
def get_any_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Any]
terraform_attributeRequired
  • Type: str

get_boolean_attribute
def get_boolean_attribute(
  terraform_attribute: str
) -> IResolvable
terraform_attributeRequired
  • Type: str

get_boolean_map_attribute
def get_boolean_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[bool]
terraform_attributeRequired
  • Type: str

get_list_attribute
def get_list_attribute(
  terraform_attribute: str
) -> typing.List[str]
terraform_attributeRequired
  • Type: str

get_number_attribute
def get_number_attribute(
  terraform_attribute: str
) -> typing.Union[int, float]
terraform_attributeRequired
  • Type: str

get_number_list_attribute
def get_number_list_attribute(
  terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_number_map_attribute
def get_number_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_string_attribute
def get_string_attribute(
  terraform_attribute: str
) -> str
terraform_attributeRequired
  • Type: str

get_string_map_attribute
def get_string_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[str]
terraform_attributeRequired
  • Type: str

interpolation_for_attribute
def interpolation_for_attribute(
  property: str
) -> IResolvable
propertyRequired
  • Type: str

resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

reset_container_type
def reset_container_type() -> None
reset_sha1
def reset_sha1() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
container_type_input str No description.
sha1_input str No description.
source_input str No description.
container_type str No description.
sha1 str No description.
source str No description.
internal_value ComputeImageRawDisk No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

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
fqn: str
  • Type: str

container_type_inputOptional
container_type_input: str
  • Type: str

sha1_inputOptional
sha1_input: str
  • Type: str

source_inputOptional
source_input: str
  • Type: str

container_typeRequired
container_type: str
  • Type: str

sha1Required
sha1: str
  • Type: str

sourceRequired
source: str
  • Type: str

internal_valueOptional
internal_value: ComputeImageRawDisk

ComputeImageShieldedInstanceInitialStateDbsList

Initializers

from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImageShieldedInstanceInitialStateDbsList(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str,
  wraps_set: bool
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.
wraps_set bool whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


wraps_setRequired
  • Type: bool

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


Methods

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

all_with_map_key
def all_with_map_key(
  map_key_attribute_name: str
) -> DynamicListTerraformIterator

Creating an iterator for this complex list.

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

map_key_attribute_nameRequired
  • Type: str

compute_fqn
def compute_fqn() -> str
resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

get
def get(
  index: typing.Union[int, float]
) -> ComputeImageShieldedInstanceInitialStateDbsOutputReference
indexRequired
  • Type: typing.Union[int, float]

the index of the item to return.


Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
internal_value typing.Union[cdktf.IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateDbs]] No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

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
fqn: str
  • Type: str

internal_valueOptional
internal_value: typing.Union[IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateDbs]]

ComputeImageShieldedInstanceInitialStateDbsOutputReference

Initializers

from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImageShieldedInstanceInitialStateDbsOutputReference(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str,
  complex_object_index: typing.Union[int, float],
  complex_object_is_from_set: bool
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.
complex_object_index typing.Union[int, float] the index of this item in the list.
complex_object_is_from_set bool whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


complex_object_indexRequired
  • Type: typing.Union[int, float]

the index of this item in the list.


complex_object_is_from_setRequired
  • Type: bool

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


Methods

Name Description
compute_fqn No description.
get_any_map_attribute No description.
get_boolean_attribute No description.
get_boolean_map_attribute No description.
get_list_attribute No description.
get_number_attribute No description.
get_number_list_attribute No description.
get_number_map_attribute No description.
get_string_attribute No description.
get_string_map_attribute No description.
interpolation_for_attribute No description.
resolve Produce the Token's value at resolution time.
to_string Return a string representation of this resolvable object.
reset_file_type No description.

compute_fqn
def compute_fqn() -> str
get_any_map_attribute
def get_any_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Any]
terraform_attributeRequired
  • Type: str

get_boolean_attribute
def get_boolean_attribute(
  terraform_attribute: str
) -> IResolvable
terraform_attributeRequired
  • Type: str

get_boolean_map_attribute
def get_boolean_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[bool]
terraform_attributeRequired
  • Type: str

get_list_attribute
def get_list_attribute(
  terraform_attribute: str
) -> typing.List[str]
terraform_attributeRequired
  • Type: str

get_number_attribute
def get_number_attribute(
  terraform_attribute: str
) -> typing.Union[int, float]
terraform_attributeRequired
  • Type: str

get_number_list_attribute
def get_number_list_attribute(
  terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_number_map_attribute
def get_number_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_string_attribute
def get_string_attribute(
  terraform_attribute: str
) -> str
terraform_attributeRequired
  • Type: str

get_string_map_attribute
def get_string_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[str]
terraform_attributeRequired
  • Type: str

interpolation_for_attribute
def interpolation_for_attribute(
  property: str
) -> IResolvable
propertyRequired
  • Type: str

resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

reset_file_type
def reset_file_type() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
content_input str No description.
file_type_input str No description.
content str No description.
file_type str No description.
internal_value typing.Union[cdktf.IResolvable, ComputeImageShieldedInstanceInitialStateDbs] No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

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
fqn: str
  • Type: str

content_inputOptional
content_input: str
  • Type: str

file_type_inputOptional
file_type_input: str
  • Type: str

contentRequired
content: str
  • Type: str

file_typeRequired
file_type: str
  • Type: str

internal_valueOptional
internal_value: typing.Union[IResolvable, ComputeImageShieldedInstanceInitialStateDbs]

ComputeImageShieldedInstanceInitialStateDbxsList

Initializers

from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImageShieldedInstanceInitialStateDbxsList(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str,
  wraps_set: bool
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.
wraps_set bool whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


wraps_setRequired
  • Type: bool

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


Methods

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

all_with_map_key
def all_with_map_key(
  map_key_attribute_name: str
) -> DynamicListTerraformIterator

Creating an iterator for this complex list.

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

map_key_attribute_nameRequired
  • Type: str

compute_fqn
def compute_fqn() -> str
resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

get
def get(
  index: typing.Union[int, float]
) -> ComputeImageShieldedInstanceInitialStateDbxsOutputReference
indexRequired
  • Type: typing.Union[int, float]

the index of the item to return.


Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
internal_value typing.Union[cdktf.IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateDbxs]] No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

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
fqn: str
  • Type: str

internal_valueOptional
internal_value: typing.Union[IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateDbxs]]

ComputeImageShieldedInstanceInitialStateDbxsOutputReference

Initializers

from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImageShieldedInstanceInitialStateDbxsOutputReference(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str,
  complex_object_index: typing.Union[int, float],
  complex_object_is_from_set: bool
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.
complex_object_index typing.Union[int, float] the index of this item in the list.
complex_object_is_from_set bool whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


complex_object_indexRequired
  • Type: typing.Union[int, float]

the index of this item in the list.


complex_object_is_from_setRequired
  • Type: bool

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


Methods

Name Description
compute_fqn No description.
get_any_map_attribute No description.
get_boolean_attribute No description.
get_boolean_map_attribute No description.
get_list_attribute No description.
get_number_attribute No description.
get_number_list_attribute No description.
get_number_map_attribute No description.
get_string_attribute No description.
get_string_map_attribute No description.
interpolation_for_attribute No description.
resolve Produce the Token's value at resolution time.
to_string Return a string representation of this resolvable object.
reset_file_type No description.

compute_fqn
def compute_fqn() -> str
get_any_map_attribute
def get_any_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Any]
terraform_attributeRequired
  • Type: str

get_boolean_attribute
def get_boolean_attribute(
  terraform_attribute: str
) -> IResolvable
terraform_attributeRequired
  • Type: str

get_boolean_map_attribute
def get_boolean_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[bool]
terraform_attributeRequired
  • Type: str

get_list_attribute
def get_list_attribute(
  terraform_attribute: str
) -> typing.List[str]
terraform_attributeRequired
  • Type: str

get_number_attribute
def get_number_attribute(
  terraform_attribute: str
) -> typing.Union[int, float]
terraform_attributeRequired
  • Type: str

get_number_list_attribute
def get_number_list_attribute(
  terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_number_map_attribute
def get_number_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_string_attribute
def get_string_attribute(
  terraform_attribute: str
) -> str
terraform_attributeRequired
  • Type: str

get_string_map_attribute
def get_string_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[str]
terraform_attributeRequired
  • Type: str

interpolation_for_attribute
def interpolation_for_attribute(
  property: str
) -> IResolvable
propertyRequired
  • Type: str

resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

reset_file_type
def reset_file_type() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
content_input str No description.
file_type_input str No description.
content str No description.
file_type str No description.
internal_value typing.Union[cdktf.IResolvable, ComputeImageShieldedInstanceInitialStateDbxs] No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

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
fqn: str
  • Type: str

content_inputOptional
content_input: str
  • Type: str

file_type_inputOptional
file_type_input: str
  • Type: str

contentRequired
content: str
  • Type: str

file_typeRequired
file_type: str
  • Type: str

internal_valueOptional
internal_value: typing.Union[IResolvable, ComputeImageShieldedInstanceInitialStateDbxs]

ComputeImageShieldedInstanceInitialStateKeksList

Initializers

from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImageShieldedInstanceInitialStateKeksList(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str,
  wraps_set: bool
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.
wraps_set bool whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


wraps_setRequired
  • Type: bool

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


Methods

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

all_with_map_key
def all_with_map_key(
  map_key_attribute_name: str
) -> DynamicListTerraformIterator

Creating an iterator for this complex list.

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

map_key_attribute_nameRequired
  • Type: str

compute_fqn
def compute_fqn() -> str
resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

get
def get(
  index: typing.Union[int, float]
) -> ComputeImageShieldedInstanceInitialStateKeksOutputReference
indexRequired
  • Type: typing.Union[int, float]

the index of the item to return.


Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
internal_value typing.Union[cdktf.IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateKeks]] No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

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
fqn: str
  • Type: str

internal_valueOptional
internal_value: typing.Union[IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateKeks]]

ComputeImageShieldedInstanceInitialStateKeksOutputReference

Initializers

from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImageShieldedInstanceInitialStateKeksOutputReference(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str,
  complex_object_index: typing.Union[int, float],
  complex_object_is_from_set: bool
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.
complex_object_index typing.Union[int, float] the index of this item in the list.
complex_object_is_from_set bool whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


complex_object_indexRequired
  • Type: typing.Union[int, float]

the index of this item in the list.


complex_object_is_from_setRequired
  • Type: bool

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


Methods

Name Description
compute_fqn No description.
get_any_map_attribute No description.
get_boolean_attribute No description.
get_boolean_map_attribute No description.
get_list_attribute No description.
get_number_attribute No description.
get_number_list_attribute No description.
get_number_map_attribute No description.
get_string_attribute No description.
get_string_map_attribute No description.
interpolation_for_attribute No description.
resolve Produce the Token's value at resolution time.
to_string Return a string representation of this resolvable object.
reset_file_type No description.

compute_fqn
def compute_fqn() -> str
get_any_map_attribute
def get_any_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Any]
terraform_attributeRequired
  • Type: str

get_boolean_attribute
def get_boolean_attribute(
  terraform_attribute: str
) -> IResolvable
terraform_attributeRequired
  • Type: str

get_boolean_map_attribute
def get_boolean_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[bool]
terraform_attributeRequired
  • Type: str

get_list_attribute
def get_list_attribute(
  terraform_attribute: str
) -> typing.List[str]
terraform_attributeRequired
  • Type: str

get_number_attribute
def get_number_attribute(
  terraform_attribute: str
) -> typing.Union[int, float]
terraform_attributeRequired
  • Type: str

get_number_list_attribute
def get_number_list_attribute(
  terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_number_map_attribute
def get_number_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_string_attribute
def get_string_attribute(
  terraform_attribute: str
) -> str
terraform_attributeRequired
  • Type: str

get_string_map_attribute
def get_string_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[str]
terraform_attributeRequired
  • Type: str

interpolation_for_attribute
def interpolation_for_attribute(
  property: str
) -> IResolvable
propertyRequired
  • Type: str

resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

reset_file_type
def reset_file_type() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
content_input str No description.
file_type_input str No description.
content str No description.
file_type str No description.
internal_value typing.Union[cdktf.IResolvable, ComputeImageShieldedInstanceInitialStateKeks] No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

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
fqn: str
  • Type: str

content_inputOptional
content_input: str
  • Type: str

file_type_inputOptional
file_type_input: str
  • Type: str

contentRequired
content: str
  • Type: str

file_typeRequired
file_type: str
  • Type: str

internal_valueOptional
internal_value: typing.Union[IResolvable, ComputeImageShieldedInstanceInitialStateKeks]

ComputeImageShieldedInstanceInitialStateOutputReference

Initializers

from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImageShieldedInstanceInitialStateOutputReference(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

Name Description
compute_fqn No description.
get_any_map_attribute No description.
get_boolean_attribute No description.
get_boolean_map_attribute No description.
get_list_attribute No description.
get_number_attribute No description.
get_number_list_attribute No description.
get_number_map_attribute No description.
get_string_attribute No description.
get_string_map_attribute No description.
interpolation_for_attribute No description.
resolve Produce the Token's value at resolution time.
to_string Return a string representation of this resolvable object.
put_dbs No description.
put_dbxs No description.
put_keks No description.
put_pk No description.
reset_dbs No description.
reset_dbxs No description.
reset_keks No description.
reset_pk No description.

compute_fqn
def compute_fqn() -> str
get_any_map_attribute
def get_any_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Any]
terraform_attributeRequired
  • Type: str

get_boolean_attribute
def get_boolean_attribute(
  terraform_attribute: str
) -> IResolvable
terraform_attributeRequired
  • Type: str

get_boolean_map_attribute
def get_boolean_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[bool]
terraform_attributeRequired
  • Type: str

get_list_attribute
def get_list_attribute(
  terraform_attribute: str
) -> typing.List[str]
terraform_attributeRequired
  • Type: str

get_number_attribute
def get_number_attribute(
  terraform_attribute: str
) -> typing.Union[int, float]
terraform_attributeRequired
  • Type: str

get_number_list_attribute
def get_number_list_attribute(
  terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_number_map_attribute
def get_number_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_string_attribute
def get_string_attribute(
  terraform_attribute: str
) -> str
terraform_attributeRequired
  • Type: str

get_string_map_attribute
def get_string_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[str]
terraform_attributeRequired
  • Type: str

interpolation_for_attribute
def interpolation_for_attribute(
  property: str
) -> IResolvable
propertyRequired
  • Type: str

resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

put_dbs
def put_dbs(
  value: typing.Union[IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateDbs]]
) -> None
valueRequired

put_dbxs
def put_dbxs(
  value: typing.Union[IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateDbxs]]
) -> None
valueRequired

put_keks
def put_keks(
  value: typing.Union[IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateKeks]]
) -> None
valueRequired

put_pk
def put_pk(
  content: str,
  file_type: str = None
) -> None
contentRequired
  • Type: str

The raw content in the secure keys file.

A base64-encoded string.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#content ComputeImage#content}


file_typeOptional
  • Type: str

The file type of source file.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#file_type ComputeImage#file_type}


reset_dbs
def reset_dbs() -> None
reset_dbxs
def reset_dbxs() -> None
reset_keks
def reset_keks() -> None
reset_pk
def reset_pk() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
dbs ComputeImageShieldedInstanceInitialStateDbsList No description.
dbxs ComputeImageShieldedInstanceInitialStateDbxsList No description.
keks ComputeImageShieldedInstanceInitialStateKeksList No description.
pk ComputeImageShieldedInstanceInitialStatePkOutputReference No description.
dbs_input typing.Union[cdktf.IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateDbs]] No description.
dbxs_input typing.Union[cdktf.IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateDbxs]] No description.
keks_input typing.Union[cdktf.IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateKeks]] No description.
pk_input ComputeImageShieldedInstanceInitialStatePk No description.
internal_value ComputeImageShieldedInstanceInitialState No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

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
fqn: str
  • Type: str

dbsRequired
dbs: ComputeImageShieldedInstanceInitialStateDbsList

dbxsRequired
dbxs: ComputeImageShieldedInstanceInitialStateDbxsList

keksRequired
keks: ComputeImageShieldedInstanceInitialStateKeksList

pkRequired
pk: ComputeImageShieldedInstanceInitialStatePkOutputReference

dbs_inputOptional
dbs_input: typing.Union[IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateDbs]]

dbxs_inputOptional
dbxs_input: typing.Union[IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateDbxs]]

keks_inputOptional
keks_input: typing.Union[IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateKeks]]

pk_inputOptional
pk_input: ComputeImageShieldedInstanceInitialStatePk

internal_valueOptional
internal_value: ComputeImageShieldedInstanceInitialState

ComputeImageShieldedInstanceInitialStatePkOutputReference

Initializers

from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImageShieldedInstanceInitialStatePkOutputReference(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

Name Description
compute_fqn No description.
get_any_map_attribute No description.
get_boolean_attribute No description.
get_boolean_map_attribute No description.
get_list_attribute No description.
get_number_attribute No description.
get_number_list_attribute No description.
get_number_map_attribute No description.
get_string_attribute No description.
get_string_map_attribute No description.
interpolation_for_attribute No description.
resolve Produce the Token's value at resolution time.
to_string Return a string representation of this resolvable object.
reset_file_type No description.

compute_fqn
def compute_fqn() -> str
get_any_map_attribute
def get_any_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Any]
terraform_attributeRequired
  • Type: str

get_boolean_attribute
def get_boolean_attribute(
  terraform_attribute: str
) -> IResolvable
terraform_attributeRequired
  • Type: str

get_boolean_map_attribute
def get_boolean_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[bool]
terraform_attributeRequired
  • Type: str

get_list_attribute
def get_list_attribute(
  terraform_attribute: str
) -> typing.List[str]
terraform_attributeRequired
  • Type: str

get_number_attribute
def get_number_attribute(
  terraform_attribute: str
) -> typing.Union[int, float]
terraform_attributeRequired
  • Type: str

get_number_list_attribute
def get_number_list_attribute(
  terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_number_map_attribute
def get_number_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_string_attribute
def get_string_attribute(
  terraform_attribute: str
) -> str
terraform_attributeRequired
  • Type: str

get_string_map_attribute
def get_string_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[str]
terraform_attributeRequired
  • Type: str

interpolation_for_attribute
def interpolation_for_attribute(
  property: str
) -> IResolvable
propertyRequired
  • Type: str

resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

reset_file_type
def reset_file_type() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
content_input str No description.
file_type_input str No description.
content str No description.
file_type str No description.
internal_value ComputeImageShieldedInstanceInitialStatePk No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

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
fqn: str
  • Type: str

content_inputOptional
content_input: str
  • Type: str

file_type_inputOptional
file_type_input: str
  • Type: str

contentRequired
content: str
  • Type: str

file_typeRequired
file_type: str
  • Type: str

internal_valueOptional
internal_value: ComputeImageShieldedInstanceInitialStatePk

ComputeImageSourceDiskEncryptionKeyOutputReference

Initializers

from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImageSourceDiskEncryptionKeyOutputReference(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

Name Description
compute_fqn No description.
get_any_map_attribute No description.
get_boolean_attribute No description.
get_boolean_map_attribute No description.
get_list_attribute No description.
get_number_attribute No description.
get_number_list_attribute No description.
get_number_map_attribute No description.
get_string_attribute No description.
get_string_map_attribute No description.
interpolation_for_attribute No description.
resolve Produce the Token's value at resolution time.
to_string Return a string representation of this resolvable object.
reset_kms_key_self_link No description.
reset_kms_key_service_account No description.
reset_raw_key No description.
reset_rsa_encrypted_key No description.

compute_fqn
def compute_fqn() -> str
get_any_map_attribute
def get_any_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Any]
terraform_attributeRequired
  • Type: str

get_boolean_attribute
def get_boolean_attribute(
  terraform_attribute: str
) -> IResolvable
terraform_attributeRequired
  • Type: str

get_boolean_map_attribute
def get_boolean_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[bool]
terraform_attributeRequired
  • Type: str

get_list_attribute
def get_list_attribute(
  terraform_attribute: str
) -> typing.List[str]
terraform_attributeRequired
  • Type: str

get_number_attribute
def get_number_attribute(
  terraform_attribute: str
) -> typing.Union[int, float]
terraform_attributeRequired
  • Type: str

get_number_list_attribute
def get_number_list_attribute(
  terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_number_map_attribute
def get_number_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_string_attribute
def get_string_attribute(
  terraform_attribute: str
) -> str
terraform_attributeRequired
  • Type: str

get_string_map_attribute
def get_string_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[str]
terraform_attributeRequired
  • Type: str

interpolation_for_attribute
def interpolation_for_attribute(
  property: str
) -> IResolvable
propertyRequired
  • Type: str

resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

reset_kms_key_self_link
def reset_kms_key_self_link() -> None
reset_kms_key_service_account
def reset_kms_key_service_account() -> None
reset_raw_key
def reset_raw_key() -> None
reset_rsa_encrypted_key
def reset_rsa_encrypted_key() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
kms_key_self_link_input str No description.
kms_key_service_account_input str No description.
raw_key_input str No description.
rsa_encrypted_key_input str No description.
kms_key_self_link str No description.
kms_key_service_account str No description.
raw_key str No description.
rsa_encrypted_key str No description.
internal_value ComputeImageSourceDiskEncryptionKey No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

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
fqn: str
  • Type: str

kms_key_self_link_inputOptional
kms_key_self_link_input: str
  • Type: str

kms_key_service_account_inputOptional
kms_key_service_account_input: str
  • Type: str

raw_key_inputOptional
raw_key_input: str
  • Type: str

rsa_encrypted_key_inputOptional
rsa_encrypted_key_input: str
  • Type: str

kms_key_self_linkRequired
kms_key_self_link: str
  • Type: str

kms_key_service_accountRequired
kms_key_service_account: str
  • Type: str

raw_keyRequired
raw_key: str
  • Type: str

rsa_encrypted_keyRequired
rsa_encrypted_key: str
  • Type: str

internal_valueOptional
internal_value: ComputeImageSourceDiskEncryptionKey

ComputeImageSourceImageEncryptionKeyOutputReference

Initializers

from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImageSourceImageEncryptionKeyOutputReference(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

Name Description
compute_fqn No description.
get_any_map_attribute No description.
get_boolean_attribute No description.
get_boolean_map_attribute No description.
get_list_attribute No description.
get_number_attribute No description.
get_number_list_attribute No description.
get_number_map_attribute No description.
get_string_attribute No description.
get_string_map_attribute No description.
interpolation_for_attribute No description.
resolve Produce the Token's value at resolution time.
to_string Return a string representation of this resolvable object.
reset_kms_key_self_link No description.
reset_kms_key_service_account No description.
reset_raw_key No description.
reset_rsa_encrypted_key No description.

compute_fqn
def compute_fqn() -> str
get_any_map_attribute
def get_any_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Any]
terraform_attributeRequired
  • Type: str

get_boolean_attribute
def get_boolean_attribute(
  terraform_attribute: str
) -> IResolvable
terraform_attributeRequired
  • Type: str

get_boolean_map_attribute
def get_boolean_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[bool]
terraform_attributeRequired
  • Type: str

get_list_attribute
def get_list_attribute(
  terraform_attribute: str
) -> typing.List[str]
terraform_attributeRequired
  • Type: str

get_number_attribute
def get_number_attribute(
  terraform_attribute: str
) -> typing.Union[int, float]
terraform_attributeRequired
  • Type: str

get_number_list_attribute
def get_number_list_attribute(
  terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_number_map_attribute
def get_number_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_string_attribute
def get_string_attribute(
  terraform_attribute: str
) -> str
terraform_attributeRequired
  • Type: str

get_string_map_attribute
def get_string_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[str]
terraform_attributeRequired
  • Type: str

interpolation_for_attribute
def interpolation_for_attribute(
  property: str
) -> IResolvable
propertyRequired
  • Type: str

resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

reset_kms_key_self_link
def reset_kms_key_self_link() -> None
reset_kms_key_service_account
def reset_kms_key_service_account() -> None
reset_raw_key
def reset_raw_key() -> None
reset_rsa_encrypted_key
def reset_rsa_encrypted_key() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
kms_key_self_link_input str No description.
kms_key_service_account_input str No description.
raw_key_input str No description.
rsa_encrypted_key_input str No description.
kms_key_self_link str No description.
kms_key_service_account str No description.
raw_key str No description.
rsa_encrypted_key str No description.
internal_value ComputeImageSourceImageEncryptionKey No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

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
fqn: str
  • Type: str

kms_key_self_link_inputOptional
kms_key_self_link_input: str
  • Type: str

kms_key_service_account_inputOptional
kms_key_service_account_input: str
  • Type: str

raw_key_inputOptional
raw_key_input: str
  • Type: str

rsa_encrypted_key_inputOptional
rsa_encrypted_key_input: str
  • Type: str

kms_key_self_linkRequired
kms_key_self_link: str
  • Type: str

kms_key_service_accountRequired
kms_key_service_account: str
  • Type: str

raw_keyRequired
raw_key: str
  • Type: str

rsa_encrypted_keyRequired
rsa_encrypted_key: str
  • Type: str

internal_valueOptional
internal_value: ComputeImageSourceImageEncryptionKey

ComputeImageSourceSnapshotEncryptionKeyOutputReference

Initializers

from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImageSourceSnapshotEncryptionKeyOutputReference(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

Name Description
compute_fqn No description.
get_any_map_attribute No description.
get_boolean_attribute No description.
get_boolean_map_attribute No description.
get_list_attribute No description.
get_number_attribute No description.
get_number_list_attribute No description.
get_number_map_attribute No description.
get_string_attribute No description.
get_string_map_attribute No description.
interpolation_for_attribute No description.
resolve Produce the Token's value at resolution time.
to_string Return a string representation of this resolvable object.
reset_kms_key_self_link No description.
reset_kms_key_service_account No description.
reset_raw_key No description.
reset_rsa_encrypted_key No description.

compute_fqn
def compute_fqn() -> str
get_any_map_attribute
def get_any_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Any]
terraform_attributeRequired
  • Type: str

get_boolean_attribute
def get_boolean_attribute(
  terraform_attribute: str
) -> IResolvable
terraform_attributeRequired
  • Type: str

get_boolean_map_attribute
def get_boolean_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[bool]
terraform_attributeRequired
  • Type: str

get_list_attribute
def get_list_attribute(
  terraform_attribute: str
) -> typing.List[str]
terraform_attributeRequired
  • Type: str

get_number_attribute
def get_number_attribute(
  terraform_attribute: str
) -> typing.Union[int, float]
terraform_attributeRequired
  • Type: str

get_number_list_attribute
def get_number_list_attribute(
  terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_number_map_attribute
def get_number_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_string_attribute
def get_string_attribute(
  terraform_attribute: str
) -> str
terraform_attributeRequired
  • Type: str

get_string_map_attribute
def get_string_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[str]
terraform_attributeRequired
  • Type: str

interpolation_for_attribute
def interpolation_for_attribute(
  property: str
) -> IResolvable
propertyRequired
  • Type: str

resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

reset_kms_key_self_link
def reset_kms_key_self_link() -> None
reset_kms_key_service_account
def reset_kms_key_service_account() -> None
reset_raw_key
def reset_raw_key() -> None
reset_rsa_encrypted_key
def reset_rsa_encrypted_key() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
kms_key_self_link_input str No description.
kms_key_service_account_input str No description.
raw_key_input str No description.
rsa_encrypted_key_input str No description.
kms_key_self_link str No description.
kms_key_service_account str No description.
raw_key str No description.
rsa_encrypted_key str No description.
internal_value ComputeImageSourceSnapshotEncryptionKey No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

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
fqn: str
  • Type: str

kms_key_self_link_inputOptional
kms_key_self_link_input: str
  • Type: str

kms_key_service_account_inputOptional
kms_key_service_account_input: str
  • Type: str

raw_key_inputOptional
raw_key_input: str
  • Type: str

rsa_encrypted_key_inputOptional
rsa_encrypted_key_input: str
  • Type: str

kms_key_self_linkRequired
kms_key_self_link: str
  • Type: str

kms_key_service_accountRequired
kms_key_service_account: str
  • Type: str

raw_keyRequired
raw_key: str
  • Type: str

rsa_encrypted_keyRequired
rsa_encrypted_key: str
  • Type: str

internal_valueOptional
internal_value: ComputeImageSourceSnapshotEncryptionKey

ComputeImageTimeoutsOutputReference

Initializers

from cdktf_cdktf_provider_google import compute_image

computeImage.ComputeImageTimeoutsOutputReference(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str
)
Name Type Description
terraform_resource cdktf.IInterpolatingParent The parent resource.
terraform_attribute str The attribute on the parent resource this class is referencing.

terraform_resourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraform_attributeRequired
  • Type: str

The attribute on the parent resource this class is referencing.


Methods

Name Description
compute_fqn No description.
get_any_map_attribute No description.
get_boolean_attribute No description.
get_boolean_map_attribute No description.
get_list_attribute No description.
get_number_attribute No description.
get_number_list_attribute No description.
get_number_map_attribute No description.
get_string_attribute No description.
get_string_map_attribute No description.
interpolation_for_attribute No description.
resolve Produce the Token's value at resolution time.
to_string Return a string representation of this resolvable object.
reset_create No description.
reset_delete No description.
reset_update No description.

compute_fqn
def compute_fqn() -> str
get_any_map_attribute
def get_any_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Any]
terraform_attributeRequired
  • Type: str

get_boolean_attribute
def get_boolean_attribute(
  terraform_attribute: str
) -> IResolvable
terraform_attributeRequired
  • Type: str

get_boolean_map_attribute
def get_boolean_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[bool]
terraform_attributeRequired
  • Type: str

get_list_attribute
def get_list_attribute(
  terraform_attribute: str
) -> typing.List[str]
terraform_attributeRequired
  • Type: str

get_number_attribute
def get_number_attribute(
  terraform_attribute: str
) -> typing.Union[int, float]
terraform_attributeRequired
  • Type: str

get_number_list_attribute
def get_number_list_attribute(
  terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_number_map_attribute
def get_number_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
terraform_attributeRequired
  • Type: str

get_string_attribute
def get_string_attribute(
  terraform_attribute: str
) -> str
terraform_attributeRequired
  • Type: str

get_string_map_attribute
def get_string_map_attribute(
  terraform_attribute: str
) -> typing.Mapping[str]
terraform_attributeRequired
  • Type: str

interpolation_for_attribute
def interpolation_for_attribute(
  property: str
) -> IResolvable
propertyRequired
  • Type: str

resolve
def resolve(
  _context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

to_string
def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

reset_create
def reset_create() -> None
reset_delete
def reset_delete() -> None
reset_update
def reset_update() -> None

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn str No description.
create_input str No description.
delete_input str No description.
update_input str No description.
create str No description.
delete str No description.
update str No description.
internal_value typing.Union[cdktf.IResolvable, ComputeImageTimeouts] No description.

creation_stackRequired
creation_stack: typing.List[str]
  • Type: typing.List[str]

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
fqn: str
  • Type: str

create_inputOptional
create_input: str
  • Type: str

delete_inputOptional
delete_input: str
  • Type: str

update_inputOptional
update_input: str
  • Type: str

createRequired
create: str
  • Type: str

deleteRequired
delete: str
  • Type: str

updateRequired
update: str
  • Type: str

internal_valueOptional
internal_value: typing.Union[IResolvable, ComputeImageTimeouts]