EcsOptimizedAmiProps

class aws_cdk.aws_ecs.EcsOptimizedAmiProps(*, generation=None, hardware_type=None, windows_version=None)

Bases: object

__init__(*, generation=None, hardware_type=None, windows_version=None)

The properties that define which ECS-optimized AMI is used.

Parameters
  • generation (Optional[AmazonLinuxGeneration]) – The Amazon Linux generation to use. Default: AmazonLinuxGeneration.AmazonLinux2

  • hardware_type (Optional[AmiHardwareType]) – The ECS-optimized AMI variant to use. Default: AmiHardwareType.Standard

  • windows_version (Optional[WindowsOptimizedVersion]) – The Windows Server version to use. Default: none, uses Linux generation

deprecated :deprecated: see {@link EcsOptimizedImage}

stability :stability: deprecated

Attributes

generation

The Amazon Linux generation to use.

default :default: AmazonLinuxGeneration.AmazonLinux2

stability :stability: deprecated

Return type

Optional[AmazonLinuxGeneration]

hardware_type

The ECS-optimized AMI variant to use.

default :default: AmiHardwareType.Standard

stability :stability: deprecated

Return type

Optional[AmiHardwareType]

windows_version

The Windows Server version to use.

default :default: none, uses Linux generation

stability :stability: deprecated

Return type

Optional[WindowsOptimizedVersion]