Class LakeFormationAwsClientFactory
java.lang.Object
org.apache.iceberg.aws.AssumeRoleAwsClientFactory
org.apache.iceberg.aws.lakeformation.LakeFormationAwsClientFactory
- All Implemented Interfaces:
- Serializable,- AwsClientFactory
This implementation of AwsClientFactory is used by default if 
AwsProperties.GLUE_LAKEFORMATION_ENABLED is set to true. It uses the
 default credential chain to assume role. Third-party engines can further extend this class to any
 custom credential setup.
 It extends AssumeRoleAwsClientFactory to reuse the assuming-role approach for all clients except S3 and KMS. If a table is registered with LakeFormation, the S3/KMS client will use LakeFormation vended credentials, otherwise it uses AssumingRole credentials. For using LakeFormation credential vending for a third-party query engine, see: https://docs.aws.amazon.com/lake-formation/latest/dg/register-query-engine.html
- See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.iceberg.aws.AssumeRoleAwsClientFactoryapplyAssumeRoleConfigurations, applyAssumeRoleConfigurations, applyAssumeRoleConfigurations, awsClientProperties, awsProperties, dynamo, glue, httpClientProperties, region, s3Async, s3FileIOProperties
- 
Field Details- 
LF_AUTHORIZED_CALLER- See Also:
 
 
- 
- 
Constructor Details- 
LakeFormationAwsClientFactorypublic LakeFormationAwsClientFactory()
 
- 
- 
Method Details- 
initializeDescription copied from interface:AwsClientFactoryInitialize AWS client factory from catalog properties.- Specified by:
- initializein interface- AwsClientFactory
- Overrides:
- initializein class- AssumeRoleAwsClientFactory
- Parameters:
- catalogProperties- catalog properties
 
- 
s3public software.amazon.awssdk.services.s3.S3Client s3()Description copied from interface:AwsClientFactorycreate a Amazon S3 client- Specified by:
- s3in interface- AwsClientFactory
- Overrides:
- s3in class- AssumeRoleAwsClientFactory
- Returns:
- s3 client
 
- 
kmspublic software.amazon.awssdk.services.kms.KmsClient kms()Description copied from interface:AwsClientFactoryCreate a AWS KMS client- Specified by:
- kmsin interface- AwsClientFactory
- Overrides:
- kmsin class- AssumeRoleAwsClientFactory
- Returns:
- kms client
 
 
-