iceberg-cpp
Loading...
Searching...
No Matches
s3_properties.h
1/*
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the
7 * "License"); you may not use this file except in compliance
8 * with the License. You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied. See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
18 */
19
20#pragma once
21
22#include <string_view>
23
24namespace iceberg::arrow {
25
33 static constexpr std::string_view kS3Schema = "s3";
35 static constexpr std::string_view kAccessKeyId = "s3.access-key-id";
37 static constexpr std::string_view kSecretAccessKey = "s3.secret-access-key";
39 static constexpr std::string_view kSessionToken = "s3.session-token";
41 static constexpr std::string_view kRegion = "s3.region";
43 static constexpr std::string_view kEndpoint = "s3.endpoint";
45 static constexpr std::string_view kPathStyleAccess = "s3.path-style-access";
47 static constexpr std::string_view kSslEnabled = "s3.ssl.enabled";
49 static constexpr std::string_view kConnectTimeoutMs = "s3.connect-timeout-ms";
51 static constexpr std::string_view kSocketTimeoutMs = "s3.socket-timeout-ms";
52};
53
54} // namespace iceberg::arrow
S3 configuration property keys for ArrowS3FileIO.
Definition s3_properties.h:31
static constexpr std::string_view kSecretAccessKey
AWS secret access key.
Definition s3_properties.h:37
static constexpr std::string_view kS3Schema
S3 URI scheme.
Definition s3_properties.h:33
static constexpr std::string_view kSocketTimeoutMs
Socket timeout in milliseconds.
Definition s3_properties.h:51
static constexpr std::string_view kSessionToken
AWS session token (for temporary credentials)
Definition s3_properties.h:39
static constexpr std::string_view kRegion
AWS region.
Definition s3_properties.h:41
static constexpr std::string_view kPathStyleAccess
Whether to use path-style access (needed for MinIO)
Definition s3_properties.h:45
static constexpr std::string_view kAccessKeyId
AWS access key ID.
Definition s3_properties.h:35
static constexpr std::string_view kConnectTimeoutMs
Connection timeout in milliseconds.
Definition s3_properties.h:49
static constexpr std::string_view kEndpoint
Custom endpoint override (for MinIO, LocalStack, etc.)
Definition s3_properties.h:43
static constexpr std::string_view kSslEnabled
Whether SSL is enabled.
Definition s3_properties.h:47