java.lang.Object
software.amazon.jsii.JsiiObject
All Implemented Interfaces:
IAction, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:04.551Z") @Stability(Stable) public class S3DeployAction extends Action
Deploys the sourceArtifact to Amazon S3.

Example:

 S3SourceAction sourceAction;
 Artifact sourceOutput;
 Bucket deployBucket;
 Pipeline.Builder.create(this, "Pipeline")
         .stages(List.of(StageProps.builder()
                 .stageName("Source")
                 .actions(List.of(sourceAction))
                 .build(), StageProps.builder()
                 .stageName("Deploy")
                 .actions(List.of(
                     S3DeployAction.Builder.create()
                             .actionName("DeployAction")
                             // can reference the variables
                             .objectKey(String.format("%s.txt", sourceAction.getVariables().getVersionId()))
                             .input(sourceOutput)
                             .bucket(deployBucket)
                             .build()))
                 .build()))
         .build();
 
  • Constructor Details

    • S3DeployAction

      protected S3DeployAction(software.amazon.jsii.JsiiObjectRef objRef)
    • S3DeployAction

      protected S3DeployAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • S3DeployAction

      @Stability(Stable) public S3DeployAction(@NotNull S3DeployActionProps props)
      Parameters:
      props - This parameter is required.
  • Method Details

    • bound

      @Stability(Stable) @NotNull protected ActionConfig bound(@NotNull software.constructs.Construct _scope, @NotNull IStage _stage, @NotNull ActionBindOptions options)
      This is a renamed version of the IAction.bind method.

      Specified by:
      bound in class Action
      Parameters:
      _scope - This parameter is required.
      _stage - This parameter is required.
      options - This parameter is required.