AWS Fundamentals Logo
AWS Fundamentals
AWS::SageMaker::ModelCard

SageMaker ModelCard

Resource Type definition for AWS::SageMaker::ModelCard.

Properties

7 configurable properties. 3 required. Click a row to see details.

Filter:
PropertyTypeFlags
Content
Content
Required
ModelCardName
string
RequiredCreate-only
ModelCardStatus
string
Required
CreatedBy
UserContext
LastModifiedBy
UserContext
SecurityConfig
SecurityConfig
Create-only
Tags
Array<Tag>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
CreationTimestringThe date and time the model card was created.
LastModifiedTimestringThe date and time the model card was last modified.
ModelCardArnstringThe Amazon Resource Name (ARN) of the successfully created model card.
ModelCardProcessingStatusstringThe processing status of model card deletion. The ModelCardProcessingStatus updates throughout the different deletion steps.
ModelCardVersionintegerA version of the model card.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::SageMaker::ModelCard

Resources:
  MyResource:
    Type: AWS::SageMaker::ModelCard
    Properties:
      ModelCardName: "my-modelcardname"
      Content: "value"
      ModelCardStatus: "Draft"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

sagemaker:CreateModelCardsagemaker:DescribeModelkms:DescribeKeykms:GenerateDataKeykms:CreateGrantsagemaker:DescribeModelPackageGroupsagemaker:DescribeModelPackagesagemaker:AddTags

read

sagemaker:DescribeModelCardsagemaker:DescribeModelPackageGroupsagemaker:DescribeModelPackagekms:Decryptsagemaker:ListTags

update

sagemaker:UpdateModelCardsagemaker:DescribeModelCardsagemaker:DescribeModelkms:GenerateDataKeykms:Decryptsagemaker:DescribeModelPackageGroupsagemaker:DescribeModelPackagesagemaker:ListTags

delete

sagemaker:DescribeModelCardsagemaker:DeleteModelCardsagemaker:DescribeModelPackageGroupsagemaker:DescribeModelPackagekms:RetireGrantkms:Decryptsagemaker:ListTagssagemaker:DeleteTags

list

sagemaker:ListModelCardssagemaker:ListModelCardVersions

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceSageMaker
Properties12
Required3
TaggingSupported
Primary IDModelCardName

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

ModelCardNameSecurityConfig

External Links