interface IMachineImage
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.IMachineImage |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#IMachineImage |
Java | software.amazon.awscdk.services.ec2.IMachineImage |
Python | aws_cdk.aws_ec2.IMachineImage |
TypeScript (source) | aws-cdk-lib » aws_ec2 » IMachineImage |
Implemented by
Amazon
, Amazon
, Amazon
, Amazon
, Generic
, Generic
, Generic
, Lookup
, Nat
, Resolve
, Windows
, Bottle
, Ecs
, Eks
Obtainable from
Machine
.fromSsmParameter()
, Machine
.genericLinux()
, Machine
.genericWindows()
, Machine
.latestAmazonLinux()
, Machine
.latestAmazonLinux2()
, Machine
.latestAmazonLinux2022()
, Machine
.latestAmazonLinux2023()
, Machine
.latestWindows()
, Machine
.lookup()
, Machine
.resolveSsmParameterAtLaunch()
Interface for classes that can select an appropriate machine image to use.
Methods
Name | Description |
---|---|
get | Return the image to use in the given context. |
Image(scope)
getpublic getImage(scope: Construct): MachineImageConfig
Parameters
- scope
Construct
Returns
Return the image to use in the given context.