ShuffleConfig Struct
Configuration for a shuffle option for input data in a channel.
| Source | aws-stepfunctions-tasks/lib/sagemaker/base-types.ts |
|---|
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_stepfunctions_tasks as stepfunctions_tasks } from 'aws-cdk-lib';
const shuffleConfig: stepfunctions_tasks.ShuffleConfig = {
seed: 123,
};
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_tasks as stepfunctions_tasks
shuffle_config = stepfunctions_tasks.ShuffleConfig(
seed=123
)
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.tasks.*;
ShuffleConfig shuffleConfig = ShuffleConfig.builder()
.seed(123)
.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.StepFunctions.Tasks;
var shuffleConfig = new ShuffleConfig {
Seed = 123
};
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"
shuffleConfig := &ShuffleConfig{
Seed: jsii.Number(123),
}
Properties
Determines the shuffling order.