GenericWindowsImage

class aws_cdk.aws_ec2.GenericWindowsImage(ami_map, *, user_data=None)

Bases: object

Construct a Windows machine image from an AMI map.

Allows you to create a generic Windows EC2 , manually specify an AMI map.

__init__(ami_map, *, user_data=None)
Parameters
  • ami_map (Mapping[str, str]) –

  • props

  • user_data (Optional[UserData]) – Initial user data. Default: - Empty UserData for Windows machines

Return type

None

Methods

get_image(scope)

Return the image to use in the given context.

Parameters

scope (Construct) –

Return type

MachineImageConfig