https://howtodoinjava.com/aws/create-deploy-aws-lambda-function/
https://howtodoinjava.com/aws/create-deploy-aws-lambda-function/
https://howtodoinjava.com/aws/create-deploy-aws-lambda-function/
@Put
@Produces(MediaType.APPLICATION_JSON)
@Consumes(MediaType.APPLICATION_JSON)
public Device b(Device device) {
// Do something with the POJO!!!
return device;
}
{ "Version": "2008-10-17", "Statement": [ { "Sid": "AllowPublicRead", "Effect": "Allow", "Principal": { "AWS": "*" }, "Action": "s3:GetObject", "Resource": "arn:aws:s3:::MYBUCKETNAME/*" } ] } { "Version":"2008-10-17", "Statement":[{ "Sid":"Allow Public Access to All Objects", "Effect":"Allow", "Principal": { "AWS": "*" }, "Action":["s3:GetObject"], "Resource":["arn:aws:s3:::example.com/*" ] } ] }