Skip to main content

The CDK Construct Library for AWS::Batch

Project description

AWS Batch Construct Library

---

cfn-resources: Stable

All classes with the Cfn prefix in this module (CFN Resources) are always stable and safe to use.

cdk-constructs: Experimental

The APIs of higher level constructs in this module are experimental and under active development. They are subject to non-backward compatible changes or removal in any future version. These are not subject to the Semantic Versioning model and breaking changes will be announced in the release notes. 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.47.1.tar.gz (134.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.47.1-py3-none-any.whl (132.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aws-cdk.aws-batch-1.47.1.tar.gz
  • Upload date:
  • Size: 134.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.5

File hashes

Hashes for aws-cdk.aws-batch-1.47.1.tar.gz
Algorithm Hash digest
SHA256 7b59120a7c278118bd8612cd48a13ae7130c351d9f1ad163cc35025e2aaeee65
MD5 ced5591f7aa37205b4387f40e04190f1
BLAKE2b-256 4299b804f186f75efc8f2abbc7da4e62831fc359ad8c16fbc390afedbc24132c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aws_cdk.aws_batch-1.47.1-py3-none-any.whl
  • Upload date:
  • Size: 132.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.5

File hashes

Hashes for aws_cdk.aws_batch-1.47.1-py3-none-any.whl
Algorithm Hash digest
SHA256 53d5a793f5aa488bda8c925c187cfdaa5d20ad219d596f4a652c86d43048f714
MD5 29b728bbe6781e9de0daa86a3cd6f1df
BLAKE2b-256 097e484aee40cec7f79f7e54ee3d47dd6622712bd8eee2a2a7571ef09fb243e8

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