EncryptionState

sealed class EncryptionState

A structure that contains the encryption configuration for the policy store and child resources.

This data type is used as a response parameter field for the GetPolicyStore operation.

Inheritors

Types

Link copied to clipboard
data class Default(val value: Unit) : EncryptionState

This is the default encryption state. The policy store is encrypted using an Amazon Web Services owned key.

Link copied to clipboard

The KMS encryption settings currently configured for this policy store to encrypt data with. It contains the customer-managed KMS key, and a user-defined encryption context.

Link copied to clipboard

Functions

Link copied to clipboard

Casts this EncryptionState as a Default and retrieves its aws.sdk.kotlin.services.verifiedpermissions.model.Unit value. Throws an exception if the EncryptionState is not a Default.

Link copied to clipboard

Casts this EncryptionState as a Default and retrieves its aws.sdk.kotlin.services.verifiedpermissions.model.Unit value. Returns null if the EncryptionState is not a Default.