ResultWriterProps Struct
Interface for Result Writer configuration props.
| Source | aws-stepfunctions/lib/states/distributed-map/result-writer.ts |
|---|---|
| Type last changed |
Example
ts
// 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 resultWriterProps: stepfunctions.ResultWriterProps = {
bucket: bucket,
// the properties below are optional
prefix: 'prefix',
};
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_s3 as s3
from aws_cdk import aws_stepfunctions as stepfunctions
# bucket: s3.Bucket
result_writer_props = stepfunctions.ResultWriterProps(
bucket=bucket,
# the properties below are optional
prefix="prefix"
)
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.s3.*;
import software.amazon.awscdk.services.stepfunctions.*;
Bucket bucket;
ResultWriterProps resultWriterProps = ResultWriterProps.builder()
.bucket(bucket)
// the properties below are optional
.prefix("prefix")
.build();
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.S3;
using Amazon.CDK.AWS.StepFunctions;
Bucket bucket;
var resultWriterProps = new ResultWriterProps {
Bucket = bucket,
// the properties below are optional
Prefix = "prefix"
};
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"
import "github.com/aws/aws-cdk-go/awscdk"
var bucket Bucket
resultWriterProps := &ResultWriterProps{
Bucket: bucket,
// the properties below are optional
Prefix: jsii.String("prefix"),
}