Interface EcsDeploymentProps

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    EcsDeploymentProps.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-06T18:16:19.069Z")
    @Stability(Experimental)
    public interface EcsDeploymentProps
    extends software.amazon.jsii.JsiiSerializable
    (experimental) Construction properties of EcsDeployment.
    • Method Detail

      • getDeploymentGroup

        @Stability(Experimental)
        @NotNull
        software.amazon.awscdk.services.codedeploy.IEcsDeploymentGroup getDeploymentGroup()
        (experimental) The deployment group to target for this deployment.
      • getTargetService

        @Stability(Experimental)
        @NotNull
        TargetService getTargetService()
        (experimental) The ECS service to target for the deployment.

        see: https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structure-resources.html#reference-appspec-file-structure-resources-ecs

      • getAutoRollback

        @Stability(Experimental)
        @Nullable
        default software.amazon.awscdk.services.codedeploy.AutoRollbackConfig getAutoRollback()
        (experimental) The configuration for rollback in the event that a deployment fails.

        Default: : no automatic rollback triggered

      • getDescription

        @Stability(Experimental)
        @Nullable
        default String getDescription()
        (experimental) The description for the deployment.

        Default: no description

      • getHooks

        @Stability(Experimental)
        @Nullable
        default AppSpecHooks getHooks()
        (experimental) Optional lifecycle hooks.

        Default: - no lifecycle hooks

      • getTimeout

        @Stability(Experimental)
        @Nullable
        default software.amazon.awscdk.Duration getTimeout()
        (experimental) The timeout for the deployment.

        If the timeout is reached, it will trigger a rollback of the stack.

        Default: 30 minutes