Class EcsDeployAction
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.EcsDeployAction
- All Implemented Interfaces:
IAction
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:48.436Z")
@Stability(Stable)
public class EcsDeployAction
extends Action
CodePipeline Action to deploy an ECS Service.
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());
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.codepipeline.IAction
IAction.Jsii$Default
-
Constructor Summary
ModifierConstructorDescriptionprotected
EcsDeployAction
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
EcsDeployAction
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionprotected ActionConfig
bound
(Construct _scope, IStage _stage, ActionBindOptions options) This is a renamed version of theIAction.bind
method.Methods inherited from class software.amazon.awscdk.services.codepipeline.actions.Action
getProvidedActionProperties
Methods inherited from class software.amazon.awscdk.services.codepipeline.Action
bind, getActionProperties, onStateChange, onStateChange, onStateChange, variableExpression
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
EcsDeployAction
protected EcsDeployAction(software.amazon.jsii.JsiiObjectRef objRef) -
EcsDeployAction
protected EcsDeployAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
EcsDeployAction
- Parameters:
props
- This parameter is required.
-
-
Method Details
-
bound
@Stability(Stable) @NotNull protected ActionConfig bound(@NotNull Construct _scope, @NotNull IStage _stage, @NotNull ActionBindOptions options) This is a renamed version of theIAction.bind
method.
-