21.3. Spring Boot Auto-Configuration


组件支持 16 个选项,它们如下所列。

Name描述默认类型

camel.component.aws-cw.access-key

Amazon AWS 访问密钥

 

字符串

camel.component.aws-cw.configuration.access-key

Amazon AWS 访问密钥

 

字符串

camel.component.aws-cw.configuration.amazon-cw-client

使用 AmazonCloudWatch 作为客户端

 

AmazonCloudWatch

camel.component.aws-cw.configuration.name

指标名称

 

字符串

camel.component.aws-cw.configuration.namespace

指标命名空间

 

字符串

camel.component.aws-cw.configuration.proxy-host

在实例化 CW 客户端时定义代理主机

 

字符串

camel.component.aws-cw.configuration.proxy-port

在实例化 CW 客户端时定义代理端口

 

整数

camel.component.aws-cw.configuration.region

CW 客户端需要工作的区域

 

字符串

camel.component.aws-cw.configuration.secret-key

Amazon AWS Secret 密钥

 

字符串

camel.component.aws-cw.configuration.timestamp

指标时间戳

 

Date

camel.component.aws-cw.configuration.unit

指标单元

 

字符串

camel.component.aws-cw.configuration.value

指标值

 

camel.component.aws-cw.enabled

启用 aws-cw 组件

true

布尔值

camel.component.aws-cw.region

CW 客户端需要工作的区域

 

字符串

camel.component.aws-cw.resolve-property-placeholders

启动时,组件是否应自行解析属性占位符。只有 String 类型的属性才能使用属性占位符。

true

布尔值

camel.component.aws-cw.secret-key

Amazon AWS Secret 密钥

 

字符串

所需的 CW 组件选项

您必须在 Registry 或 accessKey 和 secretKey 中提供 amazonCwClient,才能访问 Amazon 的 CloudWatch

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat