@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.528Z") @Stability(value=Stable) 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. |
software.amazon.jsii.JsiiObject.InitializationModeIAction.Jsii$Default| Modifier | Constructor and Description |
|---|---|
|
CodeDeployEcsDeployAction(CodeDeployEcsDeployActionProps props) |
protected |
CodeDeployEcsDeployAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CodeDeployEcsDeployAction(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
protected ActionConfig |
bound(software.constructs.Construct _scope,
IStage _stage,
ActionBindOptions options)
This is a renamed version of the
IAction.bind method. |
getProvidedActionPropertiesbind, getActionProperties, onStateChange, onStateChange, onStateChange, variableExpressionjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected CodeDeployEcsDeployAction(software.amazon.jsii.JsiiObjectRef objRef)
protected CodeDeployEcsDeployAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CodeDeployEcsDeployAction(@NotNull
CodeDeployEcsDeployActionProps props)
props - This parameter is required.@Stability(value=Stable) @NotNull protected ActionConfig bound(@NotNull software.constructs.Construct _scope, @NotNull IStage _stage, @NotNull ActionBindOptions options)
IAction.bind method.
Copyright © 2022. All rights reserved.