@aws-cdk_aws-scheduler-alpha.ContextAttribute

class ContextAttribute ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.Scheduler.Alpha.ContextAttribute
Gogithub.com/aws/aws-cdk-go/awscdkscheduleralpha/v2#ContextAttribute
Javasoftware.amazon.awscdk.services.scheduler.alpha.ContextAttribute
Pythonaws_cdk.aws_scheduler_alpha.ContextAttribute
TypeScript (source)@aws-cdk/aws-scheduler-alpha ยป ContextAttribute

Represents a field in the event pattern.

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

Properties

NameTypeDescription
name๐Ÿ”นstring
static attemptNumber๐Ÿ”นstringA counter that identifies the attempt number for the current invocation, for example, 1.
static executionId๐Ÿ”นstringThe unique ID that EventBridge Scheduler assigns for each attempted invocation of a target, for example, d32c5kddcf5bb8c3.
static scheduleArn๐Ÿ”นstringThe ARN of the schedule.
static scheduledTime๐Ÿ”นstringThe time you specified for the schedule to invoke its target, for example, 2022-03-22T18:59:43Z.

name๐Ÿ”น

Type: string


static attemptNumber๐Ÿ”น

Type: string

A counter that identifies the attempt number for the current invocation, for example, 1.


static executionId๐Ÿ”น

Type: string

The unique ID that EventBridge Scheduler assigns for each attempted invocation of a target, for example, d32c5kddcf5bb8c3.


static scheduleArn๐Ÿ”น

Type: string

The ARN of the schedule.


static scheduledTime๐Ÿ”น

Type: string

The time you specified for the schedule to invoke its target, for example, 2022-03-22T18:59:43Z.

Methods

NameDescription
toString()๐Ÿ”นConvert the path to the field in the event pattern to JSON.
static fromName(name)๐Ÿ”นEscape hatch for other ContextAttribute that might be resolved in future.

toString()๐Ÿ”น

public toString(): string

Returns

  • string

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


static fromName(name)๐Ÿ”น

public static fromName(name: string): string

Parameters

  • name string โ€” - name will replace xxx in <aws.scheduler.xxx>.

Returns

  • string

Escape hatch for other ContextAttribute that might be resolved in future.