Class CfnExperimentTrialComponent

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.sagemaker.CfnExperimentTrialComponent
All Implemented Interfaces:
IInspectable, IEnvironmentAware, IExperimentTrialComponentRef, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-02T11:03:18.522Z") @Stability(Stable) public class CfnExperimentTrialComponent extends CfnResource implements IInspectable, IExperimentTrialComponentRef, ITaggableV2
Resource Type definition for AWS::SageMaker::ExperimentTrialComponent.

Example:

 // 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.*;
 CfnExperimentTrialComponent cfnExperimentTrialComponent = CfnExperimentTrialComponent.Builder.create(this, "MyCfnExperimentTrialComponent")
         .trialComponentName("trialComponentName")
         // the properties below are optional
         .displayName("displayName")
         .endTime("endTime")
         .metadataProperties(MetadataPropertiesProperty.builder()
                 .commitId("commitId")
                 .generatedBy("generatedBy")
                 .projectId("projectId")
                 .repository("repository")
                 .build())
         .startTime("startTime")
         .status(StatusProperty.builder()
                 .message("message")
                 .primaryStatus("primaryStatus")
                 .build())
         .tags(List.of(TagsItemsProperty.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnExperimentTrialComponent

      protected CfnExperimentTrialComponent(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnExperimentTrialComponent

      protected CfnExperimentTrialComponent(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnExperimentTrialComponent

      @Stability(Stable) public CfnExperimentTrialComponent(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnExperimentTrialComponentProps props)
      Create a new AWS::SageMaker::ExperimentTrialComponent.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details