Class EcsOptimizedAmi

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ecs.EcsOptimizedAmi
All Implemented Interfaces:
IMachineImage, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:47.299Z") @Stability(Deprecated) @Deprecated public class EcsOptimizedAmi extends software.amazon.jsii.JsiiObject implements IMachineImage
(deprecated) Construct a Linux or Windows machine image from the latest ECS Optimized AMI published in SSM.

Example:

 Vpc vpc;
 ComputeEnvironment myComputeEnv = ComputeEnvironment.Builder.create(this, "ComputeEnv")
         .computeResources(ComputeResources.builder()
                 .image(EcsOptimizedAmi.Builder.create()
                         .generation(AmazonLinuxGeneration.AMAZON_LINUX_2)
                         .build())
                 .vpc(vpc)
                 .build())
         .build();
 

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Deprecated.

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.IMachineImage

    IMachineImage.Jsii$Default, IMachineImage.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
    Deprecated.
     
    Deprecated.
    protected
    EcsOptimizedAmi(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    Deprecated.
     
    protected
    EcsOptimizedAmi(software.amazon.jsii.JsiiObjectRef objRef)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • EcsOptimizedAmi

      protected EcsOptimizedAmi(software.amazon.jsii.JsiiObjectRef objRef)
      Deprecated.
    • EcsOptimizedAmi

      protected EcsOptimizedAmi(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      Deprecated.
    • EcsOptimizedAmi

      @Stability(Deprecated) @Deprecated public EcsOptimizedAmi(@Nullable EcsOptimizedAmiProps props)
      Deprecated.
      (deprecated) Constructs a new instance of the EcsOptimizedAmi class.

      Parameters:
      props -
    • EcsOptimizedAmi

      @Stability(Deprecated) @Deprecated public EcsOptimizedAmi()
      Deprecated.
      (deprecated) Constructs a new instance of the EcsOptimizedAmi class.
  • Method Details