You can parameterize an Amazon S3 V2 target file using a parameter file. You can use a parameter file when you create a mapping to write a file of flat format type.
Perform the following steps to parameterize an Amazon S3 V2 target file using a parameter file:
Create an Amazon S3 V2 target object.
Specify the values of the
Target File Name
as
$p1
and
Target Object Path
as
$p2
in the
Create Target
option.
Define the parameters that you added for the target object name and target object path in the parameter file.
For example,
$p1=filename
$p2=path
Place the parameter file in the following location: