Class BedrockAwsConnectionConfiguration
java.lang.Object
org.springframework.ai.autoconfigure.bedrock.BedrockAwsConnectionConfiguration
@Configuration
@EnableConfigurationProperties(BedrockAwsConnectionProperties.class)
public class BedrockAwsConnectionConfiguration
extends Object
Configuration
for AWS connection.- Author:
- Christian Tzolov, Wei Jiang
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionsoftware.amazon.awssdk.auth.credentials.AwsCredentialsProvider
credentialsProvider
(BedrockAwsConnectionProperties properties) software.amazon.awssdk.regions.providers.AwsRegionProvider
regionProvider
(BedrockAwsConnectionProperties properties)
-
Constructor Details
-
BedrockAwsConnectionConfiguration
public BedrockAwsConnectionConfiguration()
-
-
Method Details
-
credentialsProvider
@Bean @ConditionalOnMissingBean public software.amazon.awssdk.auth.credentials.AwsCredentialsProvider credentialsProvider(BedrockAwsConnectionProperties properties) -
regionProvider
@Bean @ConditionalOnMissingBean public software.amazon.awssdk.regions.providers.AwsRegionProvider regionProvider(BedrockAwsConnectionProperties properties)
-