Create a mapping to read data from a source and write data to an Amazon S3 target. Configure AWS IAM authentication for secure and controlled access to Amazon S3 resources when you run the mapping.
In Data Integration, click
New
Mappings
Create
.
The
New Mapping
dialog box appears.
Enter a name, location, and description for the mapping.
On the Source transformation, specify a name and description in the general properties.
On the
Source
tab, perform the following steps to provide the source details to read data from the source:
In the
Connection
field, select the source connection.
In the
Source Type
field, select the type of the source.
In the
Object
field, select the required object.
In the
Advanced Properties
section, provide the appropriate values.
On the
Fields
tab, map the source fields to the target fields.
On the Target transformation, specify a name and description in the general properties.
On the
Target
tab, perform the following steps to provide the target details to write data to the Amazon S3 target:
In the
Connection
field, select the required Amazon S3 target connection.
In the
Target Type
field, select the type of the target.
In the
Object
field, select the required object.
In the
Operation
field, select the required operation.
In the
Advanced Properties
section, provide appropriate values for the advanced target properties.
Map the source and the Amazon S3 target.
The following image shows a sample mapping:
Click
Save
Run
to validate the mapping.
In
Monitor
, you can monitor the status of the logs after you run the task.
Click
Action
New Mapping Task
on the left corner of the task wizard.
The
Mapping Task
page appears.
Provide a name of the mapping task and select the runtime environment.
The mapping that you created is selected automatically.