$ curl -s "https://get.sdkman.io" | bash
$ sdk install java 8.0.171-oracle
$ BUCKET_NAME=<S3 Bucket Name> sbt
sbt> awscfCreateBucket create-bucket-stackname
sbt> awscfUploadTemplates
sbt> awscfCreateStack vpc
sbt> awscfCreateStack ecscluster
sbt> awscfCreateStack ecr
sbt> awscfCreateStack sqs
sbt> awscfCreateStack task
sbt> awscfCreateStack lambda
sbt> assembly
sbt> exampleTask/docker:stage
sbt> exampleTask/docker:publishLocal
sbt> awsecr::awsecrLogin
sbt> awsecrPush
sbt> exit
- Test lambda function: example-lambda
$ cd cast/target/scala-2.12
$ BUCKET_NAME=<YOUR BUCKET NAME> java -jar castExample-assembly-0.0.1-SNAPSHOT.jar
Send any message to SampleQueue
$ cd java-sound/target/scala-2.12
$ BUCKET_NAME=<YOUR BUCKET NAME> INDEX=<Audio Device Index> java -jar javaSoundExample-assembly-0.0.1-SNAPSHOT.jar
Send any message to SampleQueue
sdkman | sbt-aws-cludformation | Java Sound API |
---|---|---|
8.0.171-oracle | OK | OK |
10.0.0-openjdk | NG | OK |
10.0.1-oracle | OK | OK |
10.0.1-zulu | OK | OK |