Skip to main content

The CDK Construct Library for AWS::Batch

Project description

AWS Batch Construct Library

---

Stability: Experimental

This is a developer preview (public beta) module.

All classes with the Cfn prefix in this module (CFN Resources) are auto-generated from CloudFormation. They are stable and safe to use.

However, all other classes, i.e., higher level constructs, are under active development and subject to non-backward compatible changes or removal in any future version. These are not subject to the Semantic Versioning model. This means that while you may use them, you may need to update your source code when upgrading to a newer version of this package.


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

Launch template support

Usage

Simply define your Launch Template:

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
my_launch_template = ec2.CfnLaunchTemplate(self, "LaunchTemplate",
    launch_template_name="extra-storage-template",
    launch_template_data={
        "block_device_mappings": [{
            "device_name": "/dev/xvdcz",
            "ebs": {
                "encrypted": True,
                "volume_size": 100,
                "volume_type": "gp2"
            }
        }
        ]
    }
)

and use it:

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
my_compute_env = batch.ComputeEnvironment(self, "ComputeEnv",
    compute_resources={
        "launch_template": {
            "launch_template_name": my_launch_template.launch_template_name
        },
        "vpc": vpc
    },
    compute_environment_name="MyStorageCapableComputeEnvironment"
)

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

aws-cdk.aws-batch-1.32.2.tar.gz (122.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aws_cdk.aws_batch-1.32.2-py3-none-any.whl (120.6 kB view details)

Uploaded Python 3

File details

Details for the file aws-cdk.aws-batch-1.32.2.tar.gz.

File metadata

  • Download URL: aws-cdk.aws-batch-1.32.2.tar.gz
  • Upload date:
  • Size: 122.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.5

File hashes

Hashes for aws-cdk.aws-batch-1.32.2.tar.gz
Algorithm Hash digest
SHA256 8a7515863377586a6931ac2e072757651953d59577b72b4399429af5e9d5ea78
MD5 bbb1394126f0dc7aef625a953e441040
BLAKE2b-256 8a1c76229853055dcf8acc56fca477af1441998161a2fec1cded4dc08bdb8ef4

See more details on using hashes here.

File details

Details for the file aws_cdk.aws_batch-1.32.2-py3-none-any.whl.

File metadata

  • Download URL: aws_cdk.aws_batch-1.32.2-py3-none-any.whl
  • Upload date:
  • Size: 120.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.5

File hashes

Hashes for aws_cdk.aws_batch-1.32.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d54e5744107168a4b92a2391bac98071013fb401ab559ce0c80380ffb2dcd783
MD5 a0e2d0c67fb69a3b8617dcc581a957eb
BLAKE2b-256 738c2eb1746ee37ce33ddabfe6de111e6ee0390f3d84487a70fc0123f2fbedcb

See more details on using hashes here.

Supported by

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