Skip to main content

A JSII construct library to build Metaflow infrastructure on AWS using Python, Typescript or Go

Project description

CDK Metaflow

The cdk-metaflow package contains cdk constructs for deploying metaflow infrastructure on aws.

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
import cdk_metaflow as metaflow

Metaflow

The main construct creates all the required infrastructure for getting up and running with Metaflow on AWS. This is achieved by creating an instance of Metaflow:

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
metaflow = Metaflow(self, "metaflow")

Full example:

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
from cdk_metaflow import Metaflow
import aws_cdk.core as cdk

class MetaflowStack(cdk.Stack):
    def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, synthesizer=None, terminationProtection=None, analyticsReporting=None):
        super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting)
        self.metaflow = Metaflow(self, "metaflow-ts")

dev_env = {
    "account": "123456789",
    "region": "us-west-2"
}

app = cdk.App()
MetaflowStack(app, "metaflow-stack-ts", env=dev_env)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cdk-metaflow-0.0.20.tar.gz (71.1 kB view hashes)

Uploaded Source

Built Distribution

cdk_metaflow-0.0.20-py3-none-any.whl (69.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page