AWS Fundamentals Logo
AWS Fundamentals
AWS::SageMaker::Context

SageMaker Context

Resource type definition for AWS::SageMaker::Context. A context is a lineage tracking entity that represents a logical grouping of other tracking or experiment entities.

Properties

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

Filter:
PropertyTypeFlags
ContextName
string
RequiredCreate-only
ContextType
string
RequiredCreate-only
Source
object
RequiredCreate-only
Description
string
Properties
object
Tags
Array<object>

Return Values

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

AttributeTypeDescription
ArnstringThe Amazon Resource Name (ARN) of the context.
CreationTimestringWhen the context was created.
LastModifiedTimestringWhen the context was last modified.

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

Resources:
  MyResource:
    Type: AWS::SageMaker::Context
    Properties:
      ContextName: "my-contextname"
      ContextType: "value"
      Source: {}
      Tags:
        - Key: Environment
          Value: Production
      Description: !Ref "AWS::StackName"

Required IAM Permissions

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

create

sagemaker:CreateContextsagemaker:DescribeContextsagemaker:AddTagssagemaker:ListTags

read

sagemaker:DescribeContextsagemaker:ListTags

update

sagemaker:UpdateContextsagemaker:DescribeContextsagemaker:AddTagssagemaker:DeleteTagssagemaker:ListTags

delete

sagemaker:DeleteContextsagemaker:DescribeContextsagemaker:ListTags

list

sagemaker:ListContexts

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
Required3
TaggingSupported
Primary IDArn

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

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

ContextNameContextTypeSource

External Links