AWS Kinesis Streams (Tealium-Provided Credentials) Connector Setup Guide
This article describes how to set up the AWS Kinesis Streams (Tealium-Provided Credentials) connector.
Connector Actions
Action Name | AudienceStream | EventStream |
---|---|---|
Send Event Data to Kinesis Stream | ✗ | ✓ |
Send Visitor Data to Kinesis Stream | ✓ | ✗ |
Send Customized Data to Kinesis Stream (Advanced) | ✓ | ✓ |
Send Batched Event Data to Kinesis Stream | ✗ | ✓ |
Send Batched Visitor Data to Kinesis Stream | ✓ | ✗ |
Send Batched Customized Data to Kinesis Stream (Advanced) | ✓ | ✓ |
Add Tealium role to AWS account
Before you configure the connector, you must create a role for the Tealium account ID and set it as a trusted entity:
- In the Identity and Access Management (IAM) console, locate the Amazon Resource Name (ARN) for the Kinesis stream in the Details tab.
- Navigate to Policies > Create Policy. If this is the first policy you have created, click Get Started and Create Policy.
- Enter the ARN for the Kinesis Stream.
- Click {} JSON.
- Enter the following policy, replacing
arn:aws:kinesis:us-east-1:123456789:stream/example
with the ARN from Step 1.
{
"Version": "2023-06-01",
"Statement": [
{
"Effect": "Allow",
"Action": [
"kinesis:PutRecord",
"kinesis:PutRecords"
],
"Resource": "arn:aws:kinesis:us-east-1:123456789:stream/example"
}
]
}
- Click Next Step.
- Under Policy Name, enter TealiumKinesis.
- Click Create Policy.
- Navigate to Roles > Create Role.
- Under Trusted entity type, select AWS Account.
- Select Another AWS account.
- Under Account ID, enter
757913464184
. - Click Next: Permissions.
- Select the TealiumKinesis policy.
- Click Next: Review.
- For the Name, enter TealiumUser.
- Click Create Role.
Kinesis will generate an ARN for the role similar to the following:
arn:aws:kinesis:us-east-1:123456789:role/example
For more information, see Controlling Access to Amazon Kinesis Data Streams Resources Using IAM and Create an IAM Policy and User.
Configure Settings
Navigate to the Connector Marketplace and add a new connector. For general instructions on how to add a connector, see About Connectors.
After adding the connector, configure the following settings:
- Region
Required: Select a region. - Assume Role: ARN
Optional: Provide Amazon Resource Name (ARN) of role to assume. For example:arn:aws:iam::222222222222:role/myrole
See: Switching to an IAM Role. - Assume Role: Session Name
Required: Provide identifier for assumed role session. Length Constraints: Minimum length of 2, Maximum length of 64. - Assume Role: External ID
Optional: {rovide external identifier. See: How to Use an External ID.
After you configure the connector, click Test Connection to confirm that the connector can connect to Amazon.
Actions
Enter a name for the action and select the action type from the drop-down menu.
The following section describes how to set up parameters and options for each action.
Action Settings - Send Event Data to Kinesis Stream
Parameters
Parameter | Description |
---|---|
Stream Name | Select the stream to send data to. If your IAM policy does not grant kinesis:ListStreams permission, you will need to manually enter a custom value. |
Partition Key | (Required) A partition key groups data by shard within a stream. |
Sequence Number For Ordering | The data record’s sequence number within the Kinesis data stream’s shard. |
Explicit Hash Key | The key used to hash the Partition Key. |
Print Attribute Names | If attribute names are updated, the names in the payload will reflect the update. |
Action Settings - Send Visitor Data to Kinesis Stream
Parameters
Parameter | Description |
---|---|
Stream Name | Select the stream to send data to. If your IAM policy does not grant kinesis:ListStreams permission, you will need to manually enter a custom value. |
Partition Key | (Required) A partition key groups data by shard within a stream. |
Sequence Number For Ordering | The data record’s sequence number within the Kinesis data stream’s shard. |
Explicit Hash Key | The key used to hash the Partition Key. |
Include Current Visit Data | A true /false value that indicates whether to include the current visit data in the payload. |
Print Attribute Names | If attribute names are updated, the names in the payload will reflect the update. |
Action Settings - Send Customized Data to Kinesis Stream (Advanced)
Parameters
Parameter | Description |
---|---|
Stream Name | Select the stream to send data to. If your IAM policy does not grant kinesis:ListStreams permission, you will need to manually enter a custom value. |
Partition Key | (Required) A partition key groups data by shard within a stream. |
Sequence Number For Ordering | The data record’s sequence number within the Kinesis data stream’s shard. |
Explicit Hash Key | The key used to hash the Partition Key. |
Custom Message Definition | A custom message to include in the log file. |
Template Variables | Optional.
|
Templates | Optional.
|
Action Settings - Send Batched Event Data to Kinesis Stream
Batch Limits
This action uses batched requests to support high-volume data transfers to the vendor. For more information, see Batched Actions. Requests are queued until one of the following thresholds is met or the profile is published:
- Max number of requests: 500
- Max time since oldest request: 10 minutes
- Max size of requests: 5 MB
Parameters
Parameter | Description |
---|---|
Stream Name | Select the stream to send data to. If your IAM policy does not grant kinesis:ListStreams permission, you will need to manually enter a custom value. |
Partition Key | (Required) A partition key groups data by shard within a stream. |
Explicit Hash Key | The key used to hash the Partition Key. |
Print Attribute Names | If attribute names are updated, the names in the payload will reflect the update. |
Action Settings - Send Batched Visitor Data to Kinesis Stream
Batch Limits
This action uses batched requests to support high-volume data transfers to the vendor. For more information, see Batched Actions. Requests are queued until one of the following thresholds is met or the profile is published:
- Max number of requests: 500
- Max time since oldest request: 10 minutes
- Max size of requests: 5 MB
Parameters
Parameter | Description |
---|---|
Stream Name | Select the stream to send data to. If your IAM policy does not grant kinesis:ListStreams permission, you will need to manually enter a custom value. |
Partition Key | (Required) A partition key groups data by shard within a stream. |
Explicit Hash Key | The key used to hash the Partition Key. |
Include Current Visit Data | A true /false value that indicates whether to include the current visit data in the payload. |
Print Attribute Names | If attribute names are updated, the names in the payload will reflect the update. |
Action Settings - Send Batched Customized Data to Kinesis Stream (Advanced)
Batch Limits
This action uses batched requests to support high-volume data transfers to the vendor. For more information, see Batched Actions. Requests are queued until one of the following thresholds is met or the profile is published:
- Max number of requests: 500
- Max time since oldest request: 10 minutes
- Max size of requests: 5 MB
Parameters
Parameter | Description |
---|---|
Stream Name | Select the stream to send data to. If your IAM policy does not grant kinesis:ListStreams permission, you will need to manually enter a custom value. |
Partition Key | (Required) A partition key groups data by shard within a stream. |
Explicit Hash Key | The key used to hash the Partition Key. |
Custom Message Definition | A custom message to include in the log file. |
Template Variables | Optional.
|
Templates | Optional.
|
This page was last updated: April 20, 2023