Class EksOptimizedImage
Construct an Amazon Linux 2 image from the latest EKS Optimized AMI published in SSM.
Inheritance
System.Object
EksOptimizedImage
Implements
Namespace: Amazon.CDK.AWS.EKS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class EksOptimizedImage : DeputyBase, IMachineImage
Syntax (vb)
Public Class EksOptimizedImage
Inherits DeputyBase
Implements IMachineImage
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EKS;
var eksOptimizedImage = new EksOptimizedImage(new EksOptimizedImageProps {
CpuArch = CpuArch.ARM_64,
KubernetesVersion = "kubernetesVersion",
NodeType = NodeType.STANDARD
});
Synopsis
Constructors
EksOptimizedImage(IEksOptimizedImageProps) | Constructs a new instance of the EcsOptimizedAmi class. |
EksOptimizedImage(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
EksOptimizedImage(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Methods
GetImage(Construct) | Return the correct image. |
Constructors
EksOptimizedImage(IEksOptimizedImageProps)
Constructs a new instance of the EcsOptimizedAmi class.
public EksOptimizedImage(IEksOptimizedImageProps props = null)
Parameters
- props IEksOptimizedImageProps
EksOptimizedImage(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected EksOptimizedImage(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
EksOptimizedImage(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected EksOptimizedImage(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Methods
GetImage(Construct)
Return the correct image.
public virtual IMachineImageConfig GetImage(Construct scope)
Parameters
- scope Constructs.Construct
Returns