Skip to main content Skip to complementary content
Close announcements banner

Configuring the components

Procedure

  1. Double-click the cAWSConnection component to display its Basic settings view in the Component tab.
  2. In the Access Key and Secret Key fields, enter the authentication credentials of your AWS account. For how to get your Access Key and Access Secret, see Access keys (access key ID and secret access key).
  3. Double-click the cFile component to open its Basic settings view in the Component tab.
  4. In the Path field, browse to or enter the input file path.
    In the fileName field, enter the name of file to be uploaded to the S3 service.
    In this scenario, a TXT file with the name talend that contains a simple string Hello World! is used.
  5. Double-click the cAWSS3 component to open its Basic settings view in the Component tab.
  6. In the Connection list, select the cAWSConnection component that you have just configured to connect to Amazon's S3 service.
    In the Bucket Name field, enter the name of the bucket to upload the file, "talend-s3-demo" in this use case.
    Under the Message Headers table, click [+] to add two rows in the table. Set the header CamelAwsS3Key with the value "talend.txt" as the name of the S3 object, and the header CamelAwsS3ContentLength with the value 5 to define the length of the object.
  7. Press Ctrl+S to save your Route.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!