Ankieta http://bit.ly/3pvr1fn
- Wyślij proszę maila na [email protected]
- https://stacja-it.signin.aws.amazon.com/console
- Repozytorium https://github.com/rjozefowicz/spring-cloud-function
- Użytkownicy: stacja-it-user-X / StacjaIT2021
SAM Template
Function:
Type: AWS::Serverless::Function
Properties:
Timeout: 300
MemorySize: 1024
Handler: dev.jozefowicz.companydisc.function.handler.ImageAnalysisHandler
CodeUri: Function
Runtime: java11
Environment:
Variables:
MAIN_CLASS: dev.jozefowicz.companydisc.function.ImageAnalysisApplication
FUNCTION_NAME: imageAnalysisConsumer
public class UUIDGenerator implements RequestHandler<Void, String> {
@Override
public String handleRequest(Void unused, Context context) {
return UUID.randomUUID().toString();
}
}
private final static List<String> EXTENSIONS = List.of(".jpg", ".jpeg", ".gif", ".bmp", ".png");