Class S3DeployAction
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.S3DeployAction
- All Implemented Interfaces:
IAction,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:48.483Z")
@Stability(Stable)
public class S3DeployAction
extends Action
Deploys the sourceArtifact to Amazon S3.
Example:
Artifact sourceOutput = new Artifact();
Bucket targetBucket = new Bucket(this, "MyBucket");
Pipeline pipeline = new Pipeline(this, "MyPipeline");
S3DeployAction deployAction = S3DeployAction.Builder.create()
.actionName("S3Deploy")
.bucket(targetBucket)
.input(sourceOutput)
.build();
IStage deployStage = pipeline.addStage(StageOptions.builder()
.stageName("Deploy")
.actions(List.of(deployAction))
.build());
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.codepipeline.IAction
IAction.Jsii$Default -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedS3DeployAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedS3DeployAction(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionprotected ActionConfigbound(Construct _scope, IStage _stage, ActionBindOptions options) This is a renamed version of theIAction.bindmethod.Methods inherited from class software.amazon.awscdk.services.codepipeline.actions.Action
getProvidedActionPropertiesMethods inherited from class software.amazon.awscdk.services.codepipeline.Action
bind, getActionProperties, onStateChange, onStateChange, onStateChange, variableExpressionMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
S3DeployAction
protected S3DeployAction(software.amazon.jsii.JsiiObjectRef objRef) -
S3DeployAction
protected S3DeployAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
S3DeployAction
- 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.bindmethod.
-