npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@aws-mdaa/sagemaker-model-deploy-l3-construct

v1.7.0

Published

MDAA SageMaker Model Deployment L3 Construct

Downloads

81

Readme

Construct Overview

Provides two constructs for deploying SageMaker models to real-time inference endpoints. The SageMakerModelDeployL3Construct creates a CodeBuild-based CDK deploy pipeline that automatically triggers on ModelPackage approval events, with optional manual approval and cross-account deployment support. The SageMakerEndpointL3Construct deploys a SageMaker endpoint directly via CDK with KMS encryption and optional data capture configuration.


Deployed Resources

SageMakerModelDeployL3Construct

  • CodeCommit Repository - Source repository seeded with CDK deployment code for provisioning SageMaker endpoints across target accounts.

  • CodeBuild Project - Executes cdk deploy from the seed code to provision or update SageMaker endpoint infrastructure in target accounts.

  • S3 Artifacts Bucket - KMS-encrypted bucket for storing deployment artifacts and CodeBuild outputs.

  • EventBridge Rule - Triggers the deployment pipeline when a SageMaker ModelPackage status changes to Approved.

  • SNS Topic (Optional) - Enables manual approval gates in the deployment pipeline before promoting to production environments.

  • Cross-Account Deployment Stacks (Optional) - Pre-production and production CloudFormation stacks deployed to separate AWS accounts for staged rollout.

  • Lambda Deploy Trigger - Custom Resource Lambda function that initiates the initial deployment pipeline execution.

  • KMS Key and Alias - Customer-managed encryption key for the artifacts bucket and deployment resources.

  • IAM Roles - CodeBuild service role and pipeline execution role with permissions for CDK deployments, SageMaker, S3, and cross-account assume-role operations.

  • SSM Parameters - Published references for the repository name, build project name, bucket name, and KMS key ID.

SageMakerEndpointL3Construct

  • CfnModel - SageMaker Model resource referencing the model artifact and container image for inference.

  • CfnEndpointConfig - Endpoint configuration defining instance type, count, and KMS encryption settings for the inference endpoint.

  • CfnEndpoint - Real-time SageMaker inference endpoint serving predictions from the deployed model.

  • KMS Key - Customer-managed encryption key for endpoint data encryption at rest.

  • IAM Execution Role - SageMaker execution role with permissions to access model artifacts in S3, pull container images from ECR, and write to CloudWatch.

  • Data Capture Configuration (Optional) - Configures the endpoint to capture inference request and response payloads to S3 for monitoring and auditing.

  • SSM Parameters - Published references for the endpoint name, endpoint ARN, model name, and KMS key ID.