Skip to content
v2.275.0

EksOptimizedImageProps Struct ​

Properties for EksOptimizedImage.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eks as eks } from 'aws-cdk-lib';
const eksOptimizedImageProps: eks.EksOptimizedImageProps = {
  cpuArch: eks.CpuArch.ARM_64,
  kubernetesVersion: 'kubernetesVersion',
  nodeType: eks.NodeType.STANDARD,
};

Properties ​

cpuArchoptionalCpuArchcpu_archoptionalCpuArchcpuArchoptionalCpuArchCpuArchoptionalCpuArchCpuArchoptionalCpuArch= CpuArch.X86_64#
What cpu architecture to retrieve the image for (arm64 or x86_64).
kubernetesVersionoptionalstringkubernetes_versionoptionalstrkubernetesVersionoptionalStringKubernetesVersionoptionalstringKubernetesVersionoptional*string#
The Kubernetes version to use.

Default: The latest version

nodeTypeoptionalNodeTypenode_typeoptionalNodeTypenodeTypeoptionalNodeTypeNodeTypeoptionalNodeTypeNodeTypeoptionalNodeType= NodeType.STANDARD#
What instance type to retrieve the image for (standard or GPU-optimized).