Skip to content
v2.277.0

Amazon SageMaker Construct Library ​

This module is part of the AWS Cloud Development Kit project.

ts
import * as sagemaker from 'aws-cdk-lib/aws-sagemaker';
python
import aws_cdk.aws_sagemaker as sagemaker
java
import software.amazon.awscdk.services.sagemaker.*;
csharp
using Amazon.CDK.AWS.Sagemaker;
go
import sagemaker "github.com/aws/aws-cdk-go/awscdk"

There are no official hand-written (L2) constructs for this service yet. Here are some suggestions on how to proceed:

An experimental construct library for this service is available in preview. Since it is not stable yet, it is distributed as a separate package so that you can pin its version independently of the rest of the CDK. See the package:

<span class="package-reference">@aws-cdk/aws-sagemaker-alpha</span>

There are no hand-written (L2) constructs for this service yet. However, you can still use the automatically generated L1 constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the CloudFormation documentation for AWS::SageMaker.

(Read the CDK Contributing Guide and submit an RFC if you are interested in contributing to this construct library.)

Types ​

Constructs (L1) ​

  • CfnAction Construct (L1)
    Resource type definition for AWS::SageMaker::Action.
  • CfnAIWorkloadConfig Construct (L1)
    Resource Type definition for AWS::SageMaker::AIWorkloadConfig.
  • CfnAlgorithm Construct (L1)
    Resource Type definition for AWS::SageMaker::Algorithm.
  • CfnApp Construct (L1)
    Creates a running app for the specified UserProfile.
  • CfnAppImageConfig Construct (L1)
    Creates a configuration for running a SageMaker AI image as a KernelGateway app.
  • CfnArtifact Construct (L1)
    Resource type definition for AWS::SageMaker::Artifact.
  • CfnCluster Construct (L1)
    Creates an Amazon SageMaker HyperPod cluster.
  • CfnClusterSchedulerConfig Construct (L1)
    Resource Type definition for AWS::SageMaker::ClusterSchedulerConfig.
  • CfnCodeRepository Construct (L1)
    Creates a Git repository as a resource in your SageMaker AI account.
  • CfnComputeQuota Construct (L1)
    Resource Type definition for AWS::SageMaker::ComputeQuota.
  • CfnContext Construct (L1)
    Resource type definition for AWS::SageMaker::Context.
  • CfnDataQualityJobDefinition Construct (L1)
    Creates a definition for a job that monitors data quality and drift.
  • CfnDevice Construct (L1)
    The AWS::SageMaker::Device resource is an Amazon SageMaker resource type that allows you to register your Devices against an existing SageMaker Edge Manager DeviceFleet.
  • CfnDeviceFleet Construct (L1)
    The AWS::SageMaker::DeviceFleet resource is an Amazon SageMaker resource type that allows you to create a DeviceFleet that manages your SageMaker Edge Manager Devices.
  • CfnDomain Construct (L1)
    Creates a Domain .
  • CfnEndpoint Construct (L1)
    Use the AWS::SageMaker::Endpoint resource to create an endpoint using the specified configuration in the request.
  • CfnEndpointConfig Construct (L1)
    The AWS::SageMaker::EndpointConfig resource creates a configuration for an Amazon SageMaker endpoint.
  • CfnExperiment Construct (L1)
    Resource type definition for AWS::SageMaker::Experiment.
  • CfnExperimentTrialComponent Construct (L1)
    Resource Type definition for AWS::SageMaker::ExperimentTrialComponent.
  • CfnFeatureGroup Construct (L1)
    Create a new FeatureGroup .
  • CfnHub Construct (L1)
    Resource type definition for AWS::SageMaker::Hub.
  • CfnHumanTaskUi Construct (L1)
    Resource Type definition for AWS::SageMaker::HumanTaskUi.
  • CfnImage Construct (L1)
    Creates a custom SageMaker AI image.
  • CfnImageVersion Construct (L1)
    Creates a version of the SageMaker image specified by ImageName .
  • CfnInferenceComponent Construct (L1)
    Creates an inference component, which is a SageMaker AI hosting object that you can use to deploy a model to an endpoint.
  • CfnInferenceExperiment Construct (L1)
    Creates an inference experiment using the configurations specified in the request.
  • CfnMlflowApp Construct (L1)
    Resource type definition for AWS::SageMaker::MlflowApp.
  • CfnMlflowTrackingServer Construct (L1)
    Creates an MLflow Tracking Server using a general purpose Amazon S3 bucket as the artifact store.
  • CfnModel Construct (L1)
    The AWS::SageMaker::Model resource to create a model to host at an Amazon SageMaker endpoint.
  • CfnModelBiasJobDefinition Construct (L1)
    Creates the definition for a model bias job.
  • CfnModelCard Construct (L1)
    Creates an Amazon SageMaker Model Card.
  • CfnModelExplainabilityJobDefinition Construct (L1)
    Creates the definition for a model explainability job.
  • CfnModelPackage Construct (L1)
    A container for your trained model that can be deployed for SageMaker inference.
  • CfnModelPackageGroup Construct (L1)
    A group of versioned models in the Model Registry.
  • CfnModelQualityJobDefinition Construct (L1)
    Creates a definition for a job that monitors model quality and drift.
  • CfnMonitoringSchedule Construct (L1)
    The AWS::SageMaker::MonitoringSchedule resource is an Amazon SageMaker resource type that regularly starts SageMaker processing Jobs to monitor the data captured for a SageMaker endpoint.
  • CfnNotebookInstance Construct (L1)
    The AWS::SageMaker::NotebookInstance resource creates an Amazon SageMaker notebook instance.
  • CfnNotebookInstanceLifecycleConfig Construct (L1)
    The AWS::SageMaker::NotebookInstanceLifecycleConfig resource creates shell scripts that run when you create and/or start a notebook instance.
  • CfnPartnerApp Construct (L1)
    The AWS::SageMaker::PartnerApp resource creates an Amazon SageMaker Partner AI App.
  • CfnPipeline Construct (L1)
    The AWS::SageMaker::Pipeline resource creates shell scripts that run when you create and/or start a SageMaker Pipeline.
  • CfnProcessingJob Construct (L1)
    An Amazon SageMaker processing job that is used to analyze data and evaluate models.
  • CfnProject Construct (L1)
    Creates a machine learning (ML) project that can contain one or more templates that set up an ML pipeline from training to deploying an approved model.
  • CfnSpace Construct (L1)
    Creates a private space or a space used for real time collaboration in a domain.
  • CfnStudioLifecycleConfig Construct (L1)
    Creates a new Amazon SageMaker AI Studio Lifecycle Configuration.
  • CfnTrialComponent Construct (L1)
    Resource type definition for AWS::SageMaker::TrialComponent.
  • CfnUserProfile Construct (L1)
    Creates a user profile.
  • CfnWorkforce Construct (L1)
    Resource Type definition for AWS::SageMaker::Workforce.
  • CfnWorkteam Construct (L1)
    Creates a new work team for labeling your data.

Structs ​

Interfaces ​

  • IEndpoint Interface
    The interface for a SageMaker Endpoint resource.
  • IPipeline Interface
    The interface for a SageMaker Pipeline resource.