@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)", date="2022-07-01T09:58:43.057Z") public class EcsDeployAction extends Action
Example:
import software.amazon.awscdk.services.ecs.*; FargateService service; Pipeline pipeline = new Pipeline(this, "MyPipeline"); Artifact buildOutput = new Artifact(); IStage deployStage = pipeline.addStage(StageOptions.builder() .stageName("Deploy") .actions(List.of( EcsDeployAction.Builder.create() .actionName("DeployAction") .service(service) // if your file is called imagedefinitions.json, // use the `input` property, // and leave out the `imageFile` property .input(buildOutput) // if your file name is _not_ imagedefinitions.json, // use the `imageFile` property, // and leave out the `input` property .imageFile(buildOutput.atPath("imageDef.json")) .deploymentTimeout(Duration.minutes(60)) .build())) .build());
Modifier and Type | Class and Description |
---|---|
static class |
EcsDeployAction.Builder
A fluent builder for
EcsDeployAction . |
IAction.Jsii$Default
Modifier | Constructor and Description |
---|---|
protected |
EcsDeployAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
EcsDeployAction(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 EcsDeployAction(software.amazon.jsii.JsiiObjectRef objRef)
protected EcsDeployAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
protected ActionConfig bound(Construct _scope, IStage _stage, ActionBindOptions options)
IAction.bind
method.