Interface ResultWriterV2Props
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ResultWriterV2Props.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:14.989Z")
@Stability(Stable)
public interface ResultWriterV2Props
extends software.amazon.jsii.JsiiSerializable
Interface for Result Writer configuration props.
Example:
import software.amazon.awscdk.services.s3.*;
// create a bucket
Bucket bucket = new Bucket(this, "Bucket");
// create a WriterConfig
DistributedMap distributedMap = DistributedMap.Builder.create(this, "Distributed Map State")
.resultWriterV2(ResultWriterV2.Builder.create()
.bucket(bucket)
.prefix("my-prefix")
.writerConfig(Map.of(
"outputType", OutputType.JSONL,
"transformation", Transformation.NONE))
.build())
.build();
distributedMap.itemProcessor(new Pass(this, "Pass State"));
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forResultWriterV2Propsstatic final classAn implementation forResultWriterV2Props -
Method Summary
Modifier and TypeMethodDescriptionstatic ResultWriterV2Props.Builderbuilder()default IBucketS3 Bucket in which to save Map Run results.default StringS3 bucket name in which to save Map Run results, as JsonPath.default StringS3 prefix in which to save Map Run results.default WriterConfigConfiguration to format the output of the Child Workflow executions.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBucket
S3 Bucket in which to save Map Run results.Default: - specify a bucket
-
getBucketNamePath
S3 bucket name in which to save Map Run results, as JsonPath.Default: - no bucket path
-
getPrefix
S3 prefix in which to save Map Run results.Default: - No prefix
-
getWriterConfig
Configuration to format the output of the Child Workflow executions.Default: - Specify both Transformation and OutputType
-
builder
- Returns:
- a
ResultWriterV2Props.BuilderofResultWriterV2Props
-