CfnExperimentProps
Struct External
Properties for defining a CfnExperiment.
| Source | |
|---|---|
| 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_sagemaker as sagemaker } from 'aws-cdk-lib';
const cfnExperimentProps: sagemaker.CfnExperimentProps = {
experimentName: 'experimentName',
// the properties below are optional
description: 'description',
displayName: 'displayName',
tags: [{
key: 'key',
value: 'value',
}],
};
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
cfn_experiment_props = sagemaker.CfnExperimentProps(
experiment_name="experimentName",
# the properties below are optional
description="description",
display_name="displayName",
tags=[sagemaker.CfnExperiment.TagsItemsProperty(
key="key",
value="value"
)]
)
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.*;
CfnExperimentProps cfnExperimentProps = CfnExperimentProps.builder()
.experimentName("experimentName")
// the properties below are optional
.description("description")
.displayName("displayName")
.tags(List.of(TagsItemsProperty.builder()
.key("key")
.value("value")
.build()))
.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 cfnExperimentProps = new CfnExperimentProps {
ExperimentName = "experimentName",
// the properties below are optional
Description = "description",
DisplayName = "displayName",
Tags = new [] { new TagsItemsProperty {
Key = "key",
Value = "value"
} }
};
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"
cfnExperimentProps := &CfnExperimentProps{
ExperimentName: jsii.String("experimentName"),
// the properties below are optional
Description: jsii.String("description"),
DisplayName: jsii.String("displayName"),
Tags: []TagsItemsProperty{
&TagsItemsProperty{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #The description of the experiment.
displayNameoptionalstringdisplay_nameoptionalstrdisplayNameoptionalStringDisplayNameoptionalstringDisplayNameoptional*string #The name of the experiment as displayed.
The name does not need to be unique.
experimentNamestringexperiment_namestrexperimentNameStringExperimentNamestringExperimentName*string required #The name of the experiment.
Must be unique in your AWS account and is not case-sensitive.
tagsoptionalCfnExperiment.TagsItemsProperty[]tagsoptionaltyping.List[TagsItemsProperty]tagsoptionalList<TagsItemsProperty>TagsoptionalTagsItemsProperty[]Tagsoptional*[]TagsItemsProperty #A list of tags to associate with the experiment.