CfnExperimentTrialComponentPropsMixin
- class aws_cdk.cfn_property_mixins.aws_sagemaker.CfnExperimentTrialComponentPropsMixin(props, *, strategy=None)
Bases:
MixinResource type definition for AWS SageMaker Experiment Trial Component.
- See:
- CloudformationResource:
AWS::SageMaker::ExperimentTrialComponent
- Mixin:
true
- 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.cfn_property_mixins import aws_sagemaker as sagemaker import aws_cdk as cdk # merge_strategy: cdk.IMergeStrategy cfn_experiment_trial_component_props_mixin = sagemaker.CfnExperimentTrialComponentPropsMixin(sagemaker.CfnExperimentTrialComponentMixinProps( display_name="displayName", end_time="endTime", metadata_properties=sagemaker.CfnExperimentTrialComponentPropsMixin.MetadataPropertiesProperty( commit_id="commitId", generated_by="generatedBy", project_id="projectId", repository="repository" ), start_time="startTime", status=sagemaker.CfnExperimentTrialComponentPropsMixin.StatusProperty( message="message", primary_status="primaryStatus" ), tags=[sagemaker.CfnExperimentTrialComponentPropsMixin.TagsItemsProperty( key="key", value="value" )], trial_component_name="trialComponentName" ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::SageMaker::ExperimentTrialComponent.- Parameters:
props (
Union[CfnExperimentTrialComponentMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
None
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['displayName', 'endTime', 'metadataProperties', 'startTime', 'status', 'tags', 'trialComponentName']
Static Methods
- classmethod is_mixin(x)
Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.
MetadataPropertiesProperty
- class CfnExperimentTrialComponentPropsMixin.MetadataPropertiesProperty(*, commit_id=None, generated_by=None, project_id=None, repository=None)
Bases:
objectMetadata properties of the tracking entity, trial, or trial component.
- Parameters:
commit_id (
Optional[str]) – The commit ID.generated_by (
Optional[str]) – The entity this entity was generated by.project_id (
Optional[str]) – The project ID.repository (
Optional[str]) – The repository.
- 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.cfn_property_mixins import aws_sagemaker as sagemaker metadata_properties_property = sagemaker.CfnExperimentTrialComponentPropsMixin.MetadataPropertiesProperty( commit_id="commitId", generated_by="generatedBy", project_id="projectId", repository="repository" )
Attributes
- commit_id
The commit ID.
- generated_by
The entity this entity was generated by.
- project_id
The project ID.
StatusProperty
- class CfnExperimentTrialComponentPropsMixin.StatusProperty(*, message=None, primary_status=None)
Bases:
objectThe status of the trial component.
- Parameters:
message (
Optional[str]) – If the component failed, a message describing why.primary_status (
Optional[str]) – The status of 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.cfn_property_mixins import aws_sagemaker as sagemaker status_property = sagemaker.CfnExperimentTrialComponentPropsMixin.StatusProperty( message="message", primary_status="primaryStatus" )
Attributes
- message
If the component failed, a message describing why.
- primary_status
The status of the trial component.