Class ComputeDiskSourceSnapshotEncryptionKey.Jsii$Proxy

    • Method Detail

      • getKmsKeySelfLink

        public final String getKmsKeySelfLink()
        Description copied from interface: ComputeDiskSourceSnapshotEncryptionKey
        The self link of the encryption key used to encrypt the disk.

        Also called KmsKeyName in the cloud console. Your project's Compute Engine System service account ('service-{{PROJECT_NUMBER}}@compute-system.iam.gserviceaccount.com') must have 'roles/cloudkms.cryptoKeyEncrypterDecrypter' to use this feature. See https://cloud.google.com/compute/docs/disks/customer-managed-encryption#encrypt_a_new_persistent_disk_with_your_own_keys Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_disk#kms_key_self_link ComputeDisk#kms_key_self_link}

        Specified by:
        getKmsKeySelfLink in interface ComputeDiskSourceSnapshotEncryptionKey
      • getKmsKeyServiceAccount

        public final String getKmsKeyServiceAccount()
        Description copied from interface: ComputeDiskSourceSnapshotEncryptionKey
        The service account used for the encryption request for the given KMS key.

        If absent, the Compute Engine Service Agent service account is used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_disk#kms_key_service_account ComputeDisk#kms_key_service_account}

        Specified by:
        getKmsKeyServiceAccount in interface ComputeDiskSourceSnapshotEncryptionKey
      • getRawKey

        public final String getRawKey()
        Description copied from interface: ComputeDiskSourceSnapshotEncryptionKey
        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/5.43.1/docs/resources/compute_disk#raw_key ComputeDisk#raw_key}

        Specified by:
        getRawKey in interface ComputeDiskSourceSnapshotEncryptionKey
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object