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 |
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 a set amount of time, 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_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:
$sel:clientRequestToken:RegisterCluster'
, registerCluster_clientRequestToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
$sel:name:RegisterCluster'
, registerCluster_name
- Define a unique name for this cluster within your AWS account.
$sel:connectorConfig: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_name :: Lens' RegisterCluster Text Source #
Define a unique name for this cluster within your AWS account.
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.