Table of Contents

Search

  1. Preface
  2. Introduction to Big Data Streaming
  3. Big Data Streaming Administration
  4. Sources in a Streaming Mapping
  5. Targets in a Streaming Mapping
  6. Streaming Mappings
  7. Window Transformation
  8. Appendix A: Connections
  9. Appendix B: Sample Files

Creating an Amazon Kinesis Connection using Informatica Command Line Program

Creating an Amazon Kinesis Connection using Informatica Command Line Program

You can use the
infacmd
command line program to create an Amazon Kinesis connection. Access the command from the
<Informatica installation directory>/clients/DeveloperClient/infacmd
directory.
On UNIX, run the following command:
sh infacmd.sh createConnection
On Windows, run the following command:
infacmd.bat createConnection
Enter connection options in the following format:
... -o option_name=value option_name='value' ...
For example, to create an Amazon Kinesis connection to Kinesis Streams on UNIX using cross-account IAM role, run the following command:
infacmd createConnection -dn <domain name> -un <domain user> -pd <domain password> -cn <connection name> -cid <connection id> -ct AMAZONKINESIS -o "AWS_ACCESS_KEY_ID=<access key id> AWS_SECRET_ACCESS_KEY=<secret access key> ConnectionTimeOut=10000 Region=<RegionName> ServiceType='Kinesis Streams' RoleArn=<ARN of IAM role> ExternalID=<External ID> AuthenticationType='Cross-account IAM Role'"
To create an Amazon Kinesis connection to Kinesis Firehose on UNIX using AWS credential profile, run the following command:
infacmd createConnection -dn <domain name> -un <domain user> -pd <domain password> -cn <connection name> -cid <connection id> -ct AMAZONKINESIS -o "AWS_ACCESS_KEY_ID=<access key id> AWS_SECRET_ACCESS_KEY=<secret access key> ConnectionTimeOut=10000 Region=<RegionName> ServiceType='Kinesis Firehose' Profilename=<AWS credential profile> AuthenticationType='AWS Credential Profile'"
For more information about the CreateConnection command, see the
Informatica Command Reference Guide
.