Replies: 1 comment
-
Hi, adding the following dependency SchedulerClient schedulerClient = SchedulerClient.builder()
.region(Region.of(localstack.getRegion()))
.credentialsProvider(StaticCredentialsProvider
.create(AwsBasicCredentials.create(localstack.getAccessKey(), localstack.getSecretKey())))
.endpointOverride(localstack.getEndpoint())
.build();
ListSchedulesRequest listSchedulesRequest = ListSchedulesRequest.builder().build();
ListSchedulesResponse listSchedulesResponse = schedulerClient.listSchedules(listSchedulesRequest);
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried to use

testcontainers.containers.localstack
version 1.19.7 and wanted to test EventBridge Scheduler on my local environment. However, I checked the enum value in the classLocalStackContainer.java
, and see that it does not seem to support EventBridge Scheduler at this time.Here's the error I got when trying to run:
software.amazon.awssdk.services.scheduler.model.SchedulerException: The security token included in the request is invalid.
Please help me.
Beta Was this translation helpful? Give feedback.
All reactions