Class EksOptimizedImage
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.eks.legacy.EksOptimizedImage
- All Implemented Interfaces:
IMachineImage,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:46.775Z")
@Stability(Deprecated)
@Deprecated
public class EksOptimizedImage
extends software.amazon.jsii.JsiiObject
implements IMachineImage
Deprecated.
(deprecated) 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.legacy.*;
EksOptimizedImage eksOptimizedImage = EksOptimizedImage.Builder.create()
.kubernetesVersion("kubernetesVersion")
.nodeType(NodeType.STANDARD)
.build();
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.IMachineImage
IMachineImage.Jsii$Default, IMachineImage.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionDeprecated.protectedEksOptimizedImage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated.protectedEksOptimizedImage(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
EksOptimizedImage
protected EksOptimizedImage(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
EksOptimizedImage
protected EksOptimizedImage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated. -
EksOptimizedImage
Deprecated.(deprecated) Constructs a new instance of the EcsOptimizedAmi class.- Parameters:
props- This parameter is required.
-
-
Method Details
-
getImage
@Stability(Deprecated) @Deprecated @NotNull public MachineImageConfig getImage(@NotNull Construct scope) Deprecated.(deprecated) Return the correct image.- Specified by:
getImagein interfaceIMachineImage- Parameters:
scope- This parameter is required.
-