Interface ComputeInstanceAttachedDisk

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    ComputeInstanceAttachedDisk.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-31T03:59:18.462Z")
    @Stability(Stable)
    public interface ComputeInstanceAttachedDisk
    extends software.amazon.jsii.JsiiSerializable
    • Method Detail

      • getSource

        @Stability(Stable)
        @NotNull
        String getSource()
        The name or self_link of the disk attached to this instance.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#source ComputeInstance#source}

      • getDeviceName

        @Stability(Stable)
        @Nullable
        default String getDeviceName()
        Name with which the attached disk is accessible under /dev/disk/by-id/.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#device_name ComputeInstance#device_name}

      • getDiskEncryptionKeyRaw

        @Stability(Stable)
        @Nullable
        default String getDiskEncryptionKeyRaw()
        A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk.

        Only one of kms_key_self_link and disk_encryption_key_raw may be set. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#disk_encryption_key_raw ComputeInstance#disk_encryption_key_raw}

      • getKmsKeySelfLink

        @Stability(Stable)
        @Nullable
        default String getKmsKeySelfLink()
        The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk.

        Only one of kms_key_self_link and disk_encryption_key_raw may be set. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#kms_key_self_link ComputeInstance#kms_key_self_link}

      • getMode

        @Stability(Stable)
        @Nullable
        default String getMode()
        Read/write mode for the disk. One of "READ_ONLY" or "READ_WRITE".

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#mode ComputeInstance#mode}