AWS Fundamentals Logo
AWS Fundamentals
AWS::SageMaker::ModelPackage

SageMaker ModelPackage

Resource Type definition for AWS::SageMaker::ModelPackage

Properties

26 configurable properties. Click a row to see details.

Filter:
PropertyTypeFlags
AdditionalInferenceSpecifications
array
AdditionalInferenceSpecificationsToAdd
array
Write-only
ApprovalDescription
string
CertifyForMarketplace
boolean
ClientToken
string
Create-onlyWrite-only
CustomerMetadataProperties
CustomerMetadataProperties
Domain
string
Create-only
DriftCheckBaselines
DriftCheckBaselines
Create-only
InferenceSpecification
InferenceSpecification
Create-only
MetadataProperties
MetadataProperties
Create-only
ModelApprovalStatus
string
ModelCard
ModelCard
ModelMetrics
ModelMetrics
Create-only
ModelPackageDescription
string
Create-only
ModelPackageGroupName
string
Create-only
ModelPackageName
string
ModelPackageStatusDetails
ModelPackageStatusDetails
ModelPackageVersion
integer
SamplePayloadUrl
string
Create-only
SecurityConfig
SecurityConfig
Create-only
SkipModelValidation
string
SourceAlgorithmSpecification
SourceAlgorithmSpecification
Create-only
SourceUri
string
Tags
Array<Tag>
Task
string
Create-only
ValidationSpecification
ValidationSpecification
Create-only

Return Values

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

AttributeTypeDescription
CreationTimestring-
LastModifiedTimestring-
ModelPackageArnstring-
ModelPackageStatusstring-

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

Resources:
  MyResource:
    Type: AWS::SageMaker::ModelPackage
    Properties:
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

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

create

ecr:BatchGetImageecr:DescribeImagesecr:StartImageScanecr:DescribeImageScanFindingssagemaker:AddTagssagemaker:CreateModelsagemaker:CreateModelPackagesagemaker:CreateTrainingJob

read

sagemaker:DescribeModelPackagesagemaker:ListTagskms:DescribeKeykms:Decrypt

update

ecr:BatchGetImagesagemaker:UpdateModelPackagesagemaker:DescribeModelPackagesagemaker:ListTagssagemaker:AddTagssagemaker:DeleteTagss3:GetObjects3:ListBucket

delete

sagemaker:DeleteModelPackagesagemaker:DescribeModelPackagekms:DescribeKeykms:Decrypt

list

sagemaker:ListModelPackages

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
Properties30
Required0
TaggingSupported
Primary IDModelPackageArn

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

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

ModelPackageGroupNameModelPackageDescriptionInferenceSpecificationValidationSpecificationSourceAlgorithmSpecificationMetadataPropertiesModelMetricsClientTokenDriftCheckBaselinesDomainTaskSamplePayloadUrlSecurityConfig

External Links