Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Creates an HSM configuration that contains the information required by an Amazon Redshift cluster to store and use database encryption keys in a Hardware Security Module (HSM). After creating the HSM configuration, you can specify it as a parameter when creating a cluster. The cluster will then store its encryption keys in the HSM.
In addition to creating an HSM configuration, you must also create an HSM client certificate. For more information, go to Hardware Security Modules in the Amazon Redshift Cluster Management Guide.
- createHSMConfiguration :: Text -> Text -> Text -> Text -> Text -> Text -> CreateHSMConfiguration
- data CreateHSMConfiguration
- chcTags :: Lens' CreateHSMConfiguration [Tag]
- chcHSMConfigurationIdentifier :: Lens' CreateHSMConfiguration Text
- chcDescription :: Lens' CreateHSMConfiguration Text
- chcHSMIPAddress :: Lens' CreateHSMConfiguration Text
- chcHSMPartitionName :: Lens' CreateHSMConfiguration Text
- chcHSMPartitionPassword :: Lens' CreateHSMConfiguration Text
- chcHSMServerPublicCertificate :: Lens' CreateHSMConfiguration Text
- createHSMConfigurationResponse :: Int -> CreateHSMConfigurationResponse
- data CreateHSMConfigurationResponse
- chcrsHSMConfiguration :: Lens' CreateHSMConfigurationResponse (Maybe HSMConfiguration)
- chcrsResponseStatus :: Lens' CreateHSMConfigurationResponse Int
Creating a Request
createHSMConfiguration Source #
Creates a value of CreateHSMConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
chcTags
- A list of tag instances.chcHSMConfigurationIdentifier
- The identifier to be assigned to the new Amazon Redshift HSM configuration.chcDescription
- A text description of the HSM configuration to be created.chcHSMIPAddress
- The IP address that the Amazon Redshift cluster must use to access the HSM.chcHSMPartitionName
- The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys.chcHSMPartitionPassword
- The password required to access the HSM partition.chcHSMServerPublicCertificate
- The HSMs public certificate file. When using Cloud HSM, the file name is server.pem.
data CreateHSMConfiguration Source #
See: createHSMConfiguration
smart constructor.
Request Lenses
chcHSMConfigurationIdentifier :: Lens' CreateHSMConfiguration Text Source #
The identifier to be assigned to the new Amazon Redshift HSM configuration.
chcDescription :: Lens' CreateHSMConfiguration Text Source #
A text description of the HSM configuration to be created.
chcHSMIPAddress :: Lens' CreateHSMConfiguration Text Source #
The IP address that the Amazon Redshift cluster must use to access the HSM.
chcHSMPartitionName :: Lens' CreateHSMConfiguration Text Source #
The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys.
chcHSMPartitionPassword :: Lens' CreateHSMConfiguration Text Source #
The password required to access the HSM partition.
chcHSMServerPublicCertificate :: Lens' CreateHSMConfiguration Text Source #
The HSMs public certificate file. When using Cloud HSM, the file name is server.pem.
Destructuring the Response
createHSMConfigurationResponse Source #
Creates a value of CreateHSMConfigurationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
chcrsHSMConfiguration
- Undocumented member.chcrsResponseStatus
- -- | The response status code.
data CreateHSMConfigurationResponse Source #
See: createHSMConfigurationResponse
smart constructor.
Response Lenses
chcrsHSMConfiguration :: Lens' CreateHSMConfigurationResponse (Maybe HSMConfiguration) Source #
Undocumented member.
chcrsResponseStatus :: Lens' CreateHSMConfigurationResponse Int Source #
- - | The response status code.