libZSservicesZSamazonka-redshiftZSamazonka-redshift
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Redshift.CreateHsmConfiguration

Description

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

Creating a Request

data CreateHsmConfiguration Source #

See: newCreateHsmConfiguration smart constructor.

Constructors

CreateHsmConfiguration' 

Fields

Instances

Instances details
Eq CreateHsmConfiguration Source # 
Instance details

Defined in Amazonka.Redshift.CreateHsmConfiguration

Read CreateHsmConfiguration Source # 
Instance details

Defined in Amazonka.Redshift.CreateHsmConfiguration

Show CreateHsmConfiguration Source # 
Instance details

Defined in Amazonka.Redshift.CreateHsmConfiguration

Generic CreateHsmConfiguration Source # 
Instance details

Defined in Amazonka.Redshift.CreateHsmConfiguration

Associated Types

type Rep CreateHsmConfiguration :: Type -> Type #

NFData CreateHsmConfiguration Source # 
Instance details

Defined in Amazonka.Redshift.CreateHsmConfiguration

Methods

rnf :: CreateHsmConfiguration -> () #

Hashable CreateHsmConfiguration Source # 
Instance details

Defined in Amazonka.Redshift.CreateHsmConfiguration

AWSRequest CreateHsmConfiguration Source # 
Instance details

Defined in Amazonka.Redshift.CreateHsmConfiguration

Associated Types

type AWSResponse CreateHsmConfiguration #

ToHeaders CreateHsmConfiguration Source # 
Instance details

Defined in Amazonka.Redshift.CreateHsmConfiguration

ToPath CreateHsmConfiguration Source # 
Instance details

Defined in Amazonka.Redshift.CreateHsmConfiguration

ToQuery CreateHsmConfiguration Source # 
Instance details

Defined in Amazonka.Redshift.CreateHsmConfiguration

type Rep CreateHsmConfiguration Source # 
Instance details

Defined in Amazonka.Redshift.CreateHsmConfiguration

type Rep CreateHsmConfiguration = D1 ('MetaData "CreateHsmConfiguration" "Amazonka.Redshift.CreateHsmConfiguration" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "CreateHsmConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: (S1 ('MetaSel ('Just "hsmConfigurationIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "hsmIpAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "hsmPartitionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "hsmPartitionPassword") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "hsmServerPublicCertificate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateHsmConfiguration Source # 
Instance details

Defined in Amazonka.Redshift.CreateHsmConfiguration

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_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.

Constructors

CreateHsmConfigurationResponse' 

Fields

Instances

Instances details
Eq CreateHsmConfigurationResponse Source # 
Instance details

Defined in Amazonka.Redshift.CreateHsmConfiguration

Read CreateHsmConfigurationResponse Source # 
Instance details

Defined in Amazonka.Redshift.CreateHsmConfiguration

Show CreateHsmConfigurationResponse Source # 
Instance details

Defined in Amazonka.Redshift.CreateHsmConfiguration

Generic CreateHsmConfigurationResponse Source # 
Instance details

Defined in Amazonka.Redshift.CreateHsmConfiguration

Associated Types

type Rep CreateHsmConfigurationResponse :: Type -> Type #

NFData CreateHsmConfigurationResponse Source # 
Instance details

Defined in Amazonka.Redshift.CreateHsmConfiguration

type Rep CreateHsmConfigurationResponse Source # 
Instance details

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