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 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:

data CreateHSMConfiguration Source #

See: createHSMConfiguration smart constructor.

Instances
Eq CreateHSMConfiguration Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

Data CreateHSMConfiguration Source # 
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 Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

Show CreateHSMConfiguration Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

Generic CreateHSMConfiguration Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

Associated Types

type Rep CreateHSMConfiguration :: Type -> Type #

Hashable CreateHSMConfiguration Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

AWSRequest CreateHSMConfiguration Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

Associated Types

type Rs CreateHSMConfiguration :: Type #

ToHeaders CreateHSMConfiguration Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

ToPath CreateHSMConfiguration Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

ToQuery CreateHSMConfiguration Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

NFData CreateHSMConfiguration Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

Methods

rnf :: CreateHSMConfiguration -> () #

type Rep CreateHSMConfiguration Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

type Rep CreateHSMConfiguration = D1 (MetaData "CreateHSMConfiguration" "Network.AWS.Redshift.CreateHSMConfiguration" "amazonka-redshift-1.6.1-5k9dueihUQf2a2gxNGkSPi" 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 Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

Request Lenses

chcTags :: Lens' CreateHSMConfiguration [Tag] Source #

A list of tag instances.

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:

data CreateHSMConfigurationResponse Source #

See: createHSMConfigurationResponse smart constructor.

Instances
Eq CreateHSMConfigurationResponse Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

Data CreateHSMConfigurationResponse Source # 
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 Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

Show CreateHSMConfigurationResponse Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

Generic CreateHSMConfigurationResponse Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

Associated Types

type Rep CreateHSMConfigurationResponse :: Type -> Type #

NFData CreateHSMConfigurationResponse Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

type Rep CreateHSMConfigurationResponse Source # 
Instance details

Defined in Network.AWS.Redshift.CreateHSMConfiguration

type Rep CreateHSMConfigurationResponse = D1 (MetaData "CreateHSMConfigurationResponse" "Network.AWS.Redshift.CreateHSMConfiguration" "amazonka-redshift-1.6.1-5k9dueihUQf2a2gxNGkSPi" 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