Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Cluster = Cluster' {
- status :: Maybe Status
- clusterArn :: Maybe Text
- name :: Maybe Text
- clusterEndpoints :: Maybe [ClusterEndpoint]
- newCluster :: Cluster
- cluster_status :: Lens' Cluster (Maybe Status)
- cluster_clusterArn :: Lens' Cluster (Maybe Text)
- cluster_name :: Lens' Cluster (Maybe Text)
- cluster_clusterEndpoints :: Lens' Cluster (Maybe [ClusterEndpoint])
Documentation
A cluster is a set of five consensus-forming Regional endpoints that represent the infrastructure that hosts your routing controls. Typically, you host together on one cluster all of the routing controls for your applications.
See: newCluster
smart constructor.
Cluster' | |
|
Instances
Eq Cluster Source # | |
Read Cluster Source # | |
Show Cluster Source # | |
Generic Cluster Source # | |
NFData Cluster Source # | |
Hashable Cluster Source # | |
FromJSON Cluster Source # | |
type Rep Cluster Source # | |
Defined in Amazonka.Route53RecoveryControlConfig.Types.Cluster type Rep Cluster = D1 ('MetaData "Cluster" "Amazonka.Route53RecoveryControlConfig.Types.Cluster" "libZSservicesZSamazonka-route53-recovery-control-configZSamazonka-route53-recovery-control-config" 'False) (C1 ('MetaCons "Cluster'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Status)) :*: S1 ('MetaSel ('Just "clusterArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "clusterEndpoints") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ClusterEndpoint]))))) |
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:status:Cluster'
, cluster_status
- Deployment status of a resource. Status can be one of the following:
PENDING, DEPLOYED, PENDING_DELETION.
$sel:clusterArn:Cluster'
, cluster_clusterArn
- The Amazon Resource Name (ARN) of the cluster.
$sel:name:Cluster'
, cluster_name
- The name of the cluster.
$sel:clusterEndpoints:Cluster'
, cluster_clusterEndpoints
- Endpoints for a cluster. Specify one of these endpoints when you want to
set or retrieve a routing control state in the cluster.
To get or update the routing control state, see the Amazon Route 53 Application Recovery Controller Cluster (Data Plane) Actions.
cluster_status :: Lens' Cluster (Maybe Status) Source #
Deployment status of a resource. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
cluster_clusterArn :: Lens' Cluster (Maybe Text) Source #
The Amazon Resource Name (ARN) of the cluster.
cluster_clusterEndpoints :: Lens' Cluster (Maybe [ClusterEndpoint]) Source #
Endpoints for a cluster. Specify one of these endpoints when you want to set or retrieve a routing control state in the cluster.
To get or update the routing control state, see the Amazon Route 53 Application Recovery Controller Cluster (Data Plane) Actions.