Skip to content

Instantly share code, notes, and snippets.

@gogarufi
Created February 18, 2017 23:44
Show Gist options
  • Save gogarufi/a4d4cc7ffff67f7bd71fe4c6a3fd4210 to your computer and use it in GitHub Desktop.
Save gogarufi/a4d4cc7ffff67f7bd71fe4c6a3fd4210 to your computer and use it in GitHub Desktop.
Setting up an AWS SES client credentials provider for a Lambda service
builder.setCredentials(new AWSCredentialsProvider() {
public AWSCredentials getCredentials() {
return new AWSCredentials() {
public String getAWSAccessKeyId() {
return "";
}
public String getAWSSecretKey() {
return "";
}
};
}
public void refresh() {
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment