Skip to content

Commit

Permalink
choir: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ayush987goyal committed Mar 10, 2020
1 parent 0ba4399 commit 4680681
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion packages/@aws-cdk/aws-stepfunctions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,16 @@ task.next(nextState);
```ts
import batch = require('@aws-cdk/aws-batch');

const batchQueue = new batch.JobQueue(this, 'JobQueue');
const batchQueue = new batch.JobQueue(this, 'JobQueue', {
computeEnvironments: [
{
order: 1,
computeEnvironment: new batch.ComputeEnvironment(this, 'ComputeEnv', {
computeResources: { vpc }
})
}
]
});

const batchJobDefinition = new batch.JobDefinition(this, 'JobDefinition', {
container: {
Expand Down

0 comments on commit 4680681

Please sign in to comment.