EksOptimizedImage

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

Bases: object

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

Stability

experimental

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

Parameters
  • cpu_arch (Optional[CpuArch]) – (experimental) What cpu architecture to retrieve the image for (arm64 or x86_64). Default: CpuArch.X86_64

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

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

Stability

experimental

Methods

get_image(scope)

(experimental) Return the correct image.

Parameters

scope (Construct) –

Stability

experimental

Return type

MachineImageConfig