Package org.apache.iceberg.aws
Class AssumeRoleAwsClientFactory
- java.lang.Object
-
- org.apache.iceberg.aws.AssumeRoleAwsClientFactory
-
- All Implemented Interfaces:
java.io.Serializable,AwsClientFactory
- Direct Known Subclasses:
LakeFormationAwsClientFactory
public class AssumeRoleAwsClientFactory extends java.lang.Object implements AwsClientFactory
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AssumeRoleAwsClientFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T extends software.amazon.awssdk.awscore.client.builder.AwsClientBuilder & software.amazon.awssdk.awscore.client.builder.AwsSyncClientBuilder>
TapplyAssumeRoleConfigurations(T clientBuilder)protected AwsPropertiesawsProperties()software.amazon.awssdk.services.dynamodb.DynamoDbClientdynamo()Create a Amazon DynamoDB clientsoftware.amazon.awssdk.services.glue.GlueClientglue()create a AWS Glue clientvoidinitialize(java.util.Map<java.lang.String,java.lang.String> properties)Initialize AWS client factory from catalog properties.software.amazon.awssdk.services.kms.KmsClientkms()Create a AWS KMS clientprotected java.lang.Stringregion()software.amazon.awssdk.services.s3.S3Clients3()create a Amazon S3 client
-
-
-
Method Detail
-
s3
public software.amazon.awssdk.services.s3.S3Client s3()
Description copied from interface:AwsClientFactorycreate a Amazon S3 client- Specified by:
s3in interfaceAwsClientFactory- Returns:
- s3 client
-
glue
public software.amazon.awssdk.services.glue.GlueClient glue()
Description copied from interface:AwsClientFactorycreate a AWS Glue client- Specified by:
gluein interfaceAwsClientFactory- Returns:
- glue client
-
kms
public software.amazon.awssdk.services.kms.KmsClient kms()
Description copied from interface:AwsClientFactoryCreate a AWS KMS client- Specified by:
kmsin interfaceAwsClientFactory- Returns:
- kms client
-
dynamo
public software.amazon.awssdk.services.dynamodb.DynamoDbClient dynamo()
Description copied from interface:AwsClientFactoryCreate a Amazon DynamoDB client- Specified by:
dynamoin interfaceAwsClientFactory- Returns:
- dynamoDB client
-
initialize
public void initialize(java.util.Map<java.lang.String,java.lang.String> properties)
Description copied from interface:AwsClientFactoryInitialize AWS client factory from catalog properties.- Specified by:
initializein interfaceAwsClientFactory- Parameters:
properties- catalog properties
-
applyAssumeRoleConfigurations
protected <T extends software.amazon.awssdk.awscore.client.builder.AwsClientBuilder & software.amazon.awssdk.awscore.client.builder.AwsSyncClientBuilder> T applyAssumeRoleConfigurations(T clientBuilder)
-
region
protected java.lang.String region()
-
awsProperties
protected AwsProperties awsProperties()
-
-