Red Hat Camel K is deprecated
Red Hat Camel K is deprecated and the End of Life date for this product is June 30, 2025. For help migrating to the current go-to solution, Red Hat build of Apache Camel, see the Migration Guide.第 12 章 AWS S3 Sink
将数据上传到 AWS S3。
Kamelet 需要设置以下标头:
-
文件
/ce-file
: 作为要上传的文件名
如果未设置交换 ID,则将用作文件名。
12.1. 配置选项
下表总结了 aws-s3-sink
Kamelet 的配置选项:
属性 | Name | 描述 | 类型 | 默认 | Example |
---|---|---|---|---|---|
accesskey * | 访问密钥 | 从 AWS 获取的访问权限密钥。 | 字符串 | ||
bucketNameOrArn * | bucket 名称 | S3 bucket 名称或 ARN。 | 字符串 | ||
region * | AWS 区域 | 要连接的 AWS 区域。 | 字符串 |
| |
secretKey * | 机密密钥 | 从 AWS 获取的机密密钥。 | 字符串 | ||
autoCreateBucket | Autocreate Bucket | 设置 S3 存储桶名称的自动扩展。 | 布尔值 |
|
带星号(*)标记的字段是必需的。