Implements contract method to create a cluster, by importing an existing cluster.
Optional
_secretsEncryptionKey: IKeyStatic
fromCreates a cluster provider for an existing cluster based on the passed result of the describe cluster command.
Static
fromRequires iam permission to eks.DescribeCluster at build time. Retrieves the cluster information using DescribeCluster api and creates an import cluster provider.
name of the cluster
target rego
iam Role that provides access to the cluster API (kubectl). The CDK custom resource should be able to assume the role which in some cases may require trust policy for the account root principal.
the cluster provider with the import cluster configuration
Importing cluster into the blueprint enabling limited blueprinting capabilities such as adding certain addons, teams.