EcsOptimizedAmi¶
-
class
aws_cdk.aws_ecs.
EcsOptimizedAmi
(*, generation=None, hardware_type=None, windows_version=None)¶ Bases:
object
(deprecated) Construct a Linux or Windows machine image from the latest ECS Optimized AMI published in SSM.
- Deprecated
see {@link EcsOptimizedImage#amazonLinux}, {@link EcsOptimizedImage#amazonLinux} and {@link EcsOptimizedImage#windows}
- Stability
deprecated
(deprecated) Constructs a new instance of the EcsOptimizedAmi class.
- Parameters
generation (
Optional
[AmazonLinuxGeneration
]) – (deprecated) The Amazon Linux generation to use. Default: AmazonLinuxGeneration.AmazonLinux2hardware_type (
Optional
[AmiHardwareType
]) – (deprecated) The ECS-optimized AMI variant to use. Default: AmiHardwareType.Standardwindows_version (
Optional
[WindowsOptimizedVersion
]) – (deprecated) The Windows Server version to use. Default: none, uses Linux generation
- Stability
deprecated
Methods