Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Amazonka.EKS.AssociateEncryptionConfig
Description
Associate encryption configuration to an existing cluster.
You can use this API to enable encryption on existing clusters which do not have encryption already enabled. This allows you to implement a defense-in-depth security strategy without migrating applications to new Amazon EKS clusters.
Synopsis
- data AssociateEncryptionConfig = AssociateEncryptionConfig' {}
- newAssociateEncryptionConfig :: Text -> AssociateEncryptionConfig
- associateEncryptionConfig_clientRequestToken :: Lens' AssociateEncryptionConfig (Maybe Text)
- associateEncryptionConfig_clusterName :: Lens' AssociateEncryptionConfig Text
- associateEncryptionConfig_encryptionConfig :: Lens' AssociateEncryptionConfig [EncryptionConfig]
- data AssociateEncryptionConfigResponse = AssociateEncryptionConfigResponse' {
- update :: Maybe Update
- httpStatus :: Int
- newAssociateEncryptionConfigResponse :: Int -> AssociateEncryptionConfigResponse
- associateEncryptionConfigResponse_update :: Lens' AssociateEncryptionConfigResponse (Maybe Update)
- associateEncryptionConfigResponse_httpStatus :: Lens' AssociateEncryptionConfigResponse Int
Creating a Request
data AssociateEncryptionConfig Source #
See: newAssociateEncryptionConfig
smart constructor.
Constructors
AssociateEncryptionConfig' | |
Fields
|
Instances
newAssociateEncryptionConfig Source #
Create a value of AssociateEncryptionConfig
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:clientRequestToken:AssociateEncryptionConfig'
, associateEncryptionConfig_clientRequestToken
- The client request token you are using with the encryption
configuration.
$sel:clusterName:AssociateEncryptionConfig'
, associateEncryptionConfig_clusterName
- The name of the cluster that you are associating with encryption
configuration.
$sel:encryptionConfig:AssociateEncryptionConfig'
, associateEncryptionConfig_encryptionConfig
- The configuration you are using for encryption.
Request Lenses
associateEncryptionConfig_clientRequestToken :: Lens' AssociateEncryptionConfig (Maybe Text) Source #
The client request token you are using with the encryption configuration.
associateEncryptionConfig_clusterName :: Lens' AssociateEncryptionConfig Text Source #
The name of the cluster that you are associating with encryption configuration.
associateEncryptionConfig_encryptionConfig :: Lens' AssociateEncryptionConfig [EncryptionConfig] Source #
The configuration you are using for encryption.
Destructuring the Response
data AssociateEncryptionConfigResponse Source #
See: newAssociateEncryptionConfigResponse
smart constructor.
Constructors
AssociateEncryptionConfigResponse' | |
Fields
|
Instances
newAssociateEncryptionConfigResponse Source #
Arguments
:: Int | |
-> AssociateEncryptionConfigResponse |
Create a value of AssociateEncryptionConfigResponse
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:update:AssociateEncryptionConfigResponse'
, associateEncryptionConfigResponse_update
- Undocumented member.
$sel:httpStatus:AssociateEncryptionConfigResponse'
, associateEncryptionConfigResponse_httpStatus
- The response's http status code.
Response Lenses
associateEncryptionConfigResponse_update :: Lens' AssociateEncryptionConfigResponse (Maybe Update) Source #
Undocumented member.
associateEncryptionConfigResponse_httpStatus :: Lens' AssociateEncryptionConfigResponse Int Source #
The response's http status code.