io.quarkus.dynamodb.runtime.AwsConfig Maven / Gradle / Ivy
package io.quarkus.dynamodb.runtime;
import java.util.Optional;
import io.quarkus.runtime.annotations.ConfigGroup;
import io.quarkus.runtime.annotations.ConfigItem;
import software.amazon.awssdk.regions.Region;
@ConfigGroup
public class AwsConfig {
// @formatter:off
/**
* An Amazon Web Services region that hosts DynamoDB.
*
* It overrides region provider chain with static value of
* region with which the DynamoDB client should communicate.
*
* If not set, region is retrieved via the default providers chain in the following order:
*
* * `aws.region` system property
* * `region` property from the profile file
* * Instance profile file
*
* See `software.amazon.awssdk.regions.Region` for available regions.
*
* @asciidoclet
*/
// @formatter:on
@ConfigItem
public Optional region;
/**
* Defines credentials provider used
*/
@ConfigItem
public AwsCredentialsProviderConfig credentials;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy