Package-level declarations

Types

Link copied to clipboard
class CryptoKey : KotlinCustomResource

A CryptoKey represents a logical key that can be used for cryptographic operations.

Link copied to clipboard
data class CryptoKeyArgs(val destroyScheduledDuration: Output<String>? = null, val importOnly: Output<Boolean>? = null, val keyRing: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val name: Output<String>? = null, val purpose: Output<String>? = null, val rotationPeriod: Output<String>? = null, val skipInitialVersionCreation: Output<Boolean>? = null, val versionTemplate: Output<CryptoKeyVersionTemplateArgs>? = null) : ConvertibleToJava<CryptoKeyArgs>

A CryptoKey represents a logical key that can be used for cryptographic operations.

Link copied to clipboard
Link copied to clipboard
class CryptoKeyIAMBinding : KotlinCustomResource

Three different resources help you manage your IAM policy for KMS crypto key. Each of these resources serves a different use case:

Link copied to clipboard
data class CryptoKeyIAMBindingArgs(val condition: Output<CryptoKeyIAMBindingConditionArgs>? = null, val cryptoKeyId: Output<String>? = null, val members: Output<List<String>>? = null, val role: Output<String>? = null) : ConvertibleToJava<CryptoKeyIAMBindingArgs>

Three different resources help you manage your IAM policy for KMS crypto key. Each of these resources serves a different use case:

Link copied to clipboard
Link copied to clipboard
class CryptoKeyIAMMember : KotlinCustomResource

Three different resources help you manage your IAM policy for KMS crypto key. Each of these resources serves a different use case:

Link copied to clipboard
data class CryptoKeyIAMMemberArgs(val condition: Output<CryptoKeyIAMMemberConditionArgs>? = null, val cryptoKeyId: Output<String>? = null, val member: Output<String>? = null, val role: Output<String>? = null) : ConvertibleToJava<CryptoKeyIAMMemberArgs>

Three different resources help you manage your IAM policy for KMS crypto key. Each of these resources serves a different use case:

Link copied to clipboard
Link copied to clipboard
class CryptoKeyIAMPolicy : KotlinCustomResource

Three different resources help you manage your IAM policy for KMS crypto key. Each of these resources serves a different use case:

Link copied to clipboard
data class CryptoKeyIAMPolicyArgs(val cryptoKeyId: Output<String>? = null, val policyData: Output<String>? = null) : ConvertibleToJava<CryptoKeyIAMPolicyArgs>

Three different resources help you manage your IAM policy for KMS crypto key. Each of these resources serves a different use case:

Link copied to clipboard
Link copied to clipboard
object CryptoKeyMapper : ResourceMapper<CryptoKey>
Link copied to clipboard
Link copied to clipboard
class CryptoKeyVersion : KotlinCustomResource

A CryptoKeyVersion represents an individual cryptographic key, and the associated key material. Destroying a cryptoKeyVersion will not delete the resource from the project. To get more information about CryptoKeyVersion, see:

Link copied to clipboard
data class CryptoKeyVersionArgs(val cryptoKey: Output<String>? = null, val state: Output<String>? = null) : ConvertibleToJava<CryptoKeyVersionArgs>

A CryptoKeyVersion represents an individual cryptographic key, and the associated key material. Destroying a cryptoKeyVersion will not delete the resource from the project. To get more information about CryptoKeyVersion, see:

Link copied to clipboard
object CryptoKeyVersionMapper : ResourceMapper<CryptoKeyVersion>
Link copied to clipboard
class KeyRing : KotlinCustomResource

A KeyRing is a toplevel logical grouping of CryptoKeys.

Link copied to clipboard
data class KeyRingArgs(val location: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null) : ConvertibleToJava<KeyRingArgs>

A KeyRing is a toplevel logical grouping of CryptoKeys.

Link copied to clipboard
Link copied to clipboard
class KeyRingIAMBinding : KotlinCustomResource

Three different resources help you manage your IAM policy for KMS key ring. Each of these resources serves a different use case:

Link copied to clipboard
data class KeyRingIAMBindingArgs(val condition: Output<KeyRingIAMBindingConditionArgs>? = null, val keyRingId: Output<String>? = null, val members: Output<List<String>>? = null, val role: Output<String>? = null) : ConvertibleToJava<KeyRingIAMBindingArgs>

Three different resources help you manage your IAM policy for KMS key ring. Each of these resources serves a different use case:

Link copied to clipboard
object KeyRingIAMBindingMapper : ResourceMapper<KeyRingIAMBinding>
Link copied to clipboard
class KeyRingIAMMember : KotlinCustomResource

Three different resources help you manage your IAM policy for KMS key ring. Each of these resources serves a different use case:

Link copied to clipboard
data class KeyRingIAMMemberArgs(val condition: Output<KeyRingIAMMemberConditionArgs>? = null, val keyRingId: Output<String>? = null, val member: Output<String>? = null, val role: Output<String>? = null) : ConvertibleToJava<KeyRingIAMMemberArgs>

Three different resources help you manage your IAM policy for KMS key ring. Each of these resources serves a different use case:

Link copied to clipboard
object KeyRingIAMMemberMapper : ResourceMapper<KeyRingIAMMember>
Link copied to clipboard
class KeyRingIAMPolicy : KotlinCustomResource

Three different resources help you manage your IAM policy for KMS key ring. Each of these resources serves a different use case:

Link copied to clipboard
data class KeyRingIAMPolicyArgs(val keyRingId: Output<String>? = null, val policyData: Output<String>? = null) : ConvertibleToJava<KeyRingIAMPolicyArgs>

Three different resources help you manage your IAM policy for KMS key ring. Each of these resources serves a different use case:

Link copied to clipboard
object KeyRingIAMPolicyMapper : ResourceMapper<KeyRingIAMPolicy>
Link copied to clipboard
class KeyRingImportJob : KotlinCustomResource

A KeyRingImportJob can be used to create CryptoKeys and CryptoKeyVersions using pre-existing key material, generated outside of Cloud KMS. A KeyRingImportJob expires 3 days after it is created. Once expired, Cloud KMS will no longer be able to import or unwrap any key material that was wrapped with the KeyRingImportJob's public key.

Link copied to clipboard
data class KeyRingImportJobArgs(val importJobId: Output<String>? = null, val importMethod: Output<String>? = null, val keyRing: Output<String>? = null, val protectionLevel: Output<String>? = null) : ConvertibleToJava<KeyRingImportJobArgs>

A KeyRingImportJob can be used to create CryptoKeys and CryptoKeyVersions using pre-existing key material, generated outside of Cloud KMS. A KeyRingImportJob expires 3 days after it is created. Once expired, Cloud KMS will no longer be able to import or unwrap any key material that was wrapped with the KeyRingImportJob's public key.

Link copied to clipboard
object KeyRingImportJobMapper : ResourceMapper<KeyRingImportJob>
Link copied to clipboard
object KeyRingMapper : ResourceMapper<KeyRing>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class Registry : KotlinCustomResource

DeviceRegistry can be imported using any of these accepted formats

Link copied to clipboard
data class RegistryArgs constructor(val credentials: Output<List<RegistryCredentialArgs>>? = null, val eventNotificationConfigs: Output<List<RegistryEventNotificationConfigItemArgs>>? = null, val httpConfig: Output<Map<String, Any>>? = null, val logLevel: Output<String>? = null, val mqttConfig: Output<Map<String, Any>>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val region: Output<String>? = null, val stateNotificationConfig: Output<Map<String, Any>>? = null) : ConvertibleToJava<RegistryArgs>

DeviceRegistry can be imported using any of these accepted formats

Link copied to clipboard
Link copied to clipboard
object RegistryMapper : ResourceMapper<Registry>
Link copied to clipboard
Link copied to clipboard
class SecretCiphertext : KotlinCustomResource

Encrypts secret data with Google Cloud KMS and provides access to the ciphertext.

Link copied to clipboard
data class SecretCiphertextArgs(val additionalAuthenticatedData: Output<String>? = null, val cryptoKey: Output<String>? = null, val plaintext: Output<String>? = null) : ConvertibleToJava<SecretCiphertextArgs>

Encrypts secret data with Google Cloud KMS and provides access to the ciphertext.

Link copied to clipboard
object SecretCiphertextMapper : ResourceMapper<SecretCiphertext>

Functions

Link copied to clipboard
suspend fun cryptoKey(name: String, block: suspend CryptoKeyResourceBuilder.() -> Unit): CryptoKey
Link copied to clipboard
Link copied to clipboard
fun keyRing(name: String): KeyRing
suspend fun keyRing(name: String, block: suspend KeyRingResourceBuilder.() -> Unit): KeyRing
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun registry(name: String, block: suspend RegistryResourceBuilder.() -> Unit): Registry
Link copied to clipboard