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 |
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.
Synopsis
- data CreateHsmConfiguration = CreateHsmConfiguration' {}
- newCreateHsmConfiguration :: Text -> Text -> Text -> Text -> Text -> Text -> CreateHsmConfiguration
- createHsmConfiguration_tags :: Lens' CreateHsmConfiguration (Maybe [Tag])
- createHsmConfiguration_hsmConfigurationIdentifier :: Lens' CreateHsmConfiguration Text
- createHsmConfiguration_description :: Lens' CreateHsmConfiguration Text
- createHsmConfiguration_hsmIpAddress :: Lens' CreateHsmConfiguration Text
- createHsmConfiguration_hsmPartitionName :: Lens' CreateHsmConfiguration Text
- createHsmConfiguration_hsmPartitionPassword :: Lens' CreateHsmConfiguration Text
- createHsmConfiguration_hsmServerPublicCertificate :: Lens' CreateHsmConfiguration Text
- data CreateHsmConfigurationResponse = CreateHsmConfigurationResponse' {}
- newCreateHsmConfigurationResponse :: Int -> CreateHsmConfigurationResponse
- createHsmConfigurationResponse_hsmConfiguration :: Lens' CreateHsmConfigurationResponse (Maybe HsmConfiguration)
- createHsmConfigurationResponse_httpStatus :: Lens' CreateHsmConfigurationResponse Int
Creating a Request
data CreateHsmConfiguration Source #
See: newCreateHsmConfiguration
smart constructor.
CreateHsmConfiguration' | |
|
Instances
newCreateHsmConfiguration Source #
Create a value of CreateHsmConfiguration
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:tags:CreateHsmConfiguration'
, createHsmConfiguration_tags
- A list of tag instances.
$sel:hsmConfigurationIdentifier:CreateHsmConfiguration'
, createHsmConfiguration_hsmConfigurationIdentifier
- The identifier to be assigned to the new Amazon Redshift HSM
configuration.
$sel:description:CreateHsmConfiguration'
, createHsmConfiguration_description
- A text description of the HSM configuration to be created.
$sel:hsmIpAddress:CreateHsmConfiguration'
, createHsmConfiguration_hsmIpAddress
- The IP address that the Amazon Redshift cluster must use to access the
HSM.
$sel:hsmPartitionName:CreateHsmConfiguration'
, createHsmConfiguration_hsmPartitionName
- The name of the partition in the HSM where the Amazon Redshift clusters
will store their database encryption keys.
$sel:hsmPartitionPassword:CreateHsmConfiguration'
, createHsmConfiguration_hsmPartitionPassword
- The password required to access the HSM partition.
$sel:hsmServerPublicCertificate:CreateHsmConfiguration'
, createHsmConfiguration_hsmServerPublicCertificate
- The HSMs public certificate file. When using Cloud HSM, the file name is
server.pem.
Request Lenses
createHsmConfiguration_tags :: Lens' CreateHsmConfiguration (Maybe [Tag]) Source #
A list of tag instances.
createHsmConfiguration_hsmConfigurationIdentifier :: Lens' CreateHsmConfiguration Text Source #
The identifier to be assigned to the new Amazon Redshift HSM configuration.
createHsmConfiguration_description :: Lens' CreateHsmConfiguration Text Source #
A text description of the HSM configuration to be created.
createHsmConfiguration_hsmIpAddress :: Lens' CreateHsmConfiguration Text Source #
The IP address that the Amazon Redshift cluster must use to access the HSM.
createHsmConfiguration_hsmPartitionName :: Lens' CreateHsmConfiguration Text Source #
The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys.
createHsmConfiguration_hsmPartitionPassword :: Lens' CreateHsmConfiguration Text Source #
The password required to access the HSM partition.
createHsmConfiguration_hsmServerPublicCertificate :: Lens' CreateHsmConfiguration Text Source #
The HSMs public certificate file. When using Cloud HSM, the file name is server.pem.
Destructuring the Response
data CreateHsmConfigurationResponse Source #
See: newCreateHsmConfigurationResponse
smart constructor.
CreateHsmConfigurationResponse' | |
|
Instances
Eq CreateHsmConfigurationResponse Source # | |
Read CreateHsmConfigurationResponse Source # | |
Show CreateHsmConfigurationResponse Source # | |
Defined in Amazonka.Redshift.CreateHsmConfiguration | |
Generic CreateHsmConfigurationResponse Source # | |
NFData CreateHsmConfigurationResponse Source # | |
Defined in Amazonka.Redshift.CreateHsmConfiguration rnf :: CreateHsmConfigurationResponse -> () # | |
type Rep CreateHsmConfigurationResponse Source # | |
Defined in Amazonka.Redshift.CreateHsmConfiguration type Rep CreateHsmConfigurationResponse = D1 ('MetaData "CreateHsmConfigurationResponse" "Amazonka.Redshift.CreateHsmConfiguration" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "CreateHsmConfigurationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "hsmConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HsmConfiguration)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCreateHsmConfigurationResponse Source #
Create a value of CreateHsmConfigurationResponse
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:hsmConfiguration:CreateHsmConfigurationResponse'
, createHsmConfigurationResponse_hsmConfiguration
- Undocumented member.
$sel:httpStatus:CreateHsmConfigurationResponse'
, createHsmConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
createHsmConfigurationResponse_hsmConfiguration :: Lens' CreateHsmConfigurationResponse (Maybe HsmConfiguration) Source #
Undocumented member.
createHsmConfigurationResponse_httpStatus :: Lens' CreateHsmConfigurationResponse Int Source #
The response's http status code.