CfnTrialComponentProps
- class aws_cdk.aws_sagemaker.CfnTrialComponentProps(*, trial_component_name, display_name=None, input_artifacts=None, metadata_properties=None, output_artifacts=None, parameters=None, status=None, tags=None)
Bases:
objectProperties for defining a
CfnTrialComponent.- Parameters:
trial_component_name (
str) – The name of the trial component. Must be unique in your AWS account and is not case-sensitive.display_name (
Optional[str]) – The name of the component as displayed. If DisplayName isn’t specified, TrialComponentName is displayed.input_artifacts (
Union[IResolvable,Mapping[str,Union[IResolvable,TrialComponentArtifactProperty,Dict[str,Any]]],None]) – The input artifacts for the component.metadata_properties (
Union[IResolvable,MetadataPropertiesProperty,Dict[str,Any],None]) – Metadata properties of the tracking entity, trial, or trial component.output_artifacts (
Union[IResolvable,Mapping[str,Union[IResolvable,TrialComponentArtifactProperty,Dict[str,Any]]],None]) – The output artifacts for the component.parameters (
Union[IResolvable,Mapping[str,Union[IResolvable,TrialComponentParameterValueProperty,Dict[str,Any]]],None]) – The hyperparameters for the component.status (
Union[IResolvable,TrialComponentStatusProperty,Dict[str,Any],None]) – The status of the trial component.tags (
Optional[Sequence[Union[TagsItemsProperty,Dict[str,Any]]]]) – A list of tags to associate with the trial component.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# 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_trial_component_props = sagemaker.CfnTrialComponentProps( trial_component_name="trialComponentName", # the properties below are optional display_name="displayName", input_artifacts={ "input_artifacts_key": sagemaker.CfnTrialComponent.TrialComponentArtifactProperty( value="value", # the properties below are optional media_type="mediaType" ) }, metadata_properties=sagemaker.CfnTrialComponent.MetadataPropertiesProperty( commit_id="commitId", generated_by="generatedBy", project_id="projectId", repository="repository" ), output_artifacts={ "output_artifacts_key": sagemaker.CfnTrialComponent.TrialComponentArtifactProperty( value="value", # the properties below are optional media_type="mediaType" ) }, parameters={ "parameters_key": sagemaker.CfnTrialComponent.TrialComponentParameterValueProperty( number_value=123, string_value="stringValue" ) }, status=sagemaker.CfnTrialComponent.TrialComponentStatusProperty( message="message", primary_status="primaryStatus" ), tags=[sagemaker.CfnTrialComponent.TagsItemsProperty( key="key", value="value" )] )
Attributes
- display_name
The name of the component as displayed.
If DisplayName isn’t specified, TrialComponentName is displayed.
- input_artifacts
The input artifacts for the component.
- metadata_properties
Metadata properties of the tracking entity, trial, or trial component.
- output_artifacts
The output artifacts for the component.
- parameters
The hyperparameters for the component.
- status
The status of the trial component.
- tags
A list of tags to associate with the trial component.
- trial_component_name
The name of the trial component.
Must be unique in your AWS account and is not case-sensitive.