Class ResultWriter
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.stepfunctions.ResultWriter
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-21T06:34:16.722Z")
@Stability(Stable)
public class ResultWriter
extends software.amazon.jsii.JsiiObject
Configuration for writing Distributed Map state results to S3.
Example:
import software.amazon.awscdk.services.s3.*;
// create a bucket
Bucket bucket = new Bucket(this, "Bucket");
DistributedMap distributedMap = DistributedMap.Builder.create(this, "Distributed Map State")
.resultWriter(ResultWriter.Builder.create()
.bucket(bucket)
.prefix("my-prefix")
.build())
.build();
distributedMap.itemProcessor(new Pass(this, "Pass State"));
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionResultWriter(ResultWriterProps props) protectedResultWriter(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedResultWriter(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionS3 Bucket in which to save Map Run results.S3 prefix in which to save Map Run results.Compile policy statements to provide relevent permissions to the state machine.render()Render ResultWriter in ASL JSON format.Methods 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
-
ResultWriter
protected ResultWriter(software.amazon.jsii.JsiiObjectRef objRef) -
ResultWriter
protected ResultWriter(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
ResultWriter
- Parameters:
props- This parameter is required.
-
-
Method Details
-
providePolicyStatements
Compile policy statements to provide relevent permissions to the state machine. -
render
Render ResultWriter in ASL JSON format. -
getBucket
S3 Bucket in which to save Map Run results. -
getPrefix
S3 prefix in which to save Map Run results.Default: - No prefix
-