java.lang.Object
software.amazon.jsii.JsiiObject
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());
 
  • 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 Construct _scope, @NotNull IStage _stage, @NotNull ActionBindOptions options)
      This is a renamed version of the
      invalid @link
      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.