MachineImageConfig

class aws_cdk.aws_ec2.MachineImageConfig(*, image_id, os_type, user_data)

Bases: object

__init__(*, image_id, os_type, user_data)

Configuration for a machine image.

Parameters
  • image_id (str) – The AMI ID of the image to use.

  • os_type (OperatingSystemType) – Operating system type for this image.

  • user_data (UserData) – Initial UserData for this image.

Attributes

image_id

The AMI ID of the image to use.

Return type

str

os_type

Operating system type for this image.

Return type

OperatingSystemType

user_data

Initial UserData for this image.

Return type

UserData