amazonka-redshift-1.6.1: Amazon Redshift SDK.

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

Network.AWS.Redshift.CreateHSMConfiguration

Contents

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

createHSMConfiguration #

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:

data CreateHSMConfiguration #

See: createHSMConfiguration smart constructor.

Instances
Eq CreateHSMConfiguration # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

Data CreateHSMConfiguration # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateHSMConfiguration -> c CreateHSMConfiguration #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateHSMConfiguration #

toConstr :: CreateHSMConfiguration -> Constr #

dataTypeOf :: CreateHSMConfiguration -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CreateHSMConfiguration) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateHSMConfiguration) #

gmapT :: (forall b. Data b => b -> b) -> CreateHSMConfiguration -> CreateHSMConfiguration #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateHSMConfiguration -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateHSMConfiguration -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateHSMConfiguration -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateHSMConfiguration -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateHSMConfiguration -> m CreateHSMConfiguration #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateHSMConfiguration -> m CreateHSMConfiguration #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateHSMConfiguration -> m CreateHSMConfiguration #

Read CreateHSMConfiguration # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

Show CreateHSMConfiguration # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

Generic CreateHSMConfiguration # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

Associated Types

type Rep CreateHSMConfiguration :: Type -> Type #

Hashable CreateHSMConfiguration # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

AWSRequest CreateHSMConfiguration # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

Associated Types

type Rs CreateHSMConfiguration :: Type #

ToHeaders CreateHSMConfiguration # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

ToPath CreateHSMConfiguration # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

ToQuery CreateHSMConfiguration # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

NFData CreateHSMConfiguration # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

Methods

rnf :: CreateHSMConfiguration -> () #

type Rep CreateHSMConfiguration # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

type Rep CreateHSMConfiguration = D1 (MetaData "CreateHSMConfiguration" "Network.AWS.Redshift.CreateHSMConfiguration" "amazonka-redshift-1.6.1-7E7pXybui4gHstewEovezS" False) (C1 (MetaCons "CreateHSMConfiguration'" PrefixI True) ((S1 (MetaSel (Just "_chcTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Tag])) :*: (S1 (MetaSel (Just "_chcHSMConfigurationIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_chcDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) :*: ((S1 (MetaSel (Just "_chcHSMIPAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_chcHSMPartitionName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_chcHSMPartitionPassword") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_chcHSMServerPublicCertificate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs CreateHSMConfiguration # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

Request Lenses

chcTags :: Lens' CreateHSMConfiguration [Tag] #

A list of tag instances.

chcHSMConfigurationIdentifier :: Lens' CreateHSMConfiguration Text #

The identifier to be assigned to the new Amazon Redshift HSM configuration.

chcDescription :: Lens' CreateHSMConfiguration Text #

A text description of the HSM configuration to be created.

chcHSMIPAddress :: Lens' CreateHSMConfiguration Text #

The IP address that the Amazon Redshift cluster must use to access the HSM.

chcHSMPartitionName :: Lens' CreateHSMConfiguration Text #

The name of the partition in the HSM where the Amazon Redshift clusters will store their database encryption keys.

chcHSMPartitionPassword :: Lens' CreateHSMConfiguration Text #

The password required to access the HSM partition.

chcHSMServerPublicCertificate :: Lens' CreateHSMConfiguration Text #

The HSMs public certificate file. When using Cloud HSM, the file name is server.pem.

Destructuring the Response

createHSMConfigurationResponse #

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:

data CreateHSMConfigurationResponse #

See: createHSMConfigurationResponse smart constructor.

Instances
Eq CreateHSMConfigurationResponse # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

Data CreateHSMConfigurationResponse # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateHSMConfigurationResponse -> c CreateHSMConfigurationResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateHSMConfigurationResponse #

toConstr :: CreateHSMConfigurationResponse -> Constr #

dataTypeOf :: CreateHSMConfigurationResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CreateHSMConfigurationResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateHSMConfigurationResponse) #

gmapT :: (forall b. Data b => b -> b) -> CreateHSMConfigurationResponse -> CreateHSMConfigurationResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateHSMConfigurationResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateHSMConfigurationResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateHSMConfigurationResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateHSMConfigurationResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateHSMConfigurationResponse -> m CreateHSMConfigurationResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateHSMConfigurationResponse -> m CreateHSMConfigurationResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateHSMConfigurationResponse -> m CreateHSMConfigurationResponse #

Read CreateHSMConfigurationResponse # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

Show CreateHSMConfigurationResponse # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

Generic CreateHSMConfigurationResponse # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

Associated Types

type Rep CreateHSMConfigurationResponse :: Type -> Type #

NFData CreateHSMConfigurationResponse # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

type Rep CreateHSMConfigurationResponse # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

type Rep CreateHSMConfigurationResponse = D1 (MetaData "CreateHSMConfigurationResponse" "Network.AWS.Redshift.CreateHSMConfiguration" "amazonka-redshift-1.6.1-7E7pXybui4gHstewEovezS" False) (C1 (MetaCons "CreateHSMConfigurationResponse'" PrefixI True) (S1 (MetaSel (Just "_chcrsHSMConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe HSMConfiguration)) :*: S1 (MetaSel (Just "_chcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses