• Function that contains logic to map the correct kunbectl layer based on the passed in version.

    Parameters

    • scope: Construct

      in whch the kubectl layer must be created

    • version: KubernetesVersion

      EKS version

    Returns ILayerVersion | undefined

    ILayerVersion or undefined