プロパティ | 説明 |
|---|---|
接続名 | Amazon S3 V2ソース接続の名前。ソース接続を選択するか、[新しいパラメータ]をクリックしてソース接続の新しいパラメータを定義します。 実行時にパラメータを上書きする場合は、パラメータの作成時に[実行時にパラメータのオーバーライドを許可する]オプションを選択します。タスクを実行すると、エージェントはタスク詳細セッションプロパティで指定したファイルからパラメータを使用します。 |
ソースタイプ | ソースタイプ。次のいずれかのタイプを選択します。
|
オブジェクト | ソースオブジェクトの名前。 オブジェクトを選択する場合に、複数のファイルから読み取るには.manifestファイルオブジェクトを選択することもできます。 |
パラメータ | ソースオブジェクトの既存のパラメータを選択するか、[新しいパラメータ]をクリックしてソースオブジェクトの新しいパラメータを定義します。パラメータをソースタイプとして選択する場合にのみ、パラメータプロパティが表示されます。 実行時にパラメータを上書きする場合は、パラメータの作成時に[実行時にパラメータのオーバーライドを許可する]オプションを選択します。タスクを実行すると、エージェントはタスク詳細セッションプロパティで指定したファイルからパラメータを使用します。 |
形式 | Amazon S3 V2コネクタがAmazon S3からデータを読み取るために使用するファイル形式を指定します。 次のファイル形式タイプを選択できます。
[構造の検出]形式を選択した場合、パラメータ化されたソースを使用することはできません。 デフォルトは[なし]です。 詳細については、ファイル形式オプションを参照してください。 |
インテリジェント構造モデル2 | [構造の検出]形式タイプに適用されます。サンプルファイルの中から基礎となるパターンを判断し、同じデータと構造を持つファイルのモデルを自動生成します。 モデルをトランスフォーメーションに関連付けるには、次のいずれかのオプションを選択します。
次のオプションのいずれかを選択して、XMLベースの階層スキーマに対してXMLソースオブジェクトを検証します。
マッピングタスクの作成時に、[ランタイムオプション]タブで、データ統合がスキーマの不一致を処理する方法を設定します。一致しないファイルをスキップしてタスクの実行を続行するか、一致しないファイルが見つかったときにタスクを停止するかを選択できます。 詳細については、「コンポーネント」を参照してください。 |
1詳細モードのマッピングには適用されません。 2詳細モードのマッピングにのみ適用されます。 | |
プロパティ | 説明 |
|---|---|
ソースタイプ | データの読み取り元のソースのタイプ。 次のソースタイプを選択することができます。
デフォルトは[ファイル]です。 ディレクトリソースタイプは、Deltaファイルには適用されません。 詳細については、Amazon S3 V2ソースのソースタイプを参照してください。 |
フォルダパス | Amazon S3ソースファイルのバケット名またはフォルダパスを上書きします。 該当する場合は、<bucket_name>/<folder_name>形式にソースファイルが含まれるフォルダ名を追加します。 バケット名を指定せずに、/<folder_name>形式でスラッシュ(/)から始まるフォルダパスを指定した場合、このフォルダパスは接続プロパティで指定したフォルダパスに付加されます。 例えば、このプロパティでフォルダパスを/<dir2>と指定し、接続プロパティでフォルダパスを<my_bucket1>/<dir1>と指定すると、このフォルダパスは、<my_bucket1>/<dir1>/<dir2>形式で接続プロパティで指定したフォルダパスに付加されます。 接続プロパティでフォルダパスを<my_bucket1>/<dir1>と指定し、このプロパティでフォルダパスを<my_bucket2>/<dir2>と指定すると、Secure Agentはこのプロパティで指定したフォルダパス<my_bucket2>/<dir2>のファイルを読み取ります。 |
ファイル名 | Amazon S3ソースファイルの名前を上書きします。 |
増分ファイルロード2 | ディレクトリを詳細モードのマッピングのソースとして使用する場合に、ファイルを増分ロードするかどうかを示します。ファイルを段階的にロードすると、マッピングタスクは、マッピングタスクが最後に実行されてから変更されたディレクトリ内のファイルのみを読み取って処理します。 詳細については、ファイルの増分ロードを参照してください。 |
ワイルドカード文字を許可2 | ディレクトリソースタイプにワイルドカード文字を使用するかどうかを指定します。 このオプションを選択すると、フォルダパスまたはファイル名に疑問符(?)およびアスタリスク(*)というワイルドカード文字を使用できるようになります。 詳細については、ワイルドカード文字を参照してください。 |
再帰的なディレクトリの読み取り2 | 指定されたフォルダとそのサブフォルダおよびファイルから、フラットファイル、Avroファイル、JSONファイル、ORCファイル、またはParquetファイルを再帰的に読み取るかどうかを指定します。ディレクトリソースタイプを選択する場合に適用されます。 詳細については、ディレクトリからのファイルの再帰読み取りを参照してください。 |
Encryption Type(暗号化タイプ) | データの復号化に使用する方法。 以下のいずれかの暗号化タイプを選択できます。
デフォルトは[なし]です。 注: クライアントサイド暗号化、サーバーサイド暗号化、およびKMS暗号化タイプを使用したサーバーサイド暗号化は選択できません。 |
ステージングディレクトリ1 | ローカルステージングディレクトリのパス。 ユーザーがディレクトリに対する書き込み権を持っていることを確認します。さらに、ファイル全体をステージングするのに十分な領域があることを確認します。デフォルトのステージングディレクトリは、Secure Agentをホストするマシンの/tempディレクトリです。 ディレクトリパスを指定すると、Secure Agentは、次の形式で指定したパーティションの数に応じてフォルダを作成します。 InfaS3Staging<00/11><timestamp>_<partition number>。ここで、00は読み取り操作を表し、11は書き込み操作を表します。 例えば、InfaS3Staging000703115851268912800_0のようになります。 新しいディレクトリに一時ファイルが作成されます。 ステージングディレクトリのソースプロパティは、Avro、ORC、Parquet、およびDeltaファイルには適用されません。 |
Hadoopパフォーマンスチューニングオプション | このプロパティは、Amazon S3 V2コネクタには適用されません。 |
圧縮形式 | Amazon S3からデータを読み取るときにデータを圧縮解除します。 次の形式でのデータ解凍を選択することができます。
デフォルトは[なし]です。 マッピングでBzip2形式のJSONファイルからデータを読み取る場合に、詳細モードのマッピングのデータを解凍できます。 注: このプロパティにLzoのオプションが表示されていても、Amazon S3 V2コネクタはこの圧縮形式をサポートしません。 詳細については、Amazon S3 V2のソースとターゲットでのデータ圧縮を参照してください。 |
ダウンロードパートサイズ1 | このプロパティは、フラットファイルにのみ適用されます。 Amazon S3オブジェクトのダウンロードパートサイズをバイト単位で指定します。 デフォルトは5 MBです。フラット形式タイプのファイルを読み取るマッピングを実行する場合は、このプロパティを使用します。 |
複数ダウンロードしきい値1 | このプロパティは、フラットファイルにのみ適用されます。 Amazon S3オブジェクトを複数のパートに分けてダウンロードするための最小しきい値サイズ。 オブジェクトを複数のパートで並行してダウンロードするには、Amazon S3オブジェクトのファイルサイズが、このプロパティで指定した値よりも大きいことを確認してください。デフォルトは10MBです。 |
一時的な資格情報の期間 | IAMユーザーが動的に生成された一時的な資格情報を使用してAWSリソースにアクセスできる期間。期間を秒単位で入力します。 デフォルトは900秒です。 900秒より大きい値を設定する必要がある場合は、AWSコンソールで期間を最大12時間まで設定できます。設定後に、同じ期間をこのプロパティに入力してください。 |
トレースレベル | このプロパティは、Amazon S3 V2コネクタには適用されません。 |
1詳細モードのマッピングには適用されません。 2詳細モードのマッピングにのみ適用されます。 | |
Property | Description |
|---|---|
Connection | Name of the Amazon S3 V2 target connection. Select a target connection or click New Parameter to define a new parameter for the target connection. If you want to overwrite the parameter at runtime, select the Allow parameter to be overridden at run time option when you create a parameter. When the task runs, the agent uses the parameters from the file that you specify in the task advanced session properties. |
Target Type | Target type. Select one of the following types:
|
Object | Name of the target object. You can select an existing object or create an object at runtime. When you create an object at runtime, enter a name and the path for the target object. |
Parameter | Select an existing parameter for the source object or click New Parameter to define a new parameter for the target object. The Parameter property appears only if you select Parameter as the target type. If you want to overwrite the parameter at runtime, select the Allow parameter to be overridden at run time option when you create a parameter. When the task runs, the agent uses the parameters from the file that you specify in the task advanced session properties. |
Create Target | Creates a target. Enter a name and path for the target object. You can use parameters defined in a parameter file in the target name. For more information, see ターゲットの作成に関するルールとガイドライン. |
Format | Specifies the file format that the Amazon S3 V2 Connector uses to write data to Amazon S3. You can select the following file format types:
When you write binary data to an Amazon S3 V2 target created at run time, ensure that the incoming field that contains the binary data is named data. If the field name differs, use field rules or an Expression transformation to change the field name to data. Default is None. For more information about format options, see ファイル形式オプション. |
Operation | Type of the target operation. You can perform only insert operation on an Amazon S3 V2 target. |
1Doesn't apply to mappings in advanced mode. 2Applies only to mappings in advanced mode. | |
Property | Description |
|---|---|
Overwrite File(s) If Exists | Overwrites an existing target file. Default is true. For more information about overwriting the existing files, see 既存のファイルの上書き. |
Folder Path | Bucket name or folder path where you want to write the Amazon S3 target file. The path that you enter here overrides the path specified for the target configured to create at runtime. If applicable, include the folder name that contains the target file in the <bucket_name>/<folder_name> format. If you do not provide the bucket name and specify the folder path starting with a slash (/) in the /<folder_name> format, the folder path appends with the folder path that you specified in the connection properties. For example, if you specify the /<dir2> folder path in this property and <my_bucket1>/<dir1> folder path in the connection property, the folder path appends with the folder path that you specified in the connection properties in <my_bucket1>/<dir1>/<dir2> format. If you specify the <my_bucket1>/<dir1> folder path in the connection property and <my_bucket2>/<dir2> folder path in this property, the Secure Agent writes the file in the <my_bucket2>/<dir2> folder path that you specify in this property. |
File Name | Creates a new file name or overwrites an existing target file name. |
Encryption Type | Method you want to use to encrypt data. Select one of the following encryption types:
Default is None. For more information about the encryption type, see Amazon S3 V2ターゲットでのデータ暗号化. |
Staging Directory1 | The path of the local staging directory. Ensure that you have write permissions to the directory and there is sufficient space to enable staging of the entire file. Default staging directory is the /temp directory on the Secure Agent machine. When you specify the directory path, the Secure Agent create folders depending on the number of partitions that you specify in the following format: InfaS3Staging<00/11><timestamp>_<partition number> where, 00 represents read operation and 11 represents write operation. For example, InfaS3Staging000703115851268912800_0 The temporary files are created within the new directory. The staging directory target property does not apply to Avro, ORC, Parquet, and Delta files. |
File Merge | This property is not applicable for Amazon S3 V2 Connector. |
Hadoop Performance Tuning Options | This property is not applicable for Amazon S3 V2 Connector. |
Compression Format | Compresses data when you write data to Amazon S3. You can compress the data in the following formats:
Default is None. Note: Amazon S3 V2 Connector does not support the Lzo compression format even though the option appears in this property. For more information about the compression format, see Amazon S3 V2のソースとターゲットでのデータ圧縮. |
Object Tags | The key value pairs to add single or multiple tags to the objects stored on the Amazon S3 bucket. You can either enter the key value pairs or specify the file path that contains the key value pairs. Use this property when you run a mapping to write a file of flat format type. For more information about the object tags, see オブジェクトタグ. This property applies only to flat files. |
TransferManager Thread Pool Size1 | The number of threads to write data in parallel. Default is 10. Use this property when you run a mapping to write a file of flat format type. Amazon S3 V2 Connector uses the AWS TransferManager API to upload a large object in multiple parts to Amazon S3. When the file size is more than 5 MB, you can configure multipart upload to upload object in multiple parts in parallel. If you set the value of TransferManager Thread Pool Size to greater than 50, the value reverts to 50. This property applies only to flat files. |
Part Size1 | Uploads the part size of an Amazon S3 object in bytes. Default is 5 MB. Use this property when you run a mapping to write a file of flat format type. This property applies only to flat files. |
Merge Partition Files1 | Determines whether the Secure Agent must merge the number of partition files as a single file or maintain separate files based on the number of partitions specified to write data to the Amazon S3 V2 targets. This property applies only to flat files. |
Temporary Credential Duration | The time duration during which an IAM user can use the dynamically generated temporarily credentials to access the AWS resource. Enter the time duration in seconds. Default is 900 seconds. If you require more than 900 seconds, you can set the time duration maximum up to 12 hours in the AWS console and then enter the same time duration in this property. |
Checksum Algorithm1 | Specifies the checksum algorithm used when you write to Amazon S3. You can select one of the following options:
The Default option applies the CRC32 checksum algorithm. For complex files, if you want to write to multiple target objects in a mapping and use a different checksum algorithm for each object, store each object in a separate Amazon S3 bucket. If all target objects are stored in the same Amazon S3 bucket, create a separate mapping for each target object to use a different checksum algorithm. |
Forward Rejected Rows | This property is not applicable for Amazon S3 V2 Connector. |
1Doesn't apply to mappings in advanced mode. 2Applies only to mappings in advanced mode. | |
プロパティ | 説明 |
|---|---|
スキーマソース | ソースファイルまたはターゲットファイルのこのスキーマ。以下のいずれかのオプションを選択して、スキーマを指定することができます。
|
スキーマファイル | スキーマ定義ファイルをアップロードします。実行時にターゲットを作成するときに、スキーマファイルをアップロードすることはできません。 |
プロパティ | 説明 |
|---|---|
データファイルから読み取る | Amazon S3のファイルからスキーマをインポートします。 [データファイルから読み取る]を選択してJSON2ファイル形式を使用する場合は、次のいずれかのオプションを選択できます。
|
スキーマファイルからインポートする | ローカルマシンのスキーマ定義ファイルからスキーマをインポートします。 [スキーマファイルからインポートする]を選択した場合、[スキーマファイル]を選択してスキーマファイルをアップロードできます。 Amazon S3にデータを書き込む際に[ターゲットの作成]オプションを選択した場合は、スキーマファイルをアップロードすることはできません。 |
フラットファイルタイプ | フラットファイルのタイプ。 次のいずれかのオプションを選択します。
[固定長ファイル形式]オプションのファイル形式を選択する必要があります。 固定長ファイル形式がない場合、[新規] > [コンポーネント] > [固定長ファイル形式]をクリックして作成します。 |
区切り文字 | データのカラムを区切るために使用される文字。カンマ、タブ、コロン、セミコロンなどのパラメータを設定できます。タブを区切り文字として設定するには、任意のテキストエディタでタブ文字を入力する必要があります。その後、そのタブ文字をコピーして[区切り文字]フィールドに貼り付けます。 |
エスケープ文字 | 引用符で囲まれていない文字列におけるカラム区切り文字の直前の文字、または引用符で囲まれた文字列内における引用符の直前の文字。 文字または\<10進数値>を指定できます。\<10進数値>を指定すると、エージェントは、10進値のASCII文字をエスケープ文字と見なします。 例えば、\64を指定すると、エージェントはASCII文字@と見なします。 エスケープ文字を無視するには、\0と指定します。 |
修飾子 | データの境界を定義する引用符。 修飾子は、一重引用符または二重引用符で設定できます。 |
修飾子モード | ターゲットオブジェクトの修飾子の動作を指定します。 以下のいずれかのオプションを選択することができます。
デフォルトモードは最小です。 |
コードページ | エージェントがデータの読み取りまたは書き込みに使用する必要があるコードページを選択します。 Amazon S3 V2コネクタは、以下のコードページをサポートしています。
|
修飾子が設定されているときにエスケープ文字を無効にする | 修飾子の値がすでに設定されている際にエスケープ文字を無効にする場合にオンにします。 |
ヘッダー行番号 | Amazon S3からのデータの読み取り時にヘッダーとして使用する行番号を指定します。ヘッダーがないファイルを読み取ることもできます。 ヘッダーのないファイルからデータを読み取るには、[ヘッダー行番号]フィールドの値を0に指定します。ヘッダーのあるファイルからデータを読み取るには、[ヘッダー行番号]フィールドの値を1以上の値に設定します。 このプロパティは、ソースデータをプレビューするとき、およびマッピングの実行時に適用されます。 デフォルトは1です。 |
最初のデータ行1 | Secure Agentがデータの読み取りを開始する行番号を指定します。1以上の値を入力する必要があります。 ヘッダーからデータを読み取るには、[ヘッダー行番号]と[最初のデータ行]のフィールドに同じ値を指定する必要があります。デフォルトは1です。 このプロパティは、実行時およびファイルを読み取るためのデータプレビュー時に適用されます。このプロパティは、ファイルを書き込むためのデータプレビュー時に適用されます。 |
ターゲットヘッダー | フラットファイルでヘッダーを含むターゲットとヘッダーを含まないターゲットのどちらにデータを書き込むかを指定します。[ヘッダーあり]オプションまたは[ヘッダーなし]オプションを選択できます。 このプロパティは、Amazon S3ソースからデータを読み取るときには適用されません。 |
分散カラム1 | 実行時に複数ターゲットファイルの作成に使用するカラムの名前を指定します。 このプロパティは、Amazon S3ソースからデータを読み取るときには適用されません。分散カラムの詳細については、分散カラムを参照してください。 |
プレビューする最大行数 | Amazon S3 V2コネクタには適用されません。 |
行区切り文字 | データの列を区切るために使用する文字。値には、\r、\n、\r\nを設定できます。 |
1詳細モードのマッピングには適用されません。 2詳細モードのマッピングにのみ適用されます。 | |
プロパティ | 説明 |
|---|---|
サンプリングするデータ要素1 | メタデータを取り込むための最良の一致を見つけるために読み取る行数を指定します。 |
データの処理に使用可能なメモリ1 | パーサーがJSONサンプルスキーマを読み取って処理するために使用するメモリ。 デフォルト値は2 MBです。 ファイルサイズが2 MBを超える場合、エラーが発生する可能性があります。読み取るファイルサイズに値を設定します。 |
複数行のJSONファイルの読み取り | 該当なし。 |
1詳細モードのマッピングにのみ適用されます。 | |
![次の図は、実行時に既存のターゲットオブジェクトを選択することや、新しいターゲットオブジェクトを作成することができる[ターゲットオブジェクト]ボックスを示しています。 次の図は、実行時に既存のターゲットオブジェクトを選択することや、新しいターゲットオブジェクトを作成することができる[ターゲットオブジェクト]ボックスを示しています。](../cloud-data-integration-amazon-s3-v2-connector/images/GUID-9A0B779C-1244-442A-8D44-8E00F8D9F18F-low.png)
特殊文字 | 説明 |
|---|---|
%d | 2桁の10進数で表される日(01~31)。 |
%m | 2桁の10進数で表される月(01~12)。 |
%y | 2桁の10進数で表される、世紀を含まない年(00~99)。 |
%Y | 世紀を含む年(2015など)。 |
%T | 24時間表記の時刻(%H:%:M:%Sに相当)。 |
%H | 24時間表記の時間(00~24)。 |
%l | 12時間表記の時間(01~12)。 |
%M | 10進数で表される分(00~59)。 |
%S | 10進数で表される秒(00~60)。 |
%p | AMまたはPM。 |
![Mapping Designerでは、ヘッダーに[詳細に切り替え]ボタンが表示されます。 Mapping Designerでは、ヘッダーに[詳細に切り替え]ボタンが表示されます。](../cloud-data-integration-amazon-s3-v2-connector/images/GUID-0322EC4B-9CA5-4A68-A5A9-675688CB4EA7-low.png)