amazonka-redshift-1.4.2: Amazon Redshift SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@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

data CreateHSMConfiguration Source #

See: createHSMConfiguration smart constructor.

Instances

Eq CreateHSMConfiguration Source # 
Data CreateHSMConfiguration Source # 

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 # 
Show CreateHSMConfiguration Source # 
Generic CreateHSMConfiguration Source # 
Hashable CreateHSMConfiguration Source # 
NFData CreateHSMConfiguration Source # 

Methods

rnf :: CreateHSMConfiguration -> () #

AWSRequest CreateHSMConfiguration Source # 
ToPath CreateHSMConfiguration Source # 
ToHeaders CreateHSMConfiguration Source # 
ToQuery CreateHSMConfiguration Source # 
type Rep CreateHSMConfiguration Source # 
type Rep CreateHSMConfiguration = D1 (MetaData "CreateHSMConfiguration" "Network.AWS.Redshift.CreateHSMConfiguration" "amazonka-redshift-1.4.2-6pcb6KeSjlW7uTiZZqVkvG" False) (C1 (MetaCons "CreateHSMConfiguration'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_chcTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Tag]))) ((:*:) (S1 (MetaSel (Just Symbol "_chcHSMConfigurationIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_chcDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_chcHSMIPAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_chcHSMPartitionName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_chcHSMPartitionPassword") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_chcHSMServerPublicCertificate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs CreateHSMConfiguration Source # 

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

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 # 
Show CreateHSMConfigurationResponse Source # 
Generic CreateHSMConfigurationResponse Source # 
NFData CreateHSMConfigurationResponse Source # 
type Rep CreateHSMConfigurationResponse Source # 
type Rep CreateHSMConfigurationResponse = D1 (MetaData "CreateHSMConfigurationResponse" "Network.AWS.Redshift.CreateHSMConfiguration" "amazonka-redshift-1.4.2-6pcb6KeSjlW7uTiZZqVkvG" False) (C1 (MetaCons "CreateHSMConfigurationResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_chcrsHSMConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe HSMConfiguration))) (S1 (MetaSel (Just Symbol "_chcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses