Skip to content
v2.278.0

ExperimentConfigProperty Struct ​

Associates a SageMaker job as a trial component with an experiment and trial.

Specified when you call the CreateProcessingJob API.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const experimentConfigProperty: sagemaker.CfnProcessingJob.ExperimentConfigProperty = {
  experimentName: 'experimentName',
  runName: 'runName',
  trialComponentDisplayName: 'trialComponentDisplayName',
  trialName: 'trialName',
};
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_sagemaker as sagemaker

experiment_config_property = sagemaker.CfnProcessingJob.ExperimentConfigProperty(
    experiment_name="experimentName",
    run_name="runName",
    trial_component_display_name="trialComponentDisplayName",
    trial_name="trialName"
)
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.sagemaker.*;

ExperimentConfigProperty experimentConfigProperty = ExperimentConfigProperty.builder()
        .experimentName("experimentName")
        .runName("runName")
        .trialComponentDisplayName("trialComponentDisplayName")
        .trialName("trialName")
        .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.Sagemaker;

var experimentConfigProperty = new ExperimentConfigProperty {
    ExperimentName = "experimentName",
    RunName = "runName",
    TrialComponentDisplayName = "trialComponentDisplayName",
    TrialName = "trialName"
};
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"

experimentConfigProperty := &ExperimentConfigProperty{
	ExperimentName: jsii.String("experimentName"),
	RunName: jsii.String("runName"),
	TrialComponentDisplayName: jsii.String("trialComponentDisplayName"),
	TrialName: jsii.String("trialName"),
}

Properties ​

experimentNameoptionalstringexperiment_nameoptionalstrexperimentNameoptionalStringExperimentNameoptionalstringExperimentNameoptional*string #
The name of an existing experiment to associate with the trial component.
runNameoptionalstringrun_nameoptionalstrrunNameoptionalStringRunNameoptionalstringRunNameoptional*string #
The name of the experiment run to associate with the trial component.
trialComponentDisplayNameoptionalstringtrial_component_display_nameoptionalstrtrialComponentDisplayNameoptionalStringTrialComponentDisplayNameoptionalstringTrialComponentDisplayNameoptional*string #
The display name for the trial component.

If this key isn't specified, the display name is the trial component name.

trialNameoptionalstringtrial_nameoptionalstrtrialNameoptionalStringTrialNameoptionalstringTrialNameoptional*string #
The name of an existing trial to associate the trial component with.

If not specified, a new trial is created.