AWS Fundamentals Logo
AWS Fundamentals
AWS::SageMaker::Model

SageMaker Model

Resource type definition for AWS::SageMaker::Model

Properties

8 configurable properties. Click a row to see details.

Filter:
PropertyTypeFlags
Containers
Array<ContainerDefinition>
Create-only
EnableNetworkIsolation
boolean
Create-only
ExecutionRoleArn
string
Create-only
InferenceExecutionConfig
InferenceExecutionConfig
Create-only
ModelName
string
Create-only
PrimaryContainer
ContainerDefinition
Create-only
Tags
Array<Tag>
VpcConfig
VpcConfig
Create-only

Return Values

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

AttributeTypeDescription
ModelArnstringThe Amazon Resource Name (ARN) of the model.

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

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

Required IAM Permissions

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

create

iam:PassRolesagemaker:AddTagssagemaker:CreateModel

read

sagemaker:DescribeModelsagemaker:ListTags

update

sagemaker:AddTagssagemaker:DeleteTags

delete

sagemaker:DeleteModel

list

sagemaker:ListModels

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
Properties9
Required0
TaggingSupported
Primary IDModelArn

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

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

ExecutionRoleArnEnableNetworkIsolationInferenceExecutionConfigPrimaryContainerModelNameVpcConfigContainers

External Links