Configuring AWS IAM Authentication for Amazon Redshift and Amazon Redshift V2 Connectors

Configuring AWS IAM Authentication for Amazon Redshift and Amazon Redshift V2 Connectors

Create a Mapping

Create a Mapping

Create a mapping to read data from an on-premise MySQL database and write data to an Amazon Redshift target for analysis. Configure AWS IAM authentication for secure and controlled access to Amazon Redshift resources when you run the mapping.
  1. In Data Integration, click
    New
    Mappings
    Create
    .
    The
    New Mapping
    dialog box appears.
  2. Enter a name, location, and description for the mapping.
  3. On the Source transformation, specify a name and description in the general properties.
  4. On the
    Source
    tab, perform the following steps to provide the source details to read data from the MySQL source:
    1. In the
      Connection
      field, select the MySQL source connection.
    2. In the
      Source Type
      field, select the type of the source.
    3. In the
      Object
      field, select the required object.
    4. In the
      Advanced Properties
      section, provide the appropriate values.
  5. On the
    Fields
    tab, map the MySQL source fields to the target fields.
  6. On the Target transformation, specify a name and description in the general properties.
  7. On the
    Target
    tab, perform the following steps to provide the target details to write data to the Amazon Redshift target:
    1. In the
      Connection
      field, select the required target connection.
    2. In the
      Target Type
      field, select the type of the target.
    3. In the
      Object
      field, select the required object.
    4. In the
      Operation
      field, select the required operation.
    5. In the
      Advanced Properties
      section, provide appropriate values for the advanced target properties and ensure that you specify the AWS IAM ROLE that you created in the
      CopyOptions Property File
      field.
      The Secure Agent writes the data to the required target when you specify the Amazon Redshift Role Resource Name (ARN) in the
      CopyOptions Property File
      field.
      Verify that the Amazon S3 bucket and Amazon Redshift cluster reside in the same region.
  8. Map the MySQL source and the Amazon Redshift target.
    The following image shows a sample mapping:
  9. Click
    Save
    Run
    to validate the mapping.
    In
    Monitor
    , you can monitor the status of the logs after you run the task.
  10. Click
    Action
    New Mapping Task
    on the left corner of the task wizard.
    The
    Mapping Task
    page appears.
  11. Provide a name of the mapping task and select the runtime environment.
    The mapping that you created is selected automatically.
  12. Click
    Save
    Run
    to run the mapping task.


Updated August 06, 2020