CfnModelCardExportJobPropsMixin
- class aws_cdk.cfn_property_mixins.aws_sagemaker.CfnModelCardExportJobPropsMixin(props, *, strategy=None)
Bases:
MixinDefinition of AWS::SageMaker::ModelCardExportJob Resource Type.
- See:
- CloudformationResource:
AWS::SageMaker::ModelCardExportJob
- 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_model_card_export_job_props_mixin = sagemaker.CfnModelCardExportJobPropsMixin(sagemaker.CfnModelCardExportJobMixinProps( model_card_export_job_name="modelCardExportJobName", model_card_name="modelCardName", model_card_version=123, output_config=sagemaker.CfnModelCardExportJobPropsMixin.ModelCardExportOutputConfigProperty( s3_output_path="s3OutputPath" ) ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::SageMaker::ModelCardExportJob.- Parameters:
props (
Union[CfnModelCardExportJobMixinProps,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 = ['modelCardExportJobName', 'modelCardName', 'modelCardVersion', 'outputConfig']
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.
ModelCardExportArtifactsProperty
- class CfnModelCardExportJobPropsMixin.ModelCardExportArtifactsProperty(*, s3_export_artifacts=None)
Bases:
objectThe artifacts of the model card export job.
- Parameters:
s3_export_artifacts (
Optional[str]) – The Amazon S3 URI of the exported model artifacts.- 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 model_card_export_artifacts_property = sagemaker.CfnModelCardExportJobPropsMixin.ModelCardExportArtifactsProperty( s3_export_artifacts="s3ExportArtifacts" )
Attributes
- s3_export_artifacts
The Amazon S3 URI of the exported model artifacts.
ModelCardExportOutputConfigProperty
- class CfnModelCardExportJobPropsMixin.ModelCardExportOutputConfigProperty(*, s3_output_path=None)
Bases:
objectConfigure the export output details for an Amazon SageMaker Model Card.
- Parameters:
s3_output_path (
Optional[str]) – The Amazon S3 output path to export your model card PDF.- 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 model_card_export_output_config_property = sagemaker.CfnModelCardExportJobPropsMixin.ModelCardExportOutputConfigProperty( s3_output_path="s3OutputPath" )
Attributes
- s3_output_path
The Amazon S3 output path to export your model card PDF.