Describe the bug
If you specify a description on a schedule its not set in the created Scheduled Rule.
Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
I would have expected that the description of a schedule will be set.
Current Behavior
The schedule is created without description
Reproduction Steps
import { Schedule, ScheduleExpression} from "@aws-cdk/aws-scheduler-alpha";
import { StepFunctionsStartExecution } from "@aws-cdk/aws-scheduler-targets-alpha";
new Schedule(scope, "SomeSchedule", {
description: `Some description`,
schedule: ScheduleExpression.rate(Duration.days(7)),
target: new StepFunctionsStartExecution(someSfn, {}),
});
Possible Solution
Set field description of CfnSchedule in Schedule here:
|
const resource = new CfnSchedule(this, 'Resource', { |
|
name: this.physicalName, |
Additional Information/Context
No response
CDK CLI Version
2.150.0
Framework Version
No response
Node.js Version
20.17.0
OS
windows 11
Language
TypeScript
Language Version
5.5.4
Other information
No response
Describe the bug
If you specify a description on a schedule its not set in the created Scheduled Rule.
Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
I would have expected that the description of a schedule will be set.
Current Behavior
The schedule is created without description
Reproduction Steps
Possible Solution
Set field
descriptionof CfnSchedule in Schedule here:aws-cdk/packages/@aws-cdk/aws-scheduler-alpha/lib/schedule.ts
Lines 328 to 329 in 34dcc5a
Additional Information/Context
No response
CDK CLI Version
2.150.0
Framework Version
No response
Node.js Version
20.17.0
OS
windows 11
Language
TypeScript
Language Version
5.5.4
Other information
No response