Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image google_compute_image}.
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. |
- Type: constructs.Construct
The scope in which to define this construct.
- Type: str
The scoped construct ID.
Must be unique amongst siblings in the same scope
- Type: typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection]
- Type: typing.Union[typing.Union[int, float], cdktf.TerraformCount]
- Type: typing.List[cdktf.ITerraformDependable]
- Type: cdktf.ITerraformIterator
- Type: cdktf.TerraformResourceLifecycle
- Type: cdktf.TerraformProvider
- Type: typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]]
- 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}
- 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}
- 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}
- 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}
- Type: typing.Union[cdktf.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}
- 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_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}
- 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}
- 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}
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#project ComputeImage#project}.
- Type: 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_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}
- 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_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}
- 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_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}
- 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_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}
- 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}
- Type: 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}
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. |
def to_string() -> str
Returns a string representation of this construct.
def add_override(
path: str,
value: typing.Any
) -> None
- Type: str
- Type: typing.Any
def override_logical_id(
new_logical_id: str
) -> None
Overrides the auto-generated logical ID with a specific ID.
- Type: str
The new logical ID to use for this stack element.
def reset_override_logical_id() -> None
Resets a previously passed logical Id to use the auto-generated logical id again.
def to_hcl_terraform() -> typing.Any
def to_metadata() -> typing.Any
def to_terraform() -> typing.Any
Adds this resource to the terraform JSON output.
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.
- Type: str
The string move target that will correspond to this resource.
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def has_resource_move() -> typing.Union[TerraformResourceMoveByTarget, TerraformResourceMoveById]
def import_from(
id: str,
provider: TerraformProvider = None
) -> None
- Type: str
- Type: cdktf.TerraformProvider
def interpolation_for_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
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.
- Type: str
Full id of resource being moved from, e.g. "aws_s3_bucket.example".
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.
- Type: str
The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.
- 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.
def move_to_id(
id: str
) -> None
Moves this resource to the resource corresponding to "id".
- Type: str
Full id of resource to move to, e.g. "aws_s3_bucket.example".
def put_guest_os_features(
value: typing.Union[IResolvable, typing.List[ComputeImageGuestOsFeatures]]
) -> None
- Type: typing.Union[cdktf.IResolvable, typing.List[ComputeImageGuestOsFeatures]]
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
- 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}
- 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}
- 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}
- 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}
def put_raw_disk(
source: str,
container_type: str = None,
sha1: str = None
) -> None
- 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}
- 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}
- 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}
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
- Type: typing.Union[cdktf.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}
- Type: typing.Union[cdktf.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}
- Type: typing.Union[cdktf.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}
pk block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#pk ComputeImage#pk}
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
- 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}
- 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}
- 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}
- 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}
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
- 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}
- 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}
- 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}
- 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}
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
- 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}
- 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}
- 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}
- 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}
def put_timeouts(
create: str = None,
delete: str = None,
update: str = None
) -> None
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#create ComputeImage#create}.
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#delete ComputeImage#delete}.
- Type: str
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.37.0/docs/resources/compute_image#update ComputeImage#update}.
def reset_description() -> None
def reset_disk_size_gb() -> None
def reset_family() -> None
def reset_guest_os_features() -> None
def reset_id() -> None
def reset_image_encryption_key() -> None
def reset_labels() -> None
def reset_licenses() -> None
def reset_project() -> None
def reset_raw_disk() -> None
def reset_shielded_instance_initial_state() -> None
def reset_source_disk() -> None
def reset_source_disk_encryption_key() -> None
def reset_source_image() -> None
def reset_source_image_encryption_key() -> None
def reset_source_snapshot() -> None
def reset_source_snapshot_encryption_key() -> None
def reset_storage_locations() -> None
def reset_timeouts() -> None
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 ". |
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.
- Type: typing.Any
Any object.
from cdktf_cdktf_provider_google import compute_image
computeImage.ComputeImage.is_terraform_element(
x: typing.Any
)
- Type: typing.Any
from cdktf_cdktf_provider_google import compute_image
computeImage.ComputeImage.is_terraform_resource(
x: typing.Any
)
- Type: typing.Any
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 ".
- Type: constructs.Construct
The scope in which to define this construct.
- Type: str
The construct id used in the generated config for the ComputeImage to import.
- 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
- Type: cdktf.TerraformProvider
? Optional instance of the provider where the ComputeImage to import is found.
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. |
node: Node
- Type: constructs.Node
The tree node.
cdktf_stack: TerraformStack
- Type: cdktf.TerraformStack
fqn: str
- Type: str
friendly_unique_id: str
- Type: str
terraform_meta_arguments: typing.Mapping[typing.Any]
- Type: typing.Mapping[typing.Any]
terraform_resource_type: str
- Type: str
terraform_generator_metadata: TerraformProviderGeneratorMetadata
- Type: cdktf.TerraformProviderGeneratorMetadata
connection: typing.Union[SSHProvisionerConnection, WinrmProvisionerConnection]
- Type: typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection]
count: typing.Union[typing.Union[int, float], TerraformCount]
- Type: typing.Union[typing.Union[int, float], cdktf.TerraformCount]
depends_on: typing.List[str]
- Type: typing.List[str]
for_each: ITerraformIterator
- Type: cdktf.ITerraformIterator
lifecycle: TerraformResourceLifecycle
- Type: cdktf.TerraformResourceLifecycle
provider: TerraformProvider
- Type: cdktf.TerraformProvider
provisioners: typing.List[typing.Union[FileProvisioner, LocalExecProvisioner, RemoteExecProvisioner]]
- Type: typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]]
archive_size_bytes: typing.Union[int, float]
- Type: typing.Union[int, float]
creation_timestamp: str
- Type: str
effective_labels: StringMap
- Type: cdktf.StringMap
guest_os_features: ComputeImageGuestOsFeaturesList
image_encryption_key: ComputeImageImageEncryptionKeyOutputReference
label_fingerprint: str
- Type: str
raw_disk: ComputeImageRawDiskOutputReference
self_link: str
- Type: str
shielded_instance_initial_state: ComputeImageShieldedInstanceInitialStateOutputReference
source_disk_encryption_key: ComputeImageSourceDiskEncryptionKeyOutputReference
source_image_encryption_key: ComputeImageSourceImageEncryptionKeyOutputReference
source_snapshot_encryption_key: ComputeImageSourceSnapshotEncryptionKeyOutputReference
terraform_labels: StringMap
- Type: cdktf.StringMap
timeouts: ComputeImageTimeoutsOutputReference
description_input: str
- Type: str
disk_size_gb_input: typing.Union[int, float]
- Type: typing.Union[int, float]
family_input: str
- Type: str
guest_os_features_input: typing.Union[IResolvable, typing.List[ComputeImageGuestOsFeatures]]
- Type: typing.Union[cdktf.IResolvable, typing.List[ComputeImageGuestOsFeatures]]
id_input: str
- Type: str
image_encryption_key_input: ComputeImageImageEncryptionKey
labels_input: typing.Mapping[str]
- Type: typing.Mapping[str]
licenses_input: typing.List[str]
- Type: typing.List[str]
name_input: str
- Type: str
project_input: str
- Type: str
raw_disk_input: ComputeImageRawDisk
- Type: ComputeImageRawDisk
shielded_instance_initial_state_input: ComputeImageShieldedInstanceInitialState
source_disk_encryption_key_input: ComputeImageSourceDiskEncryptionKey
source_disk_input: str
- Type: str
source_image_encryption_key_input: ComputeImageSourceImageEncryptionKey
source_image_input: str
- Type: str
source_snapshot_encryption_key_input: ComputeImageSourceSnapshotEncryptionKey
source_snapshot_input: str
- Type: str
storage_locations_input: typing.List[str]
- Type: typing.List[str]
timeouts_input: typing.Union[IResolvable, ComputeImageTimeouts]
- Type: typing.Union[cdktf.IResolvable, ComputeImageTimeouts]
description: str
- Type: str
disk_size_gb: typing.Union[int, float]
- Type: typing.Union[int, float]
family: str
- Type: str
id: str
- Type: str
labels: typing.Mapping[str]
- Type: typing.Mapping[str]
licenses: typing.List[str]
- Type: typing.List[str]
name: str
- Type: str
project: str
- Type: str
source_disk: str
- Type: str
source_image: str
- Type: str
source_snapshot: str
- Type: str
storage_locations: typing.List[str]
- Type: typing.List[str]
Name | Type | Description |
---|---|---|
tfResourceType |
str |
No description. |
tfResourceType: str
- Type: str
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
)
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. |
connection: typing.Union[SSHProvisionerConnection, WinrmProvisionerConnection]
- Type: typing.Union[cdktf.SSHProvisionerConnection, cdktf.WinrmProvisionerConnection]
count: typing.Union[typing.Union[int, float], TerraformCount]
- Type: typing.Union[typing.Union[int, float], cdktf.TerraformCount]
depends_on: typing.List[ITerraformDependable]
- Type: typing.List[cdktf.ITerraformDependable]
for_each: ITerraformIterator
- Type: cdktf.ITerraformIterator
lifecycle: TerraformResourceLifecycle
- Type: cdktf.TerraformResourceLifecycle
provider: TerraformProvider
- Type: cdktf.TerraformProvider
provisioners: typing.List[typing.Union[FileProvisioner, LocalExecProvisioner, RemoteExecProvisioner]]
- Type: typing.List[typing.Union[cdktf.FileProvisioner, cdktf.LocalExecProvisioner, cdktf.RemoteExecProvisioner]]
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}
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_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}
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_features: typing.Union[IResolvable, typing.List[ComputeImageGuestOsFeatures]]
- Type: typing.Union[cdktf.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}
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_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}
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}
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}
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_disk: ComputeImageRawDisk
- Type: 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_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_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_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_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_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_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_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_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}
timeouts: ComputeImageTimeouts
- Type: 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}
from cdktf_cdktf_provider_google import compute_image
computeImage.ComputeImageGuestOsFeatures(
type: str
)
Name | Type | Description |
---|---|---|
type |
str |
The type of supported feature. |
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}
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
)
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_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_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_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_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}
from cdktf_cdktf_provider_google import compute_image
computeImage.ComputeImageRawDisk(
source: str,
container_type: str = None,
sha1: str = None
)
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. |
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_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}
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}
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
)
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. |
dbs: typing.Union[IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateDbs]]
- Type: typing.Union[cdktf.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}
dbxs: typing.Union[IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateDbxs]]
- Type: typing.Union[cdktf.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}
keks: typing.Union[IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateKeks]]
- Type: typing.Union[cdktf.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}
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}
from cdktf_cdktf_provider_google import compute_image
computeImage.ComputeImageShieldedInstanceInitialStateDbs(
content: str,
file_type: str = None
)
Name | Type | Description |
---|---|---|
content |
str |
The raw content in the secure keys file. |
file_type |
str |
The file type of source file. |
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_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}
from cdktf_cdktf_provider_google import compute_image
computeImage.ComputeImageShieldedInstanceInitialStateDbxs(
content: str,
file_type: str = None
)
Name | Type | Description |
---|---|---|
content |
str |
The raw content in the secure keys file. |
file_type |
str |
The file type of source file. |
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_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}
from cdktf_cdktf_provider_google import compute_image
computeImage.ComputeImageShieldedInstanceInitialStateKeks(
content: str,
file_type: str = None
)
Name | Type | Description |
---|---|---|
content |
str |
The raw content in the secure keys file. |
file_type |
str |
The file type of source file. |
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_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}
from cdktf_cdktf_provider_google import compute_image
computeImage.ComputeImageShieldedInstanceInitialStatePk(
content: str,
file_type: str = None
)
Name | Type | Description |
---|---|---|
content |
str |
The raw content in the secure keys file. |
file_type |
str |
The file type of source file. |
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_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}
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
)
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_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_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_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_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}
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
)
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_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_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_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_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}
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
)
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_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_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_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_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}
from cdktf_cdktf_provider_google import compute_image
computeImage.ComputeImageTimeouts(
create: str = None,
delete: str = None,
update: str = None
)
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}. |
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}.
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}.
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}.
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). |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
- Type: bool
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
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. |
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.
- Type: str
def compute_fqn() -> str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def get(
index: typing.Union[int, float]
) -> ComputeImageGuestOsFeaturesOutputReference
- Type: typing.Union[int, float]
the index of the item to return.
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_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.
fqn: str
- Type: str
internal_value: typing.Union[IResolvable, typing.List[ComputeImageGuestOsFeatures]]
- Type: typing.Union[cdktf.IResolvable, typing.List[ComputeImageGuestOsFeatures]]
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). |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
- Type: typing.Union[int, float]
the index of this item in the list.
- Type: bool
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
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. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
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_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.
fqn: str
- Type: str
type_input: str
- Type: str
type: str
- Type: str
internal_value: typing.Union[IResolvable, ComputeImageGuestOsFeatures]
- Type: typing.Union[cdktf.IResolvable, ComputeImageGuestOsFeatures]
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
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. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_kms_key_self_link() -> None
def reset_kms_key_service_account() -> None
def reset_raw_key() -> None
def reset_rsa_encrypted_key() -> None
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_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.
fqn: str
- Type: str
kms_key_self_link_input: str
- Type: str
kms_key_service_account_input: str
- Type: str
raw_key_input: str
- Type: str
rsa_encrypted_key_input: str
- Type: str
kms_key_self_link: str
- Type: str
kms_key_service_account: str
- Type: str
raw_key: str
- Type: str
rsa_encrypted_key: str
- Type: str
internal_value: ComputeImageImageEncryptionKey
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
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. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_container_type() -> None
def reset_sha1() -> None
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_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.
fqn: str
- Type: str
container_type_input: str
- Type: str
sha1_input: str
- Type: str
source_input: str
- Type: str
container_type: str
- Type: str
sha1: str
- Type: str
source: str
- Type: str
internal_value: ComputeImageRawDisk
- Type: ComputeImageRawDisk
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). |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
- Type: bool
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
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. |
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.
- Type: str
def compute_fqn() -> str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def get(
index: typing.Union[int, float]
) -> ComputeImageShieldedInstanceInitialStateDbsOutputReference
- Type: typing.Union[int, float]
the index of the item to return.
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_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.
fqn: str
- Type: str
internal_value: typing.Union[IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateDbs]]
- Type: typing.Union[cdktf.IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateDbs]]
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). |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
- Type: typing.Union[int, float]
the index of this item in the list.
- Type: bool
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
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. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_file_type() -> None
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_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.
fqn: str
- Type: str
content_input: str
- Type: str
file_type_input: str
- Type: str
content: str
- Type: str
file_type: str
- Type: str
internal_value: typing.Union[IResolvable, ComputeImageShieldedInstanceInitialStateDbs]
- Type: typing.Union[cdktf.IResolvable, ComputeImageShieldedInstanceInitialStateDbs]
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). |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
- Type: bool
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
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. |
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.
- Type: str
def compute_fqn() -> str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def get(
index: typing.Union[int, float]
) -> ComputeImageShieldedInstanceInitialStateDbxsOutputReference
- Type: typing.Union[int, float]
the index of the item to return.
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_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.
fqn: str
- Type: str
internal_value: typing.Union[IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateDbxs]]
- Type: typing.Union[cdktf.IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateDbxs]]
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). |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
- Type: typing.Union[int, float]
the index of this item in the list.
- Type: bool
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
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. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_file_type() -> None
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_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.
fqn: str
- Type: str
content_input: str
- Type: str
file_type_input: str
- Type: str
content: str
- Type: str
file_type: str
- Type: str
internal_value: typing.Union[IResolvable, ComputeImageShieldedInstanceInitialStateDbxs]
- Type: typing.Union[cdktf.IResolvable, ComputeImageShieldedInstanceInitialStateDbxs]
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). |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
- Type: bool
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
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. |
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.
- Type: str
def compute_fqn() -> str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def get(
index: typing.Union[int, float]
) -> ComputeImageShieldedInstanceInitialStateKeksOutputReference
- Type: typing.Union[int, float]
the index of the item to return.
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_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.
fqn: str
- Type: str
internal_value: typing.Union[IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateKeks]]
- Type: typing.Union[cdktf.IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateKeks]]
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). |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
- Type: typing.Union[int, float]
the index of this item in the list.
- Type: bool
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
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. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_file_type() -> None
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_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.
fqn: str
- Type: str
content_input: str
- Type: str
file_type_input: str
- Type: str
content: str
- Type: str
file_type: str
- Type: str
internal_value: typing.Union[IResolvable, ComputeImageShieldedInstanceInitialStateKeks]
- Type: typing.Union[cdktf.IResolvable, ComputeImageShieldedInstanceInitialStateKeks]
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
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. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def put_dbs(
value: typing.Union[IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateDbs]]
) -> None
- Type: typing.Union[cdktf.IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateDbs]]
def put_dbxs(
value: typing.Union[IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateDbxs]]
) -> None
- Type: typing.Union[cdktf.IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateDbxs]]
def put_keks(
value: typing.Union[IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateKeks]]
) -> None
- Type: typing.Union[cdktf.IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateKeks]]
def put_pk(
content: str,
file_type: str = None
) -> None
- 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}
- 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}
def reset_dbs() -> None
def reset_dbxs() -> None
def reset_keks() -> None
def reset_pk() -> None
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_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.
fqn: str
- Type: str
dbs: ComputeImageShieldedInstanceInitialStateDbsList
dbxs: ComputeImageShieldedInstanceInitialStateDbxsList
keks: ComputeImageShieldedInstanceInitialStateKeksList
pk: ComputeImageShieldedInstanceInitialStatePkOutputReference
dbs_input: typing.Union[IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateDbs]]
- Type: typing.Union[cdktf.IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateDbs]]
dbxs_input: typing.Union[IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateDbxs]]
- Type: typing.Union[cdktf.IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateDbxs]]
keks_input: typing.Union[IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateKeks]]
- Type: typing.Union[cdktf.IResolvable, typing.List[ComputeImageShieldedInstanceInitialStateKeks]]
pk_input: ComputeImageShieldedInstanceInitialStatePk
internal_value: ComputeImageShieldedInstanceInitialState
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
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. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_file_type() -> None
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_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.
fqn: str
- Type: str
content_input: str
- Type: str
file_type_input: str
- Type: str
content: str
- Type: str
file_type: str
- Type: str
internal_value: ComputeImageShieldedInstanceInitialStatePk
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
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. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_kms_key_self_link() -> None
def reset_kms_key_service_account() -> None
def reset_raw_key() -> None
def reset_rsa_encrypted_key() -> None
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_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.
fqn: str
- Type: str
kms_key_self_link_input: str
- Type: str
kms_key_service_account_input: str
- Type: str
raw_key_input: str
- Type: str
rsa_encrypted_key_input: str
- Type: str
kms_key_self_link: str
- Type: str
kms_key_service_account: str
- Type: str
raw_key: str
- Type: str
rsa_encrypted_key: str
- Type: str
internal_value: ComputeImageSourceDiskEncryptionKey
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
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. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_kms_key_self_link() -> None
def reset_kms_key_service_account() -> None
def reset_raw_key() -> None
def reset_rsa_encrypted_key() -> None
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_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.
fqn: str
- Type: str
kms_key_self_link_input: str
- Type: str
kms_key_service_account_input: str
- Type: str
raw_key_input: str
- Type: str
rsa_encrypted_key_input: str
- Type: str
kms_key_self_link: str
- Type: str
kms_key_service_account: str
- Type: str
raw_key: str
- Type: str
rsa_encrypted_key: str
- Type: str
internal_value: ComputeImageSourceImageEncryptionKey
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
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. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_kms_key_self_link() -> None
def reset_kms_key_service_account() -> None
def reset_raw_key() -> None
def reset_rsa_encrypted_key() -> None
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_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.
fqn: str
- Type: str
kms_key_self_link_input: str
- Type: str
kms_key_service_account_input: str
- Type: str
raw_key_input: str
- Type: str
rsa_encrypted_key_input: str
- Type: str
kms_key_self_link: str
- Type: str
kms_key_service_account: str
- Type: str
raw_key: str
- Type: str
rsa_encrypted_key: str
- Type: str
internal_value: ComputeImageSourceSnapshotEncryptionKey
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. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: str
The attribute on the parent resource this class is referencing.
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. |
def compute_fqn() -> str
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
- Type: str
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
- Type: str
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
- Type: str
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
- Type: str
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
- Type: str
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
- Type: str
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
- Type: str
def get_string_attribute(
terraform_attribute: str
) -> str
- Type: str
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
- Type: str
def interpolation_for_attribute(
property: str
) -> IResolvable
- Type: str
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
def to_string() -> str
Return a string representation of this resolvable object.
Returns a reversible string representation.
def reset_create() -> None
def reset_delete() -> None
def reset_update() -> None
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_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.
fqn: str
- Type: str
create_input: str
- Type: str
delete_input: str
- Type: str
update_input: str
- Type: str
create: str
- Type: str
delete: str
- Type: str
update: str
- Type: str
internal_value: typing.Union[IResolvable, ComputeImageTimeouts]
- Type: typing.Union[cdktf.IResolvable, ComputeImageTimeouts]