Class CodeDeployEcsDeployAction

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.codepipeline.Action
software.amazon.awscdk.services.codepipeline.actions.Action
software.amazon.awscdk.services.codepipeline.actions.CodeDeployEcsDeployAction
All Implemented Interfaces:
IAction, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-04-10T22:22:25.426Z") @Stability(Stable) public class CodeDeployEcsDeployAction extends Action
Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.codedeploy.*;
 import software.amazon.awscdk.services.codepipeline.*;
 import software.amazon.awscdk.services.codepipeline.actions.*;
 import software.amazon.awscdk.services.iam.*;
 Artifact artifact;
 ArtifactPath artifactPath;
 EcsDeploymentGroup ecsDeploymentGroup;
 Role role;
 CodeDeployEcsDeployAction codeDeployEcsDeployAction = CodeDeployEcsDeployAction.Builder.create()
         .actionName("actionName")
         .deploymentGroup(ecsDeploymentGroup)
         // the properties below are optional
         .appSpecTemplateFile(artifactPath)
         .appSpecTemplateInput(artifact)
         .containerImageInputs(List.of(CodeDeployEcsContainerImageInput.builder()
                 .input(artifact)
                 // the properties below are optional
                 .taskDefinitionPlaceholder("taskDefinitionPlaceholder")
                 .build()))
         .role(role)
         .runOrder(123)
         .taskDefinitionTemplateFile(artifactPath)
         .taskDefinitionTemplateInput(artifact)
         .variablesNamespace("variablesNamespace")
         .build();
 
  • Constructor Details

    • CodeDeployEcsDeployAction

      protected CodeDeployEcsDeployAction(software.amazon.jsii.JsiiObjectRef objRef)
    • CodeDeployEcsDeployAction

      protected CodeDeployEcsDeployAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CodeDeployEcsDeployAction

      @Stability(Stable) public CodeDeployEcsDeployAction(@NotNull CodeDeployEcsDeployActionProps props)
      Parameters:
      props - This parameter is required.
  • Method Details

    • bound

      @Stability(Stable) @NotNull protected ActionConfig bound(@NotNull software.constructs.Construct _scope, @NotNull IStage _stage, @NotNull ActionBindOptions options)
      This is a renamed version of the IAction.bind method.

      Specified by:
      bound in class Action
      Parameters:
      _scope - This parameter is required.
      _stage - This parameter is required.
      options - This parameter is required.