AmazonLinuxImageProps

class aws_cdk.aws_ec2.AmazonLinuxImageProps(*, cpu_type=None, edition=None, generation=None, storage=None, user_data=None, virtualization=None)

Bases: object

__init__(*, cpu_type=None, edition=None, generation=None, storage=None, user_data=None, virtualization=None)

Amazon Linux image properties.

Parameters
  • cpu_type (Optional[AmazonLinuxCpuType]) – CPU Type. Default: X86_64

  • edition (Optional[AmazonLinuxEdition]) – What edition of Amazon Linux to use. Default: Standard

  • generation (Optional[AmazonLinuxGeneration]) – What generation of Amazon Linux to use. Default: AmazonLinux

  • storage (Optional[AmazonLinuxStorage]) – What storage backed image to use. Default: GeneralPurpose

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

  • virtualization (Optional[AmazonLinuxVirt]) – Virtualization type. Default: HVM

Return type

None

Attributes

cpu_type

CPU Type.

default :default: X86_64

Return type

Optional[AmazonLinuxCpuType]

edition

What edition of Amazon Linux to use.

default :default: Standard

Return type

Optional[AmazonLinuxEdition]

generation

What generation of Amazon Linux to use.

default :default: AmazonLinux

Return type

Optional[AmazonLinuxGeneration]

storage

What storage backed image to use.

default :default: GeneralPurpose

Return type

Optional[AmazonLinuxStorage]

user_data

Initial user data.

default :default: - Empty UserData for Linux machines

Return type

Optional[UserData]

virtualization

Virtualization type.

default :default: HVM

Return type

Optional[AmazonLinuxVirt]