Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data SSESpecification Source #
Represents the settings used to enable server-side encryption.
See: newSSESpecification
smart constructor.
SSESpecification' | |
|
Instances
newSSESpecification :: SSESpecification Source #
Create a value of SSESpecification
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:enabled:SSESpecification'
, sSESpecification_enabled
- Indicates whether server-side encryption is done using an Amazon Web
Services managed key or an Amazon Web Services owned key. If enabled
(true), server-side encryption type is set to KMS
and an Amazon Web
Services managed key is used (KMS charges apply). If disabled (false) or
not specified, server-side encryption is set to Amazon Web Services
owned key.
$sel:kmsMasterKeyId:SSESpecification'
, sSESpecification_kmsMasterKeyId
- The KMS key that should be used for the KMS encryption. To specify a
key, use its key ID, Amazon Resource Name (ARN), alias name, or alias
ARN. Note that you should only provide this parameter if the key is
different from the default DynamoDB key alias/aws/dynamodb
.
$sel:sSEType:SSESpecification'
, sSESpecification_sSEType
- Server-side encryption type. The only supported value is:
KMS
- Server-side encryption that uses Key Management Service. The key is stored in your account and is managed by KMS (KMS charges apply).
sSESpecification_enabled :: Lens' SSESpecification (Maybe Bool) Source #
Indicates whether server-side encryption is done using an Amazon Web
Services managed key or an Amazon Web Services owned key. If enabled
(true), server-side encryption type is set to KMS
and an Amazon Web
Services managed key is used (KMS charges apply). If disabled (false) or
not specified, server-side encryption is set to Amazon Web Services
owned key.
sSESpecification_kmsMasterKeyId :: Lens' SSESpecification (Maybe Text) Source #
The KMS key that should be used for the KMS encryption. To specify a
key, use its key ID, Amazon Resource Name (ARN), alias name, or alias
ARN. Note that you should only provide this parameter if the key is
different from the default DynamoDB key alias/aws/dynamodb
.
sSESpecification_sSEType :: Lens' SSESpecification (Maybe SSEType) Source #
Server-side encryption type. The only supported value is:
KMS
- Server-side encryption that uses Key Management Service. The key is stored in your account and is managed by KMS (KMS charges apply).