@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)", date="2022-07-01T09:58:43.038Z") public class CodeDeployEcsDeployAction extends Action
// 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; IEcsDeploymentGroup 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();
Modifier and Type | Class and Description |
---|---|
static class |
CodeDeployEcsDeployAction.Builder
A fluent builder for
CodeDeployEcsDeployAction . |
IAction.Jsii$Default
Modifier | Constructor and Description |
---|---|
protected |
CodeDeployEcsDeployAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CodeDeployEcsDeployAction(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
protected ActionConfig |
bound(Construct _scope,
IStage _stage,
ActionBindOptions options)
This is a renamed version of the
IAction.bind method. |
getProvidedActionProperties
bind, getActionProperties, onStateChange, onStateChange, onStateChange, variableExpression
protected CodeDeployEcsDeployAction(software.amazon.jsii.JsiiObjectRef objRef)
protected CodeDeployEcsDeployAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
protected ActionConfig bound(Construct _scope, IStage _stage, ActionBindOptions options)
IAction.bind
method.