ContextAttribute

class aws_cdk.aws_scheduler.ContextAttribute(*args: Any, **kwargs)

Bases: object

A set of convenient static methods representing the Scheduler Context Attributes.

These Context Attributes keywords can be used inside a ScheduleTargetInput.

See:

https://docs.aws.amazon.com/scheduler/latest/UserGuide/managing-schedule-context-attributes.html

Methods

to_string()

Convert the path to the field in the event pattern to JSON.

Return type:

str

Attributes

attempt_number = '<aws.scheduler.attempt-number>'
execution_id = '<aws.scheduler.execution-id>'
name
schedule_arn = '<aws.scheduler.schedule-arn>'
scheduled_time = '<aws.scheduler.scheduled-time>'

Static Methods

classmethod from_name(name)

Escape hatch for other Context Attributes that may be added in the future.

Parameters:

name (str) –

  • name will replace xxx in <aws.scheduler.xxx>.

Return type:

str