Package io.micronaut.aws.sdk.v2
Class EnvironmentAwsRegionProvider
java.lang.Object
io.micronaut.aws.sdk.v2.EnvironmentAwsRegionProvider
- All Implemented Interfaces:
software.amazon.awssdk.regions.providers.AwsRegionProvider
public class EnvironmentAwsRegionProvider
extends Object
implements software.amazon.awssdk.regions.providers.AwsRegionProvider
A
AwsRegionProvider
that reads from the Environment
.- Since:
- 2.0.0
- Author:
- VladimĂr OranĂ˝
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Environment variable name for the AWS access key ID. -
Constructor Summary
ConstructorDescriptionEnvironmentAwsRegionProvider
(io.micronaut.context.env.Environment environment) Constructor. -
Method Summary
-
Field Details
-
REGION_ENV_VAR
Environment variable name for the AWS access key ID.- See Also:
-
-
Constructor Details
-
EnvironmentAwsRegionProvider
public EnvironmentAwsRegionProvider(io.micronaut.context.env.Environment environment) Constructor.- Parameters:
environment
- environment
-
-
Method Details