EksOptimizedImageProps

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

Bases: object

Properties for EksOptimizedImage.

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

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

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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_eks as eks

eks_optimized_image_props = eks.EksOptimizedImageProps(
    cpu_arch=eks.CpuArch.ARM_64,
    kubernetes_version="kubernetesVersion",
    node_type=eks.NodeType.STANDARD
)

Attributes

cpu_arch

What cpu architecture to retrieve the image for (arm64 or x86_64).

Default:

CpuArch.X86_64

kubernetes_version

The Kubernetes version to use.

Default:
  • The latest version

node_type

What instance type to retrieve the image for (standard or GPU-optimized).

Default:

NodeType.STANDARD