class EksOptimizedImage
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EKS.Legacy.EksOptimizedImage |
Java | software.amazon.awscdk.services.eks.legacy.EksOptimizedImage |
Python | aws_cdk.aws_eks_legacy.EksOptimizedImage |
TypeScript (source) | @aws-cdk/aws-eks-legacy » EksOptimizedImage |
⚠️ Deprecated: undefined
Implements
IMachine
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 * as eks_legacy from '@aws-cdk/aws-eks-legacy';
const eksOptimizedImage = new eks_legacy.EksOptimizedImage({
kubernetesVersion: 'kubernetesVersion',
nodeType: eks_legacy.NodeType.STANDARD,
});
Initializer
new EksOptimizedImage(props: EksOptimizedImageProps)
⚠️ Deprecated: undefined
Parameters
- props
Eks
Optimized Image Props
Constructs a new instance of the EcsOptimizedAmi class.
Methods
Name | Description |
---|---|
get | Return the correct image. |
Image(scope)
getpublic getImage(scope: Construct): MachineImageConfig
⚠️ Deprecated: undefined
Parameters
- scope
Construct
Returns
Return the correct image.