EcsOptimizedAmiProps

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

Bases: object

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

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

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

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

Deprecated

see {@link EcsOptimizedImage}

Stability

deprecated

Attributes

generation

(deprecated) The Amazon Linux generation to use.

Default

AmazonLinuxGeneration.AmazonLinux2

Stability

deprecated

Return type

Optional[AmazonLinuxGeneration]

hardware_type

(deprecated) The ECS-optimized AMI variant to use.

Default

AmiHardwareType.Standard

Stability

deprecated

Return type

Optional[AmiHardwareType]

windows_version

(deprecated) The Windows Server version to use.

Default

none, uses Linux generation

Stability

deprecated

Return type

Optional[WindowsOptimizedVersion]