KmsKey

sealed class KmsKey

KMS key info.

Inheritors

Types

Link copied to clipboard
data class KmsAliasArn(val value: String) : KmsKey

KMS Alias Arn.

Link copied to clipboard
data class KmsAliasName(val value: String) : KmsKey

KMS Alias Name.

Link copied to clipboard
data class KmsKeyArn(val value: String) : KmsKey

KMS Key Arn.

Link copied to clipboard

Functions

Link copied to clipboard

Casts this KmsKey as a KmsAliasArn and retrieves its kotlin.String value. Throws an exception if the KmsKey is not a KmsAliasArn.

Link copied to clipboard

Casts this KmsKey as a KmsAliasArn and retrieves its kotlin.String value. Returns null if the KmsKey is not a KmsAliasArn.

Link copied to clipboard

Casts this KmsKey as a KmsAliasName and retrieves its kotlin.String value. Throws an exception if the KmsKey is not a KmsAliasName.

Link copied to clipboard

Casts this KmsKey as a KmsAliasName and retrieves its kotlin.String value. Returns null if the KmsKey is not a KmsAliasName.

Link copied to clipboard

Casts this KmsKey as a KmsKeyArn and retrieves its kotlin.String value. Throws an exception if the KmsKey is not a KmsKeyArn.

Link copied to clipboard

Casts this KmsKey as a KmsKeyArn and retrieves its kotlin.String value. Returns null if the KmsKey is not a KmsKeyArn.