# WriterConfigProps

Interface for Writer Config props.

Used as props by: [WriterConfig](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_stepfunctions.WriterConfig.html)

- Source: [`aws-stepfunctions/lib/states/distributed-map/result-writer.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-stepfunctions/lib/states/distributed-map/result-writer.ts#L97)
- Type last changed: v2.190.0 · 17 Apr 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_stepfunctions as stepfunctions } from 'aws-cdk-lib';
const writerConfigProps: stepfunctions.WriterConfigProps = {
  outputType: stepfunctions.OutputType.JSON,
  transformation: stepfunctions.Transformation.NONE,
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_stepfunctions as stepfunctions

writer_config_props = stepfunctions.WriterConfigProps(
    output_type=stepfunctions.OutputType.JSON,
    transformation=stepfunctions.Transformation.NONE
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.stepfunctions.*;

WriterConfigProps writerConfigProps = WriterConfigProps.builder()
        .outputType(OutputType.JSON)
        .transformation(Transformation.NONE)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.StepFunctions;

var writerConfigProps = new WriterConfigProps {
    OutputType = OutputType.JSON,
    Transformation = Transformation.NONE
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

writerConfigProps := &WriterConfigProps{
	OutputType: awscdk.Aws_stepfunctions.OutputType_JSON,
	Transformation: awscdk.*Aws_stepfunctions.Transformation_NONE,
}
```

## Properties

- `outputType`: [OutputType](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_stepfunctions.OutputType.html) (required) — The format of the Output of the child workflow executions.

- `transformation`: [Transformation](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_stepfunctions.Transformation.html) (required) — The transformation to be applied to the Output of the Child Workflow executions.
