ContextAttribute

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

Bases: object

(experimental) 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

Stability:

experimental

Methods

to_string()

(experimental) Convert the path to the field in the event pattern to JSON.

Stability:

experimental

Return type:

str

Attributes

attempt_number = '<aws.scheduler.attempt-number>'
execution_id = '<aws.scheduler.execution-id>'
name

experimental

Type:

stability

schedule_arn = '<aws.scheduler.schedule-arn>'
scheduled_time = '<aws.scheduler.scheduled-time>'

Static Methods

classmethod from_name(name)

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

Parameters:

name (str) –

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

Stability:

experimental

Return type:

str