Class ComputeDiskDiskEncryptionKey.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_disk.ComputeDiskDiskEncryptionKey.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeDiskDiskEncryptionKey,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeDiskDiskEncryptionKey
@Stability(Stable) @Internal public static final class ComputeDiskDiskEncryptionKey.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeDiskDiskEncryptionKey
An implementation forComputeDiskDiskEncryptionKey
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.compute_disk.ComputeDiskDiskEncryptionKey
ComputeDiskDiskEncryptionKey.Builder, ComputeDiskDiskEncryptionKey.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeDiskDiskEncryptionKey.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeDiskDiskEncryptionKey.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StringgetKmsKeySelfLink()The self link of the encryption key used to encrypt the disk.StringgetKmsKeyServiceAccount()The service account used for the encryption request for the given KMS key.StringgetRawKey()Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.StringgetRsaEncryptedKey()Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(ComputeDiskDiskEncryptionKey.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeDiskDiskEncryptionKey.Builder.
-
-
Method Detail
-
getKmsKeySelfLink
public final String getKmsKeySelfLink()
Description copied from interface:ComputeDiskDiskEncryptionKeyThe 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:
getKmsKeySelfLinkin interfaceComputeDiskDiskEncryptionKey
-
getKmsKeyServiceAccount
public final String getKmsKeyServiceAccount()
Description copied from interface:ComputeDiskDiskEncryptionKeyThe 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:
getKmsKeyServiceAccountin interfaceComputeDiskDiskEncryptionKey
-
getRawKey
public final String getRawKey()
Description copied from interface:ComputeDiskDiskEncryptionKeySpecifies 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:
getRawKeyin interfaceComputeDiskDiskEncryptionKey
-
getRsaEncryptedKey
public final String getRsaEncryptedKey()
Description copied from interface:ComputeDiskDiskEncryptionKeySpecifies 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/5.43.1/docs/resources/compute_disk#rsa_encrypted_key ComputeDisk#rsa_encrypted_key}
- Specified by:
getRsaEncryptedKeyin interfaceComputeDiskDiskEncryptionKey
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-