# ModelCardProperty

An Amazon SageMaker Model Card.

- Source: Generated at build time
- Type last changed: v2.154.0 · 22 Aug 2024

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `modelCardContent`: string (required) — The content of the model card.

- `modelCardStatus`: string (required) — The approval status of the model card within your organization.

  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.
