ContextAttribute

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

Bases: object

(experimental) Represents a field in the event pattern.

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 ContextAttribute that might be resolved in future.

Parameters:

name (str) –

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

Stability:

experimental

Return type:

str