de.otto.edison.aws.configuration.AwsProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of edison-aws-core Show documentation
Show all versions of edison-aws-core Show documentation
Core library of Edison-AWS microservices.
package de.otto.edison.aws.configuration;
import org.springframework.boot.context.properties.ConfigurationProperties;
import static software.amazon.awssdk.core.regions.Region.EU_CENTRAL_1;
@ConfigurationProperties(prefix = "aws")
public class AwsProperties {
private String region = EU_CENTRAL_1.value();
private String profile = "default";
public String getRegion() {
return region;
}
public void setRegion(final String region) {
this.region = region;
}
public String getProfile() {
return profile;
}
public void setProfile(final String profile) {
this.profile = profile;
}
@Override
public String toString() {
return "AwsProperties{" +
"region='" + region + '\'' +
", profile='" + profile + '\'' +
'}';
}
}