Double-click the cAWSConnection component to display its
Basic settings view in the Component tab.
In the Access Key and Secret
Key fields, enter the authentication credentials of your AWS
account. For how to get your Access Key and Access Secret, see Access keys (access key ID
and secret access key).
In the Region area, select the Pick in
list option and select your region in the list.
Double-click the cAWSKinesis
component to open its Basic settings view in the
Component tab.
In the Connection list, select the
cAWSConnection component that you have just
configured to connect to Amazon Kinesis Service.
In the Stream Name field, enter
"Kinesis_data_stream_4_dev" in this use case.
In the Iterator Type list, select
LATEST to get the most recent data in the shard.
Double-click the cProcessor
component to open its Basic settings view in the
Component tab.
In the Code area, enter the
following code to display the messages received in the execution console: