EventBridge Scheduler

2 resource kinds. Generated from the operator's CRD schemas.

API Group: aws.konfig.io/v1alpha1

Schedule # GA

Schedule is the Schema for managing EventBridge Scheduler schedules.

kubectl get schedules · example on GitHub

Example

# Schedule — EventBridge Scheduler
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/scheduler.html#schedule
apiVersion: aws.konfig.io/v1alpha1
kind: Schedule
metadata:
  name: example-schedule
  namespace: default
spec:
  description: Managed by konfig-konector
  flexibleTimeWindow:
    maximumWindowInMinutes: 1
    mode: 'OFF'
  groupRef:
    groupName: example-schedule
    name: example-schedule
  name: example-schedule
  providerRef:
    name: example-schedule
    region: us-east-1
  scheduleExpression: example
  state: ENABLED
  target:
    arn: arn:aws:iam::123456789012:role/example-role
    deadLetterArn: arn:aws:iam::123456789012:role/example-role
    input: example
    retryPolicy:
      maximumEventAgeInSeconds: 60
      maximumRetryAttempts: 1
    roleRef:
      name: example-role
  timezone: example

Spec

FieldTypeRequiredDescription
descriptionstring—Description of the schedule.
flexibleTimeWindowobjectyesFlexibleTimeWindow configures the invocation window.
flexibleTimeWindow.maximumWindowInMinutesinteger—MaximumWindowInMinutes is the maximum window when mode is FLEXIBLE.
flexibleTimeWindow.modeenumyesMode is OFF or FLEXIBLE. Allowed: OFF, FLEXIBLE
groupRefobject—GroupRef references the schedule group.
groupRef.groupNamestring—GroupName is a direct AWS schedule group name, bypassing CR lookup.
groupRef.namestring—Name of a ScheduleGroup CR in the same namespace.
namestringyesName is the name of the schedule.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
scheduleExpressionstringyesScheduleExpression, e.g.
stateenum—State is ENABLED or DISABLED. Allowed: ENABLED, DISABLED
targetobjectyesTarget is the resource invoked by the schedule.
target.arnstringyesARN of the target resource (Lambda function, SQS queue, ECS cluster...).
target.deadLetterArnstring—DeadLetterARN is the ARN of an SQS queue for failed invocations.
target.inputstring—Input is a static JSON payload passed to the target.
target.retryPolicyobject—RetryPolicy for target invocation.
target.retryPolicy.maximumEventAgeInSecondsinteger—MaximumEventAgeInSeconds is the maximum age of an event to retry.
target.retryPolicy.maximumRetryAttemptsinteger—MaximumRetryAttempts before the invocation is dropped or dead-lettered.
target.roleRefobjectyesRoleRef references the IAM role EventBridge Scheduler assumes to invoke the target (by CR name or direct ARN).
target.roleRef.arnstring—ARN is a direct AWS IAM role ARN.
target.roleRef.namestring—Name of an IAMRole CR in the same namespace.
target.roleRef.namespacestring—Namespace of the IAMRole CR.
timezonestring—Timezone for the schedule expression, e.g.

Status

FieldTypeRequiredDescription
arnstring—ARN is the ARN of the schedule.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
lastSyncTimestring—LastSyncTime is when the resource was last successfully reconciled.
observedGenerationinteger—ObservedGeneration is the most recent .metadata.generation reconciled.

ScheduleGroup # GA

ScheduleGroup is the Schema for managing EventBridge Scheduler schedule groups.

kubectl get schedulegroups · example on GitHub

Example

# ScheduleGroup — EventBridge Scheduler
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/scheduler.html#schedulegroup
apiVersion: aws.konfig.io/v1alpha1
kind: ScheduleGroup
metadata:
  name: example-schedulegroup
  namespace: default
spec:
  name: example-schedulegroup
  providerRef:
    name: example-schedulegroup
    region: us-east-1
  tags:
    environment: dev
    team: platform

Spec

FieldTypeRequiredDescription
namestringyesName is the name of the schedule group.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
tagsmap<string>—Tags are AWS resource tags to apply.

Status

FieldTypeRequiredDescription
arnstring—ARN is the ARN of the schedule group.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
lastSyncTimestring—LastSyncTime is when the resource was last successfully reconciled.
observedGenerationinteger—ObservedGeneration is the most recent .metadata.generation reconciled.