AWS CloudFormation
User Guide (API Version 2010-05-15)

AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource

The AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource resource describes a reference data source for a SQL-based Amazon Kinesis Data Analytics application.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource", "Properties" : { "ApplicationName" : String, "ReferenceDataSource" : ReferenceDataSource } }

YAML

Type: "AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource" Properties: ApplicationName: String ReferenceDataSource: ReferenceDataSource

Properties

ApplicationName

The application name.

Required: Yes

Type: String

Update requires: Replacement

ReferenceDataSource

For an SQL-based Amazon Kinesis Data Analytics application, describes the reference data source.

Required: Yes

Type: ReferenceDataSource

Update requires: No interruption

Examples

ApplicationReferenceDataSource

The following example creates an ApplicationReferenceDataSource resource.

YAML

ApplicationReferenceDataSource: Type: AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource Properties: ApplicationName: !Ref BasicApplication ReferenceDataSource: TableName: "exampleTable" ReferenceSchema: RecordColumns: - Name: "example" SqlType: "VARCHAR(16)" Mapping: "$.example" RecordFormat: RecordFormatType: "JSON" MappingParameters: JSONMappingParameters: RecordRowPath: "$" S3ReferenceDataSource: BucketARN: !GetAtt S3Bucket.Arn FileKey: 'fakeKey'

On this page: