aws-batch-sample

module
v0.0.0-...-dd5bfe8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2022 License: MIT

README

aws-batch-sample

Common

Deploy all
cd _deployments/cdk; cdk --all -c env=stage deploy; cd ../..;
Destroy all
cd _deployments/cdk; cdk --all -c env=stage destroy; cd ../..;

aws-batch-sample

Deploy
cd _deployments/cdk; cdk -c env=stage deploy AwsBatchSampleStack; cd ../..;
Destroy
cd _deployments/cdk; cdk -c env=stage destroy AwsBatchSampleStack; cd ../..;
Run batch
aws batch submit-job \
  --job-name "aws-batch-sample" \
  --job-queue "aws-batch-sample" \
  --job-definition "aws-batch-sample"

job-status-observer

Deploy
cd _deployments/cdk; cdk -c env=stage deploy JobStatusObserverStack; cd ../..;
Destroy
cd _deployments/cdk; cdk -c env=stage destroy JobStatusObserverStack; cd ../..;
Run function
aws lambda invoke \
    --function-name job-status-observer-lambda \
    response.json

Directories

Path Synopsis
cmd
controller

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL