Class EcsDeployment

  • All Implemented Interfaces:
    software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-06T18:16:19.069Z")
    @Stability(Experimental)
    public class EcsDeployment
    extends software.constructs.Construct
    (experimental) A CodeDeploy Deployment for a Amazon ECS service DeploymentGroup.

    An EcsDeploymentGroup must only have 1 EcsDeployment. This limit is enforced by removing the scope and id from the constructor. The scope will always be set to the EcsDeploymentGroup and the id will always be set to the string 'Deployment' to force an error if mulitiple EcsDeployment constructs are created for a single EcsDeploymentGroup.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  EcsDeployment.Builder
      (experimental) A fluent builder for EcsDeployment.
      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
      • Nested classes/interfaces inherited from interface software.constructs.IConstruct

        software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
        EcsDeployment​(EcsDeploymentProps props)  
      protected EcsDeployment​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)  
      protected EcsDeployment​(software.amazon.jsii.JsiiObjectRef objRef)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getDeploymentId()
      (experimental) The id of the deployment that was created.
      void setDeploymentId​(String value)
      (experimental) The id of the deployment that was created.
      • Methods inherited from class software.constructs.Construct

        getNode, isConstruct, toString
      • Methods inherited from class software.amazon.jsii.JsiiObject

        jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
      • Methods inherited from interface software.amazon.jsii.JsiiSerializable

        $jsii$toJson
    • Constructor Detail

      • EcsDeployment

        protected EcsDeployment​(software.amazon.jsii.JsiiObjectRef objRef)
      • EcsDeployment

        protected EcsDeployment​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • EcsDeployment

        @Stability(Experimental)
        public EcsDeployment​(@NotNull
                             EcsDeploymentProps props)
        Parameters:
        props - This parameter is required.
    • Method Detail

      • getDeploymentId

        @Stability(Experimental)
        @NotNull
        public String getDeploymentId()
        (experimental) The id of the deployment that was created.
      • setDeploymentId

        @Stability(Experimental)
        public void setDeploymentId​(@NotNull
                                    String value)
        (experimental) The id of the deployment that was created.