AWS::SageMaker::ModelPackageResource Type definition for AWS::SageMaker::ModelPackage
26 configurable properties. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
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 |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
CreationTime | string | - |
LastModifiedTime | string | - |
ModelPackageArn | string | - |
ModelPackageStatus | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::SageMaker::ModelPackage
Resources:
MyResource:
Type: AWS::SageMaker::ModelPackage
Properties:
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
ecr:BatchGetImageecr:DescribeImagesecr:StartImageScanecr:DescribeImageScanFindingssagemaker:AddTagssagemaker:CreateModelsagemaker:CreateModelPackagesagemaker:CreateTrainingJobsagemaker:DescribeModelPackagesagemaker:ListTagskms:DescribeKeykms:Decryptecr:BatchGetImagesagemaker:UpdateModelPackagesagemaker:DescribeModelPackagesagemaker:ListTagssagemaker:AddTagssagemaker:DeleteTagss3:GetObjects3:ListBucketsagemaker:DeleteModelPackagesagemaker:DescribeModelPackagekms:DescribeKeykms:Decryptsagemaker:ListModelPackagesOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterModelPackageArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
ModelPackageGroupNameModelPackageDescriptionInferenceSpecificationValidationSpecificationSourceAlgorithmSpecificationMetadataPropertiesModelMetricsClientTokenDriftCheckBaselinesDomainTaskSamplePayloadUrlSecurityConfig