We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug The current NPM version of the @aws-cdk/aws-events-targets library version 0.33.0 does not include the EcsTask IRuleTarget type.
@aws-cdk/aws-events-targets
EcsTask
Although the github repo includes it under the same version number here.
To Reproduce npm install @aws-cdk/aws-events-targets@0.33.0
npm install @aws-cdk/aws-events-targets@0.33.0
const events = require('@aws-cdk/aws-events'); const targets = require('@aws-cdk/aws-events-targets'); // ... // ... const rule = new events.Rule(this, 'Cron', { enabled: true, scheduleExpression: 'cron(0 18 ? * MON-FRI *)', }); rule.addTarget( new targets.EcsEc2Task({ cluster, taskDefinition, taskCount: 1, containerOverrides: [ { containerName: 'TheContainer', command: ['echo', events.EventField.fromPath('$.detail.event')], }, ], }) );
Expected behavior It is expected that this EcsTask definition should be exported in the same version.
Version:
The text was updated successfully, but these errors were encountered:
As of v0.33.0, the only ECS target available is the EcsEc2Task (https://github.com/awslabs/aws-cdk/blob/v0.33.0/packages/%40aws-cdk/aws-events-targets/lib/ecs-ec2-task.ts and https://github.com/awslabs/aws-cdk/blob/v0.33.0/packages/%40aws-cdk/aws-events-targets/test/ecs/integ.event-task.lit.ts).
EcsEc2Task
What you see on master will be released in v0.34.0
Sorry, something went wrong.
Thanks @jogold ... whats the ETA for v0.34.0? 😄 Can't wait for it :)
See #2791
Wow awesome 👏 Thanks for the update... closing the ticket.
No branches or pull requests
Describe the bug
The current NPM version of the
@aws-cdk/aws-events-targets
library version 0.33.0 does not include theEcsTask
IRuleTarget type.Although the github repo includes it under the same version number here.
To Reproduce
npm install @aws-cdk/aws-events-targets@0.33.0
Expected behavior
It is expected that this EcsTask definition should be exported in the same version.
Version:
The text was updated successfully, but these errors were encountered: