Skip to content
v2.275.0

Transformation Enum ​

The transformation to be applied to the Output of the Child Workflow executions.

Example ​

ts
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'));

Members ​

MemberDescription
NONEReturns the output of the child workflow executions unchanged, in addition to the workflow metadata.
COMPACTReturns the output of the child workflow executions.
FLATTENReturns the output of the child workflow executions.

Referenced by ​

  • WriterConfig.transformationtransformationtransformationTransformationTransformation
  • WriterConfigProps.transformationtransformationtransformationTransformationTransformation