amazonka-cloudhsmv2-2.0: Amazon CloudHSM V2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CloudHSMV2.Types.Cluster

Description

 
Synopsis

Documentation

data Cluster Source #

Contains information about an AWS CloudHSM cluster.

See: newCluster smart constructor.

Constructors

Cluster' 

Fields

Instances

Instances details
FromJSON Cluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Cluster

Generic Cluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Cluster

Associated Types

type Rep Cluster :: Type -> Type #

Methods

from :: Cluster -> Rep Cluster x #

to :: Rep Cluster x -> Cluster #

Read Cluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Cluster

Show Cluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Cluster

NFData Cluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Cluster

Methods

rnf :: Cluster -> () #

Eq Cluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Cluster

Methods

(==) :: Cluster -> Cluster -> Bool #

(/=) :: Cluster -> Cluster -> Bool #

Hashable Cluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Cluster

Methods

hashWithSalt :: Int -> Cluster -> Int #

hash :: Cluster -> Int #

type Rep Cluster Source # 
Instance details

Defined in Amazonka.CloudHSMV2.Types.Cluster

type Rep Cluster = D1 ('MetaData "Cluster" "Amazonka.CloudHSMV2.Types.Cluster" "amazonka-cloudhsmv2-2.0-JPONnjzt63Q1wP3HCntyXZ" 'False) (C1 ('MetaCons "Cluster'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "backupPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BackupPolicy)) :*: (S1 ('MetaSel ('Just "backupRetentionPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BackupRetentionPolicy)) :*: S1 ('MetaSel ('Just "certificates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Certificates)))) :*: ((S1 ('MetaSel ('Just "clusterId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "hsmType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "hsms") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Hsm]))))) :*: (((S1 ('MetaSel ('Just "preCoPassword") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "securityGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "sourceBackupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClusterState)))) :*: ((S1 ('MetaSel ('Just "stateMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "subnetMapping") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "tagList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "vpcId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newCluster :: Cluster Source #

Create a value of Cluster 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:backupPolicy:Cluster', cluster_backupPolicy - The cluster's backup policy.

$sel:backupRetentionPolicy:Cluster', cluster_backupRetentionPolicy - A policy that defines how the service retains backups.

$sel:certificates:Cluster', cluster_certificates - Contains one or more certificates or a certificate signing request (CSR).

Cluster, cluster_clusterId - The cluster's identifier (ID).

$sel:createTimestamp:Cluster', cluster_createTimestamp - The date and time when the cluster was created.

$sel:hsmType:Cluster', cluster_hsmType - The type of HSM that the cluster contains.

$sel:hsms:Cluster', cluster_hsms - Contains information about the HSMs in the cluster.

$sel:preCoPassword:Cluster', cluster_preCoPassword - The default password for the cluster's Pre-Crypto Officer (PRECO) user.

$sel:securityGroup:Cluster', cluster_securityGroup - The identifier (ID) of the cluster's security group.

$sel:sourceBackupId:Cluster', cluster_sourceBackupId - The identifier (ID) of the backup used to create the cluster. This value exists only when the cluster was created from a backup.

Cluster, cluster_state - The cluster's state.

Cluster, cluster_stateMessage - A description of the cluster's state.

$sel:subnetMapping:Cluster', cluster_subnetMapping - A map from availability zone to the cluster’s subnet in that availability zone.

$sel:tagList:Cluster', cluster_tagList - The list of tags for the cluster.

$sel:vpcId:Cluster', cluster_vpcId - The identifier (ID) of the virtual private cloud (VPC) that contains the cluster.

cluster_backupPolicy :: Lens' Cluster (Maybe BackupPolicy) Source #

The cluster's backup policy.

cluster_backupRetentionPolicy :: Lens' Cluster (Maybe BackupRetentionPolicy) Source #

A policy that defines how the service retains backups.

cluster_certificates :: Lens' Cluster (Maybe Certificates) Source #

Contains one or more certificates or a certificate signing request (CSR).

cluster_clusterId :: Lens' Cluster (Maybe Text) Source #

The cluster's identifier (ID).

cluster_createTimestamp :: Lens' Cluster (Maybe UTCTime) Source #

The date and time when the cluster was created.

cluster_hsmType :: Lens' Cluster (Maybe Text) Source #

The type of HSM that the cluster contains.

cluster_hsms :: Lens' Cluster (Maybe [Hsm]) Source #

Contains information about the HSMs in the cluster.

cluster_preCoPassword :: Lens' Cluster (Maybe Text) Source #

The default password for the cluster's Pre-Crypto Officer (PRECO) user.

cluster_securityGroup :: Lens' Cluster (Maybe Text) Source #

The identifier (ID) of the cluster's security group.

cluster_sourceBackupId :: Lens' Cluster (Maybe Text) Source #

The identifier (ID) of the backup used to create the cluster. This value exists only when the cluster was created from a backup.

cluster_stateMessage :: Lens' Cluster (Maybe Text) Source #

A description of the cluster's state.

cluster_subnetMapping :: Lens' Cluster (Maybe (HashMap Text Text)) Source #

A map from availability zone to the cluster’s subnet in that availability zone.

cluster_tagList :: Lens' Cluster (Maybe [Tag]) Source #

The list of tags for the cluster.

cluster_vpcId :: Lens' Cluster (Maybe Text) Source #

The identifier (ID) of the virtual private cloud (VPC) that contains the cluster.