EksOptimizedImage

class aws_cdk.aws_eks_legacy.EksOptimizedImage(*, kubernetes_version=None, node_type=None)

Bases: object

(deprecated) Construct an Amazon Linux 2 image from the latest EKS Optimized AMI published in SSM.

Stability

deprecated

(deprecated) Constructs a new instance of the EcsOptimizedAmi class.

Parameters
  • kubernetes_version (Optional[str]) – (deprecated) The Kubernetes version to use. Default: - The latest version

  • node_type (Optional[NodeType]) – (deprecated) What instance type to retrieve the image for (standard or GPU-optimized). Default: NodeType.STANDARD

Stability

deprecated

Methods

get_image(scope)

(deprecated) Return the correct image.

Parameters

scope (Construct) –

Stability

deprecated

Return type

MachineImageConfig