Class AwsProperties
- java.lang.Object
-
- org.apache.iceberg.aws.AwsProperties
-
- All Implemented Interfaces:
java.io.Serializable
public class AwsProperties extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCLIENT_ASSUME_ROLE_ARNUsed byAssumeRoleAwsClientFactory.static java.lang.StringCLIENT_ASSUME_ROLE_EXTERNAL_IDUsed byAssumeRoleAwsClientFactory.static java.lang.StringCLIENT_ASSUME_ROLE_REGIONUsed byAssumeRoleAwsClientFactory.static java.lang.StringCLIENT_ASSUME_ROLE_SESSION_NAMEUsed byAssumeRoleAwsClientFactory.static java.lang.StringCLIENT_ASSUME_ROLE_TAGS_PREFIXUsed byAssumeRoleAwsClientFactoryto pass a list of sessions.static java.lang.StringCLIENT_ASSUME_ROLE_TIMEOUT_SECUsed byAssumeRoleAwsClientFactory.static intCLIENT_ASSUME_ROLE_TIMEOUT_SEC_DEFAULTstatic java.lang.StringCLIENT_FACTORYThe implementation class ofAwsClientFactoryto customize AWS client configurations.static java.lang.StringDYNAMODB_ENDPOINTConfigure an alternative endpoint of the DynamoDB service to access.static java.lang.StringDYNAMODB_TABLE_NAMEDynamoDB table name forDynamoDbCatalogstatic java.lang.StringDYNAMODB_TABLE_NAME_DEFAULTstatic java.lang.StringGLUE_ACCOUNT_IDThe account ID used in a Glue resource ARN, e.g.static java.lang.StringGLUE_CATALOG_ENDPOINTConfigure an alternative endpoint of the Glue service for GlueCatalog to access.static java.lang.StringGLUE_CATALOG_IDThe ID of the Glue Data Catalog where the tables reside.static java.lang.StringGLUE_CATALOG_SKIP_ARCHIVEIf Glue should skip archiving an old table version when creating a new version in a commit.static booleanGLUE_CATALOG_SKIP_ARCHIVE_DEFAULTstatic java.lang.StringGLUE_CATALOG_SKIP_NAME_VALIDATIONIf Glue should skip name validations It is recommended to stick to Glue best practice in https://docs.aws.amazon.com/athena/latest/ug/glue-best-practices.html to make sure operations are Hive compatible.static booleanGLUE_CATALOG_SKIP_NAME_VALIDATION_DEFAULTstatic java.lang.StringGLUE_LAKEFORMATION_ENABLEDIf set, GlueCatalog will use Lake Formation for access control.static booleanGLUE_LAKEFORMATION_ENABLED_DEFAULTstatic java.lang.StringHTTP_CLIENT_APACHE_CONNECTION_ACQUISITION_TIMEOUT_MSUsed to configure the connection acquisition timeout in milliseconds forApacheHttpClient.Builder.static java.lang.StringHTTP_CLIENT_APACHE_CONNECTION_MAX_IDLE_TIME_MSUsed to configure the connection max idle time in milliseconds forApacheHttpClient.Builder.static java.lang.StringHTTP_CLIENT_APACHE_CONNECTION_TIME_TO_LIVE_MSUsed to configure the connection time to live in milliseconds forApacheHttpClient.Builder.static java.lang.StringHTTP_CLIENT_APACHE_CONNECTION_TIMEOUT_MSUsed to configure the connection timeout in milliseconds forApacheHttpClient.Builder.static java.lang.StringHTTP_CLIENT_APACHE_EXPECT_CONTINUE_ENABLEDUsed to configure whether to enable the expect continue setting forApacheHttpClient.Builder.static java.lang.StringHTTP_CLIENT_APACHE_MAX_CONNECTIONSUsed to configure the max connections number forApacheHttpClient.Builder.static java.lang.StringHTTP_CLIENT_APACHE_SOCKET_TIMEOUT_MSUsed to configure the socket timeout in milliseconds forApacheHttpClient.Builder.static java.lang.StringHTTP_CLIENT_APACHE_TCP_KEEP_ALIVE_ENABLEDUsed to configure whether to enable the tcp keep alive setting forApacheHttpClient.Builder.static java.lang.StringHTTP_CLIENT_APACHE_USE_IDLE_CONNECTION_REAPER_ENABLEDUsed to configure whether to use idle connection reaper forApacheHttpClient.Builder.static java.lang.StringHTTP_CLIENT_TYPEThe type ofSdkHttpClientimplementation used byAwsClientFactoryIf set, all AWS clients will use this specified HTTP client.static java.lang.StringHTTP_CLIENT_TYPE_APACHEIf this is set underHTTP_CLIENT_TYPE,ApacheHttpClientwill be used as the HTTP Client inAwsClientFactorystatic java.lang.StringHTTP_CLIENT_TYPE_DEFAULTstatic java.lang.StringHTTP_CLIENT_TYPE_URLCONNECTIONIf this is set underHTTP_CLIENT_TYPE,UrlConnectionHttpClientwill be used as the HTTP Client inAwsClientFactorystatic java.lang.StringHTTP_CLIENT_URLCONNECTION_CONNECTION_TIMEOUT_MSUsed to configure the connection timeout in milliseconds forUrlConnectionHttpClient.Builder.static java.lang.StringHTTP_CLIENT_URLCONNECTION_SOCKET_TIMEOUT_MSUsed to configure the socket timeout in milliseconds forUrlConnectionHttpClient.Builder.static java.lang.StringLAKE_FORMATION_DB_NAMEUsed byLakeFormationAwsClientFactory.static java.lang.StringLAKE_FORMATION_TABLE_NAMEUsed byLakeFormationAwsClientFactory.static java.lang.StringREST_ACCESS_KEY_IDConfigure the static access key ID used for SigV4 signing.static java.lang.StringREST_SECRET_ACCESS_KEYConfigure the static secret access key used for SigV4 signing.static java.lang.StringREST_SESSION_TOKENConfigure the static session token used for SigV4.static java.lang.StringREST_SIGNER_REGIONRegion to be used by the SigV4 protocol for signing requests.static java.lang.StringREST_SIGNING_NAMEThe service name to be used by the SigV4 protocol for signing requests.static java.lang.StringREST_SIGNING_NAME_DEFAULTThe default service name (API Gateway and lambda) used during SigV4 signing.static java.lang.StringS3_ACCELERATION_ENABLEDDetermines if S3 client will use the Acceleration Mode, default to false.static booleanS3_ACCELERATION_ENABLED_DEFAULTstatic java.lang.StringS3_ACCESS_POINTS_PREFIXUsed byS3FileIO, prefix used for bucket access point configuration.static java.lang.StringS3_CHECKSUM_ENABLEDEnables eTag checks for S3 PUT and MULTIPART upload requests.static booleanS3_CHECKSUM_ENABLED_DEFAULTstatic java.lang.StringS3_DELETE_ENABLEDDetermines ifS3FileIOdeletes the object when io.delete() is called, default to true.static booleanS3_DELETE_ENABLED_DEFAULTstatic java.lang.StringS3_DELETE_TAGS_PREFIXUsed byS3FileIOto tag objects when deleting.static java.lang.StringS3_DUALSTACK_ENABLEDDetermines if S3 client will use the Dualstack Mode, default to false.static booleanS3_DUALSTACK_ENABLED_DEFAULTstatic java.lang.StringS3_PRELOAD_CLIENT_ENABLEDThis flag controls whether the S3 client will be initialized during the S3FileIO initialization, instead of default lazy initialization upon use.static booleanS3_PRELOAD_CLIENT_ENABLED_DEFAULTstatic java.lang.StringS3_REMOTE_SIGNING_ENABLEDstatic booleanS3_REMOTE_SIGNING_ENABLED_DEFAULTstatic java.lang.StringS3_TAG_ICEBERG_NAMESPACETag name that will be used byS3_WRITE_TAGS_PREFIXwhenS3_WRITE_NAMESPACE_TAG_ENABLEDis enabledstatic java.lang.StringS3_TAG_ICEBERG_TABLETag name that will be used byS3_WRITE_TAGS_PREFIXwhenS3_WRITE_TABLE_TAG_ENABLEDis enabledstatic java.lang.StringS3_USE_ARN_REGION_ENABLEDEnable to make S3FileIO, to make cross-region call to the region specified in the ARN of an access point.static booleanS3_USE_ARN_REGION_ENABLED_DEFAULTstatic java.lang.StringS3_WRITE_NAMESPACE_TAG_ENABLEDUsed byGlueCatalogto tag objects when writing.static booleanS3_WRITE_NAMESPACE_TAG_ENABLED_DEFAULTstatic java.lang.StringS3_WRITE_TABLE_TAG_ENABLEDUsed byGlueCatalogto tag objects when writing.static booleanS3_WRITE_TABLE_TAG_ENABLED_DEFAULTstatic java.lang.StringS3_WRITE_TAGS_PREFIXUsed byS3FileIOto tag objects when writing.static java.lang.StringS3FILEIO_ACCESS_KEY_IDConfigure the static access key ID used to access S3FileIO.static java.lang.StringS3FILEIO_ACLUsed to configure canned access control list (ACL) for S3 client to use during write.static java.lang.StringS3FILEIO_DELETE_BATCH_SIZEConfigure the batch size used when deleting multiple files from a given S3 bucketstatic intS3FILEIO_DELETE_BATCH_SIZE_DEFAULTDefault batch size used when deleting files.static intS3FILEIO_DELETE_BATCH_SIZE_MAXMax possible batch size for deletion.static java.lang.StringS3FILEIO_DELETE_THREADSNumber of threads to use for adding delete tags to S3 objects, default toRuntime.availableProcessors()static java.lang.StringS3FILEIO_ENDPOINTConfigure an alternative endpoint of the S3 service for S3FileIO to access.static java.lang.StringS3FILEIO_MULTIPART_SIZEThe size of a single part for multipart upload requests in bytes (default: 32MB).static intS3FILEIO_MULTIPART_SIZE_DEFAULTstatic intS3FILEIO_MULTIPART_SIZE_MINstatic java.lang.StringS3FILEIO_MULTIPART_THRESHOLD_FACTORThe threshold expressed as a factor times the multipart size at which to switch from uploading using a single put object request to uploading using multipart upload (default: 1.5).static doubleS3FILEIO_MULTIPART_THRESHOLD_FACTOR_DEFAULTstatic java.lang.StringS3FILEIO_MULTIPART_UPLOAD_THREADSNumber of threads to use for uploading parts to S3 (shared pool across all output streams), default toRuntime.availableProcessors()static java.lang.StringS3FILEIO_PATH_STYLE_ACCESSIf settrue, requests to S3FileIO will use Path-Style, otherwise, Virtual Hosted-Style will be used.static booleanS3FILEIO_PATH_STYLE_ACCESS_DEFAULTstatic java.lang.StringS3FILEIO_SECRET_ACCESS_KEYConfigure the static secret access key used to access S3FileIO.static java.lang.StringS3FILEIO_SESSION_TOKENConfigure the static session token used to access S3FileIO.static java.lang.StringS3FILEIO_SSE_KEYIf S3 encryption type is SSE-KMS, input is a KMS Key ID or ARN.static java.lang.StringS3FILEIO_SSE_MD5If S3 encryption type is SSE-C, input is the base-64 MD5 digest of the secret key.static java.lang.StringS3FILEIO_SSE_TYPEType of S3 Server side encryption used, default toS3FILEIO_SSE_TYPE_NONE.static java.lang.StringS3FILEIO_SSE_TYPE_CUSTOMS3 SSE-C encryption.static java.lang.StringS3FILEIO_SSE_TYPE_KMSS3 SSE-KMS encryption.static java.lang.StringS3FILEIO_SSE_TYPE_NONENo server side encryption.static java.lang.StringS3FILEIO_SSE_TYPE_S3S3 SSE-S3 encryption.static java.lang.StringS3FILEIO_STAGING_DIRECTORYLocation to put staging files for upload to S3, default to temp directory set in java.io.tmpdir.
-
Constructor Summary
Constructors Constructor Description AwsProperties()AwsProperties(java.util.Map<java.lang.String,java.lang.String> properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends software.amazon.awssdk.services.dynamodb.DynamoDbClientBuilder>
voidapplyDynamoDbEndpointConfigurations(T builder)Override the endpoint for a dynamoDb client.<T extends software.amazon.awssdk.services.glue.GlueClientBuilder>
voidapplyGlueEndpointConfigurations(T builder)Override the endpoint for a glue client.<T extends software.amazon.awssdk.awscore.client.builder.AwsSyncClientBuilder>
voidapplyHttpClientConfigurations(T builder)Configure the httpClient for a client according to the HttpClientType.<T extends software.amazon.awssdk.services.s3.S3ClientBuilder>
voidapplyS3CredentialConfigurations(T builder)Configure the credentials for an S3 client.<T extends software.amazon.awssdk.services.s3.S3ClientBuilder>
voidapplyS3EndpointConfigurations(T builder)Override the endpoint for an S3 client.<T extends software.amazon.awssdk.services.s3.S3ClientBuilder>
voidapplyS3ServiceConfigurations(T builder)Configure services settings for an S3 client.<T extends software.amazon.awssdk.services.s3.S3ClientBuilder>
voidapplyS3SignerConfiguration(T builder)Configure a signer for an S3 client.java.lang.StringclientAssumeRoleArn()java.lang.StringclientAssumeRoleExternalId()java.lang.StringclientAssumeRoleRegion()java.lang.StringclientAssumeRoleSessionName()intclientAssumeRoleTimeoutSec()java.lang.StringdynamoDbTableName()java.lang.StringglueCatalogId()booleanglueCatalogSkipArchive()booleanglueCatalogSkipNameValidation()booleanglueLakeFormationEnabled()java.util.Map<java.lang.String,java.lang.String>httpClientProperties()booleanisS3ChecksumEnabled()booleanisS3DeleteEnabled()software.amazon.awssdk.auth.credentials.AwsCredentialsProviderrestCredentialsProvider()java.lang.StringrestSigningName()software.amazon.awssdk.regions.RegionrestSigningRegion()java.util.Map<java.lang.String,java.lang.String>s3BucketToAccessPointMapping()java.util.Set<software.amazon.awssdk.services.s3.model.Tag>s3DeleteTags()software.amazon.awssdk.services.s3.model.ObjectCannedACLs3FileIoAcl()ints3FileIoDeleteBatchSize()ints3FileIoDeleteThreads()ints3FileIoMultiPartSize()doubles3FileIOMultipartThresholdFactor()ints3FileIoMultipartUploadThreads()java.lang.Strings3FileIoSseKey()java.lang.Strings3FileIoSseMd5()java.lang.Strings3FileIoSseType()java.lang.Strings3fileIoStagingDirectory()booleans3PreloadClientEnabled()booleans3WriteNamespaceTagEnabled()booleans3WriteTableTagEnabled()java.util.Set<software.amazon.awssdk.services.s3.model.Tag>s3WriteTags()voidsetDynamoDbTableName(java.lang.String name)voidsetGlueCatalogId(java.lang.String id)voidsetGlueCatalogSkipArchive(boolean skipArchive)voidsetGlueCatalogSkipNameValidation(boolean glueCatalogSkipNameValidation)voidsetGlueLakeFormationEnabled(boolean glueLakeFormationEnabled)voidsetS3ChecksumEnabled(boolean eTagCheckEnabled)voidsetS3DeleteEnabled(boolean s3DeleteEnabled)voidsetS3FileIoAcl(software.amazon.awssdk.services.s3.model.ObjectCannedACL acl)voidsetS3FileIoDeleteBatchSize(int deleteBatchSize)voidsetS3FileIoDeleteThreads(int threads)voidsetS3FileIoMultiPartSize(int size)voidsetS3FileIoMultipartThresholdFactor(double factor)voidsetS3FileIoMultipartUploadThreads(int threads)voidsetS3FileIoSseKey(java.lang.String sseKey)voidsetS3FileIoSseMd5(java.lang.String sseMd5)voidsetS3FileIoSseType(java.lang.String sseType)voidsetS3fileIoStagingDirectory(java.lang.String directory)voidsetS3PreloadClientEnabled(boolean s3PreloadClientEnabled)voidsetS3WriteNamespaceTagEnabled(boolean s3WriteNamespaceTagEnabled)voidsetS3WriteTableTagEnabled(boolean s3WriteTableNameTagEnabled)java.util.Set<software.amazon.awssdk.services.sts.model.Tag>stsClientAssumeRoleTags()
-
-
-
Field Detail
-
S3FILEIO_SSE_TYPE
public static final java.lang.String S3FILEIO_SSE_TYPE
Type of S3 Server side encryption used, default toS3FILEIO_SSE_TYPE_NONE.For more details: https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html
- See Also:
- Constant Field Values
-
S3FILEIO_SSE_TYPE_NONE
public static final java.lang.String S3FILEIO_SSE_TYPE_NONE
No server side encryption.- See Also:
- Constant Field Values
-
S3FILEIO_SSE_TYPE_KMS
public static final java.lang.String S3FILEIO_SSE_TYPE_KMS
S3 SSE-KMS encryption.For more details: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html
- See Also:
- Constant Field Values
-
S3FILEIO_SSE_TYPE_S3
public static final java.lang.String S3FILEIO_SSE_TYPE_S3
S3 SSE-S3 encryption.For more details: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html
- See Also:
- Constant Field Values
-
S3FILEIO_SSE_TYPE_CUSTOM
public static final java.lang.String S3FILEIO_SSE_TYPE_CUSTOM
S3 SSE-C encryption.For more details: https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html
- See Also:
- Constant Field Values
-
S3FILEIO_SSE_KEY
public static final java.lang.String S3FILEIO_SSE_KEY
If S3 encryption type is SSE-KMS, input is a KMS Key ID or ARN. In case this property is not set, default key "aws/s3" is used. If encryption type is SSE-C, input is a custom base-64 AES256 symmetric key.- See Also:
- Constant Field Values
-
S3FILEIO_SSE_MD5
public static final java.lang.String S3FILEIO_SSE_MD5
If S3 encryption type is SSE-C, input is the base-64 MD5 digest of the secret key. This MD5 must be explicitly passed in by the caller to ensure key integrity.- See Also:
- Constant Field Values
-
GLUE_CATALOG_ID
public static final java.lang.String GLUE_CATALOG_ID
The ID of the Glue Data Catalog where the tables reside. If none is provided, Glue automatically uses the caller's AWS account ID by default.For more details, see https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-databases.html
- See Also:
- Constant Field Values
-
GLUE_ACCOUNT_ID
public static final java.lang.String GLUE_ACCOUNT_ID
The account ID used in a Glue resource ARN, e.g. arn:aws:glue:us-east-1:1000000000000:table/db1/table1- See Also:
- Constant Field Values
-
GLUE_CATALOG_SKIP_ARCHIVE
public static final java.lang.String GLUE_CATALOG_SKIP_ARCHIVE
If Glue should skip archiving an old table version when creating a new version in a commit. By default Glue archives all old table versions after an UpdateTable call, but Glue has a default max number of archived table versions (can be increased). So for streaming use case with lots of commits, it is recommended to set this value to true.- See Also:
- Constant Field Values
-
GLUE_CATALOG_SKIP_ARCHIVE_DEFAULT
public static final boolean GLUE_CATALOG_SKIP_ARCHIVE_DEFAULT
- See Also:
- Constant Field Values
-
GLUE_CATALOG_SKIP_NAME_VALIDATION
public static final java.lang.String GLUE_CATALOG_SKIP_NAME_VALIDATION
If Glue should skip name validations It is recommended to stick to Glue best practice in https://docs.aws.amazon.com/athena/latest/ug/glue-best-practices.html to make sure operations are Hive compatible. This is only added for users that have existing conventions using non-standard characters. When database name and table name validation are skipped, there is no guarantee that downstream systems would all support the names.- See Also:
- Constant Field Values
-
GLUE_CATALOG_SKIP_NAME_VALIDATION_DEFAULT
public static final boolean GLUE_CATALOG_SKIP_NAME_VALIDATION_DEFAULT
- See Also:
- Constant Field Values
-
GLUE_LAKEFORMATION_ENABLED
public static final java.lang.String GLUE_LAKEFORMATION_ENABLED
If set, GlueCatalog will use Lake Formation for access control. For more credential vending details, see: https://docs.aws.amazon.com/lake-formation/latest/dg/api-overview.html. If enabled, theAwsClientFactoryimplementation must beLakeFormationAwsClientFactoryor any class that extends it.- See Also:
- Constant Field Values
-
GLUE_LAKEFORMATION_ENABLED_DEFAULT
public static final boolean GLUE_LAKEFORMATION_ENABLED_DEFAULT
- See Also:
- Constant Field Values
-
GLUE_CATALOG_ENDPOINT
public static final java.lang.String GLUE_CATALOG_ENDPOINT
Configure an alternative endpoint of the Glue service for GlueCatalog to access.This could be used to use GlueCatalog with any glue-compatible metastore service that has a different endpoint
- See Also:
- Constant Field Values
-
S3FILEIO_MULTIPART_UPLOAD_THREADS
public static final java.lang.String S3FILEIO_MULTIPART_UPLOAD_THREADS
Number of threads to use for uploading parts to S3 (shared pool across all output streams), default toRuntime.availableProcessors()- See Also:
- Constant Field Values
-
S3FILEIO_MULTIPART_SIZE
public static final java.lang.String S3FILEIO_MULTIPART_SIZE
The size of a single part for multipart upload requests in bytes (default: 32MB). based on S3 requirement, the part size must be at least 5MB. Too ensure performance of the reader and writer, the part size must be less than 2GB.For more details, see https://docs.aws.amazon.com/AmazonS3/latest/dev/qfacts.html
- See Also:
- Constant Field Values
-
S3FILEIO_MULTIPART_SIZE_DEFAULT
public static final int S3FILEIO_MULTIPART_SIZE_DEFAULT
- See Also:
- Constant Field Values
-
S3FILEIO_MULTIPART_SIZE_MIN
public static final int S3FILEIO_MULTIPART_SIZE_MIN
- See Also:
- Constant Field Values
-
S3FILEIO_MULTIPART_THRESHOLD_FACTOR
public static final java.lang.String S3FILEIO_MULTIPART_THRESHOLD_FACTOR
The threshold expressed as a factor times the multipart size at which to switch from uploading using a single put object request to uploading using multipart upload (default: 1.5).- See Also:
- Constant Field Values
-
S3FILEIO_MULTIPART_THRESHOLD_FACTOR_DEFAULT
public static final double S3FILEIO_MULTIPART_THRESHOLD_FACTOR_DEFAULT
- See Also:
- Constant Field Values
-
S3FILEIO_STAGING_DIRECTORY
public static final java.lang.String S3FILEIO_STAGING_DIRECTORY
Location to put staging files for upload to S3, default to temp directory set in java.io.tmpdir.- See Also:
- Constant Field Values
-
S3FILEIO_ACL
public static final java.lang.String S3FILEIO_ACL
Used to configure canned access control list (ACL) for S3 client to use during write. If not set, ACL will not be set for requests.The input must be one of
ObjectCannedACL, such as 'public-read-write' For more details: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html- See Also:
- Constant Field Values
-
S3FILEIO_ENDPOINT
public static final java.lang.String S3FILEIO_ENDPOINT
Configure an alternative endpoint of the S3 service for S3FileIO to access.This could be used to use S3FileIO with any s3-compatible object storage service that has a different endpoint, or access a private S3 endpoint in a virtual private cloud.
- See Also:
- Constant Field Values
-
S3FILEIO_PATH_STYLE_ACCESS
public static final java.lang.String S3FILEIO_PATH_STYLE_ACCESS
If settrue, requests to S3FileIO will use Path-Style, otherwise, Virtual Hosted-Style will be used.For more details: https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html
- See Also:
- Constant Field Values
-
S3FILEIO_PATH_STYLE_ACCESS_DEFAULT
public static final boolean S3FILEIO_PATH_STYLE_ACCESS_DEFAULT
- See Also:
- Constant Field Values
-
S3FILEIO_ACCESS_KEY_ID
public static final java.lang.String S3FILEIO_ACCESS_KEY_ID
Configure the static access key ID used to access S3FileIO.When set, the default client factory will use the basic or session credentials provided instead of reading the default credential chain to create S3 access credentials. If
S3FILEIO_SESSION_TOKENis set, session credential is used, otherwise basic credential is used.- See Also:
- Constant Field Values
-
S3FILEIO_SECRET_ACCESS_KEY
public static final java.lang.String S3FILEIO_SECRET_ACCESS_KEY
Configure the static secret access key used to access S3FileIO.When set, the default client factory will use the basic or session credentials provided instead of reading the default credential chain to create S3 access credentials. If
S3FILEIO_SESSION_TOKENis set, session credential is used, otherwise basic credential is used.- See Also:
- Constant Field Values
-
S3FILEIO_SESSION_TOKEN
public static final java.lang.String S3FILEIO_SESSION_TOKEN
Configure the static session token used to access S3FileIO.When set, the default client factory will use the session credentials provided instead of reading the default credential chain to create S3 access credentials.
- See Also:
- Constant Field Values
-
S3_USE_ARN_REGION_ENABLED
public static final java.lang.String S3_USE_ARN_REGION_ENABLED
Enable to make S3FileIO, to make cross-region call to the region specified in the ARN of an access point.By default, attempting to use an access point in a different region will throw an exception. When enabled, this property allows using access points in other regions.
For more details see: https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/s3/S3Configuration.html#useArnRegionEnabled--
- See Also:
- Constant Field Values
-
S3_USE_ARN_REGION_ENABLED_DEFAULT
public static final boolean S3_USE_ARN_REGION_ENABLED_DEFAULT
- See Also:
- Constant Field Values
-
S3_CHECKSUM_ENABLED
public static final java.lang.String S3_CHECKSUM_ENABLED
Enables eTag checks for S3 PUT and MULTIPART upload requests.- See Also:
- Constant Field Values
-
S3_CHECKSUM_ENABLED_DEFAULT
public static final boolean S3_CHECKSUM_ENABLED_DEFAULT
- See Also:
- Constant Field Values
-
S3_REMOTE_SIGNING_ENABLED
public static final java.lang.String S3_REMOTE_SIGNING_ENABLED
- See Also:
- Constant Field Values
-
S3_REMOTE_SIGNING_ENABLED_DEFAULT
public static final boolean S3_REMOTE_SIGNING_ENABLED_DEFAULT
- See Also:
- Constant Field Values
-
S3FILEIO_DELETE_BATCH_SIZE
public static final java.lang.String S3FILEIO_DELETE_BATCH_SIZE
Configure the batch size used when deleting multiple files from a given S3 bucket- See Also:
- Constant Field Values
-
S3FILEIO_DELETE_BATCH_SIZE_DEFAULT
public static final int S3FILEIO_DELETE_BATCH_SIZE_DEFAULT
Default batch size used when deleting files.Refer to https://github.com/apache/hadoop/commit/56dee667707926f3796c7757be1a133a362f05c9 for more details on why this value was chosen.
- See Also:
- Constant Field Values
-
S3FILEIO_DELETE_BATCH_SIZE_MAX
public static final int S3FILEIO_DELETE_BATCH_SIZE_MAX
Max possible batch size for deletion. Currently, a max of 1000 keys can be deleted in one batch. https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObjects.html- See Also:
- Constant Field Values
-
DYNAMODB_ENDPOINT
public static final java.lang.String DYNAMODB_ENDPOINT
Configure an alternative endpoint of the DynamoDB service to access.- See Also:
- Constant Field Values
-
DYNAMODB_TABLE_NAME
public static final java.lang.String DYNAMODB_TABLE_NAME
DynamoDB table name forDynamoDbCatalog- See Also:
- Constant Field Values
-
DYNAMODB_TABLE_NAME_DEFAULT
public static final java.lang.String DYNAMODB_TABLE_NAME_DEFAULT
- See Also:
- Constant Field Values
-
CLIENT_FACTORY
public static final java.lang.String CLIENT_FACTORY
The implementation class ofAwsClientFactoryto customize AWS client configurations. If set, all AWS clients will be initialized by the specified factory. If not set,AwsClientFactories.defaultFactory()is used as default factory.- See Also:
- Constant Field Values
-
CLIENT_ASSUME_ROLE_ARN
public static final java.lang.String CLIENT_ASSUME_ROLE_ARN
Used byAssumeRoleAwsClientFactory. If set, all AWS clients will assume a role of the given ARN, instead of using the default credential chain.- See Also:
- Constant Field Values
-
CLIENT_ASSUME_ROLE_TAGS_PREFIX
public static final java.lang.String CLIENT_ASSUME_ROLE_TAGS_PREFIX
Used byAssumeRoleAwsClientFactoryto pass a list of sessions. Each session tag consists of a key name and an associated value.- See Also:
- Constant Field Values
-
CLIENT_ASSUME_ROLE_TIMEOUT_SEC
public static final java.lang.String CLIENT_ASSUME_ROLE_TIMEOUT_SEC
Used byAssumeRoleAwsClientFactory. The timeout of the assume role session in seconds, default to 1 hour. At the end of the timeout, a new set of role session credentials will be fetched through a STS client.- See Also:
- Constant Field Values
-
CLIENT_ASSUME_ROLE_TIMEOUT_SEC_DEFAULT
public static final int CLIENT_ASSUME_ROLE_TIMEOUT_SEC_DEFAULT
- See Also:
- Constant Field Values
-
CLIENT_ASSUME_ROLE_EXTERNAL_ID
public static final java.lang.String CLIENT_ASSUME_ROLE_EXTERNAL_ID
Used byAssumeRoleAwsClientFactory. Optional external ID used to assume an IAM role.For more details, see https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html
- See Also:
- Constant Field Values
-
CLIENT_ASSUME_ROLE_REGION
public static final java.lang.String CLIENT_ASSUME_ROLE_REGION
Used byAssumeRoleAwsClientFactory. If set, all AWS clients except STS client will use the given region instead of the default region chain.The value must be one of
Region, such as 'us-east-1'. For more details, see https://docs.aws.amazon.com/general/latest/gr/rande.html- See Also:
- Constant Field Values
-
CLIENT_ASSUME_ROLE_SESSION_NAME
public static final java.lang.String CLIENT_ASSUME_ROLE_SESSION_NAME
Used byAssumeRoleAwsClientFactory. Optional session name used to assume an IAM role.For more details, see https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_iam-condition-keys.html#ck_rolesessionname
- See Also:
- Constant Field Values
-
HTTP_CLIENT_TYPE
public static final java.lang.String HTTP_CLIENT_TYPE
The type ofSdkHttpClientimplementation used byAwsClientFactoryIf set, all AWS clients will use this specified HTTP client. If not set,HTTP_CLIENT_TYPE_DEFAULTwill be used. For specific types supported, see HTTP_CLIENT_TYPE_* defined below.- See Also:
- Constant Field Values
-
HTTP_CLIENT_TYPE_URLCONNECTION
public static final java.lang.String HTTP_CLIENT_TYPE_URLCONNECTION
If this is set underHTTP_CLIENT_TYPE,UrlConnectionHttpClientwill be used as the HTTP Client inAwsClientFactory- See Also:
- Constant Field Values
-
HTTP_CLIENT_TYPE_APACHE
public static final java.lang.String HTTP_CLIENT_TYPE_APACHE
If this is set underHTTP_CLIENT_TYPE,ApacheHttpClientwill be used as the HTTP Client inAwsClientFactory- See Also:
- Constant Field Values
-
HTTP_CLIENT_TYPE_DEFAULT
public static final java.lang.String HTTP_CLIENT_TYPE_DEFAULT
- See Also:
- Constant Field Values
-
HTTP_CLIENT_URLCONNECTION_CONNECTION_TIMEOUT_MS
public static final java.lang.String HTTP_CLIENT_URLCONNECTION_CONNECTION_TIMEOUT_MS
Used to configure the connection timeout in milliseconds forUrlConnectionHttpClient.Builder. This flag only works whenHTTP_CLIENT_TYPEis set toHTTP_CLIENT_TYPE_URLCONNECTIONFor more details, see https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/http/urlconnection/UrlConnectionHttpClient.Builder.html
- See Also:
- Constant Field Values
-
HTTP_CLIENT_URLCONNECTION_SOCKET_TIMEOUT_MS
public static final java.lang.String HTTP_CLIENT_URLCONNECTION_SOCKET_TIMEOUT_MS
Used to configure the socket timeout in milliseconds forUrlConnectionHttpClient.Builder. This flag only works whenHTTP_CLIENT_TYPEis set toHTTP_CLIENT_TYPE_URLCONNECTIONFor more details, see https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/http/urlconnection/UrlConnectionHttpClient.Builder.html
- See Also:
- Constant Field Values
-
HTTP_CLIENT_APACHE_CONNECTION_TIMEOUT_MS
public static final java.lang.String HTTP_CLIENT_APACHE_CONNECTION_TIMEOUT_MS
Used to configure the connection timeout in milliseconds forApacheHttpClient.Builder. This flag only works whenHTTP_CLIENT_TYPEis set toHTTP_CLIENT_TYPE_APACHEFor more details, see https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/http/apache/ApacheHttpClient.Builder.html
- See Also:
- Constant Field Values
-
HTTP_CLIENT_APACHE_SOCKET_TIMEOUT_MS
public static final java.lang.String HTTP_CLIENT_APACHE_SOCKET_TIMEOUT_MS
Used to configure the socket timeout in milliseconds forApacheHttpClient.Builder. This flag only works whenHTTP_CLIENT_TYPEis set toHTTP_CLIENT_TYPE_APACHEFor more details, see https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/http/apache/ApacheHttpClient.Builder.html
- See Also:
- Constant Field Values
-
HTTP_CLIENT_APACHE_CONNECTION_ACQUISITION_TIMEOUT_MS
public static final java.lang.String HTTP_CLIENT_APACHE_CONNECTION_ACQUISITION_TIMEOUT_MS
Used to configure the connection acquisition timeout in milliseconds forApacheHttpClient.Builder. This flag only works whenHTTP_CLIENT_TYPEis set toHTTP_CLIENT_TYPE_APACHEFor more details, see https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/http/apache/ApacheHttpClient.Builder.html
- See Also:
- Constant Field Values
-
HTTP_CLIENT_APACHE_CONNECTION_MAX_IDLE_TIME_MS
public static final java.lang.String HTTP_CLIENT_APACHE_CONNECTION_MAX_IDLE_TIME_MS
Used to configure the connection max idle time in milliseconds forApacheHttpClient.Builder. This flag only works whenHTTP_CLIENT_TYPEis set toHTTP_CLIENT_TYPE_APACHEFor more details, see https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/http/apache/ApacheHttpClient.Builder.html
- See Also:
- Constant Field Values
-
HTTP_CLIENT_APACHE_CONNECTION_TIME_TO_LIVE_MS
public static final java.lang.String HTTP_CLIENT_APACHE_CONNECTION_TIME_TO_LIVE_MS
Used to configure the connection time to live in milliseconds forApacheHttpClient.Builder. This flag only works whenHTTP_CLIENT_TYPEis set toHTTP_CLIENT_TYPE_APACHEFor more details, see https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/http/apache/ApacheHttpClient.Builder.html
- See Also:
- Constant Field Values
-
HTTP_CLIENT_APACHE_EXPECT_CONTINUE_ENABLED
public static final java.lang.String HTTP_CLIENT_APACHE_EXPECT_CONTINUE_ENABLED
Used to configure whether to enable the expect continue setting forApacheHttpClient.Builder. This flag only works whenHTTP_CLIENT_TYPEis set toHTTP_CLIENT_TYPE_APACHEIn default, this is disabled.
For more details, see https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/http/apache/ApacheHttpClient.Builder.html
- See Also:
- Constant Field Values
-
HTTP_CLIENT_APACHE_MAX_CONNECTIONS
public static final java.lang.String HTTP_CLIENT_APACHE_MAX_CONNECTIONS
Used to configure the max connections number forApacheHttpClient.Builder. This flag only works whenHTTP_CLIENT_TYPEis set toHTTP_CLIENT_TYPE_APACHEFor more details, see https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/http/apache/ApacheHttpClient.Builder.html
- See Also:
- Constant Field Values
-
HTTP_CLIENT_APACHE_TCP_KEEP_ALIVE_ENABLED
public static final java.lang.String HTTP_CLIENT_APACHE_TCP_KEEP_ALIVE_ENABLED
Used to configure whether to enable the tcp keep alive setting forApacheHttpClient.Builder. This flag only works whenHTTP_CLIENT_TYPEis set toHTTP_CLIENT_TYPE_APACHE.In default, this is disabled.
For more details, see https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/http/apache/ApacheHttpClient.Builder.html
- See Also:
- Constant Field Values
-
HTTP_CLIENT_APACHE_USE_IDLE_CONNECTION_REAPER_ENABLED
public static final java.lang.String HTTP_CLIENT_APACHE_USE_IDLE_CONNECTION_REAPER_ENABLED
Used to configure whether to use idle connection reaper forApacheHttpClient.Builder. This flag only works whenHTTP_CLIENT_TYPEis set toHTTP_CLIENT_TYPE_APACHE.In default, this is enabled.
For more details, see https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/http/apache/ApacheHttpClient.Builder.html
- See Also:
- Constant Field Values
-
S3_WRITE_TAGS_PREFIX
public static final java.lang.String S3_WRITE_TAGS_PREFIX
Used byS3FileIOto tag objects when writing. To set, we can pass a catalog property.For more details, see https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-tagging.html
Example: s3.write.tags.my_key=my_val
- See Also:
- Constant Field Values
-
S3_WRITE_TABLE_TAG_ENABLED
public static final java.lang.String S3_WRITE_TABLE_TAG_ENABLED
Used byGlueCatalogto tag objects when writing. To set, we can pass a catalog property.For more details, see https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-tagging.html
Example: s3.write.table-tag-enabled=true
- See Also:
- Constant Field Values
-
S3_WRITE_TABLE_TAG_ENABLED_DEFAULT
public static final boolean S3_WRITE_TABLE_TAG_ENABLED_DEFAULT
- See Also:
- Constant Field Values
-
S3_WRITE_NAMESPACE_TAG_ENABLED
public static final java.lang.String S3_WRITE_NAMESPACE_TAG_ENABLED
Used byGlueCatalogto tag objects when writing. To set, we can pass a catalog property.For more details, see https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-tagging.html
Example: s3.write.namespace-tag-enabled=true
- See Also:
- Constant Field Values
-
S3_WRITE_NAMESPACE_TAG_ENABLED_DEFAULT
public static final boolean S3_WRITE_NAMESPACE_TAG_ENABLED_DEFAULT
- See Also:
- Constant Field Values
-
S3_TAG_ICEBERG_TABLE
public static final java.lang.String S3_TAG_ICEBERG_TABLE
Tag name that will be used byS3_WRITE_TAGS_PREFIXwhenS3_WRITE_TABLE_TAG_ENABLEDis enabledExample: iceberg.table=tableName
- See Also:
- Constant Field Values
-
S3_TAG_ICEBERG_NAMESPACE
public static final java.lang.String S3_TAG_ICEBERG_NAMESPACE
Tag name that will be used byS3_WRITE_TAGS_PREFIXwhenS3_WRITE_NAMESPACE_TAG_ENABLEDis enabledExample: iceberg.namespace=namespaceName
- See Also:
- Constant Field Values
-
S3_DELETE_TAGS_PREFIX
public static final java.lang.String S3_DELETE_TAGS_PREFIX
Used byS3FileIOto tag objects when deleting. When this config is set, objects are tagged with the configured key-value pairs before deletion. This is considered a soft-delete, because users are able to configure tag-based object lifecycle policy at bucket level to transition objects to different tiers.For more details, see https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lifecycle-mgmt.html
Example: s3.delete.tags.my_key=my_val
- See Also:
- Constant Field Values
-
S3FILEIO_DELETE_THREADS
public static final java.lang.String S3FILEIO_DELETE_THREADS
Number of threads to use for adding delete tags to S3 objects, default toRuntime.availableProcessors()- See Also:
- Constant Field Values
-
S3_DELETE_ENABLED
public static final java.lang.String S3_DELETE_ENABLED
Determines ifS3FileIOdeletes the object when io.delete() is called, default to true. Once disabled, users are expected to set tags throughS3_DELETE_TAGS_PREFIXand manage deleted files through S3 lifecycle policy.- See Also:
- Constant Field Values
-
S3_DELETE_ENABLED_DEFAULT
public static final boolean S3_DELETE_ENABLED_DEFAULT
- See Also:
- Constant Field Values
-
S3_ACCELERATION_ENABLED
public static final java.lang.String S3_ACCELERATION_ENABLED
Determines if S3 client will use the Acceleration Mode, default to false.For more details, see https://docs.aws.amazon.com/AmazonS3/latest/userguide/transfer-acceleration.html
- See Also:
- Constant Field Values
-
S3_ACCELERATION_ENABLED_DEFAULT
public static final boolean S3_ACCELERATION_ENABLED_DEFAULT
- See Also:
- Constant Field Values
-
S3_DUALSTACK_ENABLED
public static final java.lang.String S3_DUALSTACK_ENABLED
Determines if S3 client will use the Dualstack Mode, default to false.For more details, see https://docs.aws.amazon.com/AmazonS3/latest/userguide/dual-stack-endpoints.html
- See Also:
- Constant Field Values
-
S3_DUALSTACK_ENABLED_DEFAULT
public static final boolean S3_DUALSTACK_ENABLED_DEFAULT
- See Also:
- Constant Field Values
-
S3_ACCESS_POINTS_PREFIX
public static final java.lang.String S3_ACCESS_POINTS_PREFIX
Used byS3FileIO, prefix used for bucket access point configuration. To set, we can pass a catalog property.For more details, see https://aws.amazon.com/s3/features/access-points/
Example: s3.access-points.my-bucket=access-point
- See Also:
- Constant Field Values
-
S3_PRELOAD_CLIENT_ENABLED
public static final java.lang.String S3_PRELOAD_CLIENT_ENABLED
This flag controls whether the S3 client will be initialized during the S3FileIO initialization, instead of default lazy initialization upon use. This is needed for cases that the credentials to use might change and needs to be preloaded.- See Also:
- Constant Field Values
-
S3_PRELOAD_CLIENT_ENABLED_DEFAULT
public static final boolean S3_PRELOAD_CLIENT_ENABLED_DEFAULT
- See Also:
- Constant Field Values
-
LAKE_FORMATION_TABLE_NAME
public static final java.lang.String LAKE_FORMATION_TABLE_NAME
Used byLakeFormationAwsClientFactory. The table name used as part of lake formation credentials request.- See Also:
- Constant Field Values
-
LAKE_FORMATION_DB_NAME
public static final java.lang.String LAKE_FORMATION_DB_NAME
Used byLakeFormationAwsClientFactory. The database name used as part of lake formation credentials request.- See Also:
- Constant Field Values
-
REST_SIGNER_REGION
public static final java.lang.String REST_SIGNER_REGION
Region to be used by the SigV4 protocol for signing requests.- See Also:
- Constant Field Values
-
REST_SIGNING_NAME
public static final java.lang.String REST_SIGNING_NAME
The service name to be used by the SigV4 protocol for signing requests.- See Also:
- Constant Field Values
-
REST_SIGNING_NAME_DEFAULT
public static final java.lang.String REST_SIGNING_NAME_DEFAULT
The default service name (API Gateway and lambda) used during SigV4 signing.- See Also:
- Constant Field Values
-
REST_ACCESS_KEY_ID
public static final java.lang.String REST_ACCESS_KEY_ID
Configure the static access key ID used for SigV4 signing.When set, the default client factory will use the basic or session credentials provided instead of reading the default credential chain to create S3 access credentials. If
REST_SESSION_TOKENis set, session credential is used, otherwise basic credential is used.- See Also:
- Constant Field Values
-
REST_SECRET_ACCESS_KEY
public static final java.lang.String REST_SECRET_ACCESS_KEY
Configure the static secret access key used for SigV4 signing.When set, the default client factory will use the basic or session credentials provided instead of reading the default credential chain to create S3 access credentials. If
REST_SESSION_TOKENis set, session credential is used, otherwise basic credential is used.- See Also:
- Constant Field Values
-
REST_SESSION_TOKEN
public static final java.lang.String REST_SESSION_TOKEN
Configure the static session token used for SigV4.When set, the default client factory will use the session credentials provided instead of reading the default credential chain to create access credentials.
- See Also:
- Constant Field Values
-
-
Method Detail
-
stsClientAssumeRoleTags
public java.util.Set<software.amazon.awssdk.services.sts.model.Tag> stsClientAssumeRoleTags()
-
clientAssumeRoleArn
public java.lang.String clientAssumeRoleArn()
-
clientAssumeRoleTimeoutSec
public int clientAssumeRoleTimeoutSec()
-
clientAssumeRoleExternalId
public java.lang.String clientAssumeRoleExternalId()
-
clientAssumeRoleRegion
public java.lang.String clientAssumeRoleRegion()
-
clientAssumeRoleSessionName
public java.lang.String clientAssumeRoleSessionName()
-
s3FileIoSseType
public java.lang.String s3FileIoSseType()
-
setS3FileIoSseType
public void setS3FileIoSseType(java.lang.String sseType)
-
s3FileIoSseKey
public java.lang.String s3FileIoSseKey()
-
s3FileIoDeleteBatchSize
public int s3FileIoDeleteBatchSize()
-
setS3FileIoDeleteBatchSize
public void setS3FileIoDeleteBatchSize(int deleteBatchSize)
-
setS3FileIoSseKey
public void setS3FileIoSseKey(java.lang.String sseKey)
-
s3FileIoSseMd5
public java.lang.String s3FileIoSseMd5()
-
setS3FileIoSseMd5
public void setS3FileIoSseMd5(java.lang.String sseMd5)
-
glueCatalogId
public java.lang.String glueCatalogId()
-
setGlueCatalogId
public void setGlueCatalogId(java.lang.String id)
-
glueCatalogSkipArchive
public boolean glueCatalogSkipArchive()
-
setGlueCatalogSkipArchive
public void setGlueCatalogSkipArchive(boolean skipArchive)
-
glueCatalogSkipNameValidation
public boolean glueCatalogSkipNameValidation()
-
setGlueCatalogSkipNameValidation
public void setGlueCatalogSkipNameValidation(boolean glueCatalogSkipNameValidation)
-
glueLakeFormationEnabled
public boolean glueLakeFormationEnabled()
-
setGlueLakeFormationEnabled
public void setGlueLakeFormationEnabled(boolean glueLakeFormationEnabled)
-
s3FileIoMultipartUploadThreads
public int s3FileIoMultipartUploadThreads()
-
setS3FileIoMultipartUploadThreads
public void setS3FileIoMultipartUploadThreads(int threads)
-
s3FileIoMultiPartSize
public int s3FileIoMultiPartSize()
-
setS3FileIoMultiPartSize
public void setS3FileIoMultiPartSize(int size)
-
s3FileIOMultipartThresholdFactor
public double s3FileIOMultipartThresholdFactor()
-
setS3FileIoMultipartThresholdFactor
public void setS3FileIoMultipartThresholdFactor(double factor)
-
s3fileIoStagingDirectory
public java.lang.String s3fileIoStagingDirectory()
-
setS3fileIoStagingDirectory
public void setS3fileIoStagingDirectory(java.lang.String directory)
-
s3FileIoAcl
public software.amazon.awssdk.services.s3.model.ObjectCannedACL s3FileIoAcl()
-
setS3FileIoAcl
public void setS3FileIoAcl(software.amazon.awssdk.services.s3.model.ObjectCannedACL acl)
-
setS3PreloadClientEnabled
public void setS3PreloadClientEnabled(boolean s3PreloadClientEnabled)
-
s3PreloadClientEnabled
public boolean s3PreloadClientEnabled()
-
dynamoDbTableName
public java.lang.String dynamoDbTableName()
-
setDynamoDbTableName
public void setDynamoDbTableName(java.lang.String name)
-
isS3ChecksumEnabled
public boolean isS3ChecksumEnabled()
-
setS3ChecksumEnabled
public void setS3ChecksumEnabled(boolean eTagCheckEnabled)
-
s3WriteTags
public java.util.Set<software.amazon.awssdk.services.s3.model.Tag> s3WriteTags()
-
s3WriteTableTagEnabled
public boolean s3WriteTableTagEnabled()
-
setS3WriteTableTagEnabled
public void setS3WriteTableTagEnabled(boolean s3WriteTableNameTagEnabled)
-
s3WriteNamespaceTagEnabled
public boolean s3WriteNamespaceTagEnabled()
-
setS3WriteNamespaceTagEnabled
public void setS3WriteNamespaceTagEnabled(boolean s3WriteNamespaceTagEnabled)
-
s3DeleteTags
public java.util.Set<software.amazon.awssdk.services.s3.model.Tag> s3DeleteTags()
-
s3FileIoDeleteThreads
public int s3FileIoDeleteThreads()
-
setS3FileIoDeleteThreads
public void setS3FileIoDeleteThreads(int threads)
-
isS3DeleteEnabled
public boolean isS3DeleteEnabled()
-
setS3DeleteEnabled
public void setS3DeleteEnabled(boolean s3DeleteEnabled)
-
s3BucketToAccessPointMapping
public java.util.Map<java.lang.String,java.lang.String> s3BucketToAccessPointMapping()
-
httpClientProperties
public java.util.Map<java.lang.String,java.lang.String> httpClientProperties()
-
applyS3CredentialConfigurations
public <T extends software.amazon.awssdk.services.s3.S3ClientBuilder> void applyS3CredentialConfigurations(T builder)
Configure the credentials for an S3 client.Sample usage:
S3Client.builder().applyMutation(awsProperties::applyS3CredentialConfigurations)
-
applyS3ServiceConfigurations
public <T extends software.amazon.awssdk.services.s3.S3ClientBuilder> void applyS3ServiceConfigurations(T builder)
Configure services settings for an S3 client. The settings include: s3DualStack, s3UseArnRegion, s3PathStyleAccess, and s3AccelerationSample usage:
S3Client.builder().applyMutation(awsProperties::applyS3ServiceConfigurations)
-
applyS3SignerConfiguration
public <T extends software.amazon.awssdk.services.s3.S3ClientBuilder> void applyS3SignerConfiguration(T builder)
Configure a signer for an S3 client.Sample usage:
S3Client.builder().applyMutation(awsProperties::applyS3SignerConfiguration)
-
applyHttpClientConfigurations
public <T extends software.amazon.awssdk.awscore.client.builder.AwsSyncClientBuilder> void applyHttpClientConfigurations(T builder)
Configure the httpClient for a client according to the HttpClientType. The two supported HttpClientTypes are urlconnection and apacheSample usage:
S3Client.builder().applyMutation(awsProperties::applyHttpClientConfigurations)
-
applyS3EndpointConfigurations
public <T extends software.amazon.awssdk.services.s3.S3ClientBuilder> void applyS3EndpointConfigurations(T builder)
Override the endpoint for an S3 client.Sample usage:
S3Client.builder().applyMutation(awsProperties::applyS3EndpointConfigurations)
-
applyGlueEndpointConfigurations
public <T extends software.amazon.awssdk.services.glue.GlueClientBuilder> void applyGlueEndpointConfigurations(T builder)
Override the endpoint for a glue client.Sample usage:
GlueClient.builder().applyMutation(awsProperties::applyS3EndpointConfigurations)
-
applyDynamoDbEndpointConfigurations
public <T extends software.amazon.awssdk.services.dynamodb.DynamoDbClientBuilder> void applyDynamoDbEndpointConfigurations(T builder)
Override the endpoint for a dynamoDb client.Sample usage:
DynamoDbClient.builder().applyMutation(awsProperties::applyS3EndpointConfigurations)
-
restSigningRegion
public software.amazon.awssdk.regions.Region restSigningRegion()
-
restSigningName
public java.lang.String restSigningName()
-
restCredentialsProvider
public software.amazon.awssdk.auth.credentials.AwsCredentialsProvider restCredentialsProvider()
-
-