IMachineImage

class aws_cdk.aws_ec2.IMachineImage(*args, **kwargs)

Bases: typing_extensions.Protocol

Interface for classes that can select an appropriate machine image to use.

__init__(*args, **kwargs)

Methods

get_image(scope)

Return the image to use in the given context.

Parameters

scope (Construct) –

Return type

MachineImageConfig