Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

how to add maven dependency

I want to add below maven dependency , How i can configure it in talend.

<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk</artifactId>
<version>1.11.350</version>
</dependency>

 

 

I want to import below packages .

 

 

 

import com.amazonaws.auth.AWSCredentialsProvider;
import com.amazonaws.auth.BasicSessionCredentials;
import com.amazonaws.auth.profile.ProfileCredentialsProvider;
import com.amazonaws.auth.profile.ProfilesConfigFile;
import com.amazonaws.regions.Region;
import com.amazonaws.regions.Regions;
import com.amazonaws.services.s3.AmazonS3;
import com.amazonaws.services.s3.AmazonS3Client;
import com.amazonaws.services.s3.model.Bucket;
import com.amazonaws.services.s3.model.S3Object;
import com.amazonaws.services.securitytoken.AWSSecurityTokenServiceClient;
import com.amazonaws.services.securitytoken.model.AssumeRoleRequest;
import com.amazonaws.services.securitytoken.model.AssumeRoleResult;

 

Thanks

Pravin 

Labels (4)
3 Replies
Anonymous
Not applicable
Author

Hello,

Is it enough for you to set customization of assembly and maven pom.xml in Talend Studio configuration?

https://help.talend.com/reader/QrWkwPvKmKybs~JNLeBt3Q/3baqcOWkcGX8AZZdEeP5tA

Best regards

Sabrina

Anonymous
Not applicable
Author

Hi @xdshi,

Thanks For Quick reply. I will try with this.

 

I need one more help Regarding assume role configuration in Talend, Below is the java code I want to configure these parameters in Talend.

I found option to set Role ARN, RoleSessionName and Duration . But didn't found option to set External ID (Mentioned in below java code) .

Where I should set this external id in Talend. picture information is more useful .

 

 

AssumeRoleRequest assumeRequest = new AssumeRoleRequest()
.withRoleArn(ROLE_ARN)
.withDurationSeconds(900)
.withRoleSessionName(SESSION_NAME)
.withExternalId(EXTERNAL_ID) ;

 

Thanks

Pravin 

 

 

Pooja_kataria
Contributor III
Contributor III

Did this worked for you?