class WriterConfig
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.StepFunctions.WriterConfig |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsstepfunctions#WriterConfig |
Java | software.amazon.awscdk.services.stepfunctions.WriterConfig |
Python | aws_cdk.aws_stepfunctions.WriterConfig |
TypeScript (source) | aws-cdk-lib » aws_stepfunctions » WriterConfig |
Configuration to format the output.
Example
import * as s3 from 'aws-cdk-lib/aws-s3';
// create a bucket
const bucket = new s3.Bucket(this, 'Bucket');
// create a WriterConfig
const distributedMap = new sfn.DistributedMap(this, 'Distributed Map State', {
resultWriterV2: new sfn.ResultWriterV2({
bucket: bucket,
prefix: 'my-prefix',
writerConfig: {
outputType: sfn.OutputType.JSONL,
transformation: sfn.Transformation.NONE,
},
})
});
distributedMap.itemProcessor(new sfn.Pass(this, 'Pass State'));
Initializer
new WriterConfig(props: WriterConfigProps)
Parameters
- props
WriterConfig Props
Properties
| Name | Type | Description |
|---|---|---|
| output | Output | The format of the Output of the child workflow executions. |
| transformation | Transformation | The transformation to be applied to the Output of the Child Workflow executions. |
outputType
Type:
Output
The format of the Output of the child workflow executions.
transformation
Type:
Transformation
The transformation to be applied to the Output of the Child Workflow executions.

.NET
Go
Java
Python
TypeScript (