Skip to content
v2.278.0

TrialComponentStatusProperty Struct ​

The status of the trial component.

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 trialComponentStatusProperty: sagemaker.CfnTrialComponent.TrialComponentStatusProperty = {
  message: 'message',
  primaryStatus: 'primaryStatus',
};
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

trial_component_status_property = sagemaker.CfnTrialComponent.TrialComponentStatusProperty(
    message="message",
    primary_status="primaryStatus"
)
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.*;

TrialComponentStatusProperty trialComponentStatusProperty = TrialComponentStatusProperty.builder()
        .message("message")
        .primaryStatus("primaryStatus")
        .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 trialComponentStatusProperty = new TrialComponentStatusProperty {
    Message = "message",
    PrimaryStatus = "primaryStatus"
};
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"

trialComponentStatusProperty := &TrialComponentStatusProperty{
	Message: jsii.String("message"),
	PrimaryStatus: jsii.String("primaryStatus"),
}

Properties ​

messageoptionalstringmessageoptionalstrmessageoptionalStringMessageoptionalstringMessageoptional*string #
If the component failed, a message describing why.
primaryStatusoptionalstringprimary_statusoptionalstrprimaryStatusoptionalStringPrimaryStatusoptionalstringPrimaryStatusoptional*string #
The status of the trial component.