Class EksOptimizedImage
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.eks.EksOptimizedImage
- All Implemented Interfaces:
IMachineImage
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:46.589Z")
@Stability(Stable)
public class EksOptimizedImage
extends software.amazon.jsii.JsiiObject
implements IMachineImage
Construct an Amazon Linux 2 image from the latest EKS Optimized AMI published in SSM.
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.*; EksOptimizedImage eksOptimizedImage = EksOptimizedImage.Builder.create() .cpuArch(CpuArch.ARM_64) .kubernetesVersion("kubernetesVersion") .nodeType(NodeType.STANDARD) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.IMachineImage
IMachineImage.Jsii$Default, IMachineImage.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionConstructs a new instance of the EcsOptimizedAmi class.Constructs a new instance of the EcsOptimizedAmi class.protected
EksOptimizedImage
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
EksOptimizedImage
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionReturn the correct image.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
EksOptimizedImage
protected EksOptimizedImage(software.amazon.jsii.JsiiObjectRef objRef) -
EksOptimizedImage
protected EksOptimizedImage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
EksOptimizedImage
Constructs a new instance of the EcsOptimizedAmi class.- Parameters:
props
-
-
EksOptimizedImage
@Stability(Stable) public EksOptimizedImage()Constructs a new instance of the EcsOptimizedAmi class.
-
-
Method Details
-
getImage
Return the correct image.- Specified by:
getImage
in interfaceIMachineImage
- Parameters:
scope
- This parameter is required.
-