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 |
Connects a Kubernetes cluster to the Amazon EKS control plane.
Any Kubernetes cluster can be connected to the Amazon EKS control plane to view current information about the cluster and its nodes.
Cluster connection requires two steps. First, send a
RegisterClusterRequest
to add it to the Amazon EKS control
plane.
Second, a
Manifest
containing the activationID
and activationCode
must be applied to
the Kubernetes cluster through it's native provider to provide
visibility.
After the Manifest is updated and applied, then the connected cluster is visible to the Amazon EKS control plane. If the Manifest is not applied within three days, then the connected cluster will no longer be visible and must be deregistered. See DeregisterCluster.
Synopsis
- data RegisterCluster = RegisterCluster' {}
- newRegisterCluster :: Text -> ConnectorConfigRequest -> RegisterCluster
- registerCluster_clientRequestToken :: Lens' RegisterCluster (Maybe Text)
- registerCluster_tags :: Lens' RegisterCluster (Maybe (HashMap Text Text))
- registerCluster_name :: Lens' RegisterCluster Text
- registerCluster_connectorConfig :: Lens' RegisterCluster ConnectorConfigRequest
- data RegisterClusterResponse = RegisterClusterResponse' {
- cluster :: Maybe Cluster
- httpStatus :: Int
- newRegisterClusterResponse :: Int -> RegisterClusterResponse
- registerClusterResponse_cluster :: Lens' RegisterClusterResponse (Maybe Cluster)
- registerClusterResponse_httpStatus :: Lens' RegisterClusterResponse Int
Creating a Request
data RegisterCluster Source #
See: newRegisterCluster
smart constructor.
RegisterCluster' | |
|
Instances
Create a value of RegisterCluster
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:
RegisterCluster
, registerCluster_clientRequestToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
RegisterCluster
, registerCluster_tags
- The metadata that you apply to the cluster to assist with categorization
and organization. Each tag consists of a key and an optional value, both
of which you define. Cluster tags do not propagate to any other
resources associated with the cluster.
RegisterCluster
, registerCluster_name
- Define a unique name for this cluster for your Region.
RegisterCluster
, registerCluster_connectorConfig
- The configuration settings required to connect the Kubernetes cluster to
the Amazon EKS control plane.
Request Lenses
registerCluster_clientRequestToken :: Lens' RegisterCluster (Maybe Text) Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
registerCluster_tags :: Lens' RegisterCluster (Maybe (HashMap Text Text)) Source #
The metadata that you apply to the cluster to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Cluster tags do not propagate to any other resources associated with the cluster.
registerCluster_name :: Lens' RegisterCluster Text Source #
Define a unique name for this cluster for your Region.
registerCluster_connectorConfig :: Lens' RegisterCluster ConnectorConfigRequest Source #
The configuration settings required to connect the Kubernetes cluster to the Amazon EKS control plane.
Destructuring the Response
data RegisterClusterResponse Source #
See: newRegisterClusterResponse
smart constructor.
RegisterClusterResponse' | |
|
Instances
newRegisterClusterResponse Source #
Create a value of RegisterClusterResponse
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:cluster:RegisterClusterResponse'
, registerClusterResponse_cluster
- Undocumented member.
$sel:httpStatus:RegisterClusterResponse'
, registerClusterResponse_httpStatus
- The response's http status code.
Response Lenses
registerClusterResponse_cluster :: Lens' RegisterClusterResponse (Maybe Cluster) Source #
Undocumented member.
registerClusterResponse_httpStatus :: Lens' RegisterClusterResponse Int Source #
The response's http status code.