Skip to content
v2.278.0

ModelCardProperty Struct ​

An Amazon SageMaker Model Card.

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 modelCardProperty: sagemaker.CfnModelPackage.ModelCardProperty = {
  modelCardContent: 'modelCardContent',
  modelCardStatus: 'modelCardStatus',
};
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

model_card_property = sagemaker.CfnModelPackage.ModelCardProperty(
    model_card_content="modelCardContent",
    model_card_status="modelCardStatus"
)
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.*;

ModelCardProperty modelCardProperty = ModelCardProperty.builder()
        .modelCardContent("modelCardContent")
        .modelCardStatus("modelCardStatus")
        .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 modelCardProperty = new ModelCardProperty {
    ModelCardContent = "modelCardContent",
    ModelCardStatus = "modelCardStatus"
};
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"

modelCardProperty := &ModelCardProperty{
	ModelCardContent: jsii.String("modelCardContent"),
	ModelCardStatus: jsii.String("modelCardStatus"),
}

Properties ​

modelCardContentstringmodel_card_contentstrmodelCardContentStringModelCardContentstringModelCardContent*string required #
The content of the model card.
modelCardStatusstringmodel_card_statusstrmodelCardStatusStringModelCardStatusstringModelCardStatus*string required #
The approval status of the model card within your organization.
notes

Different organizations might have different criteria for model card review and approval.

  • Draft : The model card is a work in progress.
  • PendingReview : The model card is pending review.
  • Approved : The model card is approved.
  • Archived : The model card is archived. No more updates should be made to the model card, but it can still be exported.