class ResultWriter
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.StepFunctions.ResultWriter |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsstepfunctions#ResultWriter |
Java | software.amazon.awscdk.services.stepfunctions.ResultWriter |
Python | aws_cdk.aws_stepfunctions.ResultWriter |
TypeScript (source) | aws-cdk-lib » aws_stepfunctions » ResultWriter |
⚠️ Deprecated: use {@link ResultWriterV2 } instead
Configuration for writing Distributed Map state results to S3.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3 as s3 } from 'aws-cdk-lib';
import { aws_stepfunctions as stepfunctions } from 'aws-cdk-lib';
declare const bucket: s3.Bucket;
const resultWriter = new stepfunctions.ResultWriter({
bucket: bucket,
// the properties below are optional
prefix: 'prefix',
});
Initializer
new ResultWriter(props: ResultWriterProps)
⚠️ Deprecated: use {@link ResultWriterV2 } instead
Parameters
- props
ResultWriter Props
Properties
| Name | Type | Description |
|---|---|---|
| bucket | IBucket | S3 Bucket in which to save Map Run results. |
| prefix? | string | S3 prefix in which to save Map Run results. |
bucket
⚠️ Deprecated: use {@link ResultWriterV2 } instead
Type:
IBucket
S3 Bucket in which to save Map Run results.
prefix?
⚠️ Deprecated: use {@link ResultWriterV2 } instead
Type:
string
(optional, default: No prefix)
S3 prefix in which to save Map Run results.
Methods
| Name | Description |
|---|---|
| provide | Compile policy statements to provide relevent permissions to the state machine. |
| render(queryLanguage?) | Render ResultWriter in ASL JSON format. |
providePolicyStatements()
public providePolicyStatements(): PolicyStatement[]
⚠️ Deprecated: use {@link ResultWriterV2 } instead
Returns
Compile policy statements to provide relevent permissions to the state machine.
render(queryLanguage?)
public render(queryLanguage?: QueryLanguage): any
⚠️ Deprecated: use {@link ResultWriterV2 } instead
Parameters
- queryLanguage
QueryLanguage
Returns
any
Render ResultWriter in ASL JSON format.

.NET
Go
Java
Python
TypeScript (