Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Cluster = Cluster' {
- clusterArn :: Maybe Text
- clusterEndpoints :: Maybe [ClusterEndpoint]
- name :: Maybe Text
- status :: Maybe Status
- newCluster :: Cluster
- cluster_clusterArn :: Lens' Cluster (Maybe Text)
- cluster_clusterEndpoints :: Lens' Cluster (Maybe [ClusterEndpoint])
- cluster_name :: Lens' Cluster (Maybe Text)
- cluster_status :: Lens' Cluster (Maybe Status)
Documentation
A set of five redundant Regional endpoints against which you can execute API calls to update or get the state of routing controls. You can host multiple control panels and routing controls on one cluster.
See: newCluster
smart constructor.
Cluster' | |
|
Instances
FromJSON Cluster Source # | |
Generic Cluster Source # | |
Read Cluster Source # | |
Show Cluster Source # | |
NFData Cluster Source # | |
Eq Cluster Source # | |
Hashable Cluster Source # | |
type Rep Cluster Source # | |
Defined in Amazonka.Route53RecoveryControlConfig.Types.Cluster type Rep Cluster = D1 ('MetaData "Cluster" "Amazonka.Route53RecoveryControlConfig.Types.Cluster" "amazonka-route53-recovery-control-config-2.0-EdxrPdjlafWED9VxY6nLf4" 'False) (C1 ('MetaCons "Cluster'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clusterArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "clusterEndpoints") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ClusterEndpoint]))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Status))))) |
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:clusterArn:Cluster'
, cluster_clusterArn
- The Amazon Resource Name (ARN) 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 Routing Control Actions.
$sel:name:Cluster'
, cluster_name
- The name of the cluster.
$sel:status:Cluster'
, cluster_status
- 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 Routing Control Actions.