Interface EksOptimizedImageProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
EksOptimizedImageProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-22T02:24:01.448Z") @Stability(Stable) public interface EksOptimizedImageProps extends software.amazon.jsii.JsiiSerializable
Properties for EksOptimizedImage.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.eks.*;
 EksOptimizedImageProps eksOptimizedImageProps = EksOptimizedImageProps.builder()
         .cpuArch(CpuArch.ARM_64)
         .kubernetesVersion("kubernetesVersion")
         .nodeType(NodeType.STANDARD)
         .build();
 
  • Method Details

    • getCpuArch

      @Stability(Stable) @Nullable default CpuArch getCpuArch()
      What cpu architecture to retrieve the image for (arm64 or x86_64).

      Default: CpuArch.X86_64

    • getKubernetesVersion

      @Stability(Stable) @Nullable default String getKubernetesVersion()
      The Kubernetes version to use.

      Default: - The latest version

    • getNodeType

      @Stability(Stable) @Nullable default NodeType getNodeType()
      What instance type to retrieve the image for (standard or GPU-optimized).

      Default: NodeType.STANDARD

    • builder

      @Stability(Stable) static EksOptimizedImageProps.Builder builder()
      Returns:
      a EksOptimizedImageProps.Builder of EksOptimizedImageProps