1. Registry
  2. Packages
  3. AWS
  4. API Docs
  5. kinesis
  6. AnalyticsApplication
Viewing docs for AWS v7.52.1
published on Wednesday, Oct 28, 2026 by Pulumi
aws logo aws logo
Viewing docs for AWS v7.52.1
published on Wednesday, Oct 28, 2026 by Pulumi

    Provides a Kinesis Analytics Application resource. Kinesis Analytics is a managed service that allows processing and analyzing streaming data using standard SQL.

    For more details, see the Amazon Kinesis Analytics Documentation.

    WARNING: This resource is deprecated and will be removed in a future version. Effective January 27, 2026, AWS will no longer support Amazon Kinesis Data Analytics for SQL. Use the aws.kinesisanalyticsv2.Application resource instead to manage Amazon Kinesis Data Analytics for Apache Flink applications. AWS provides guidance for migrating from Amazon Kinesis Data Analytics for SQL Applications to Amazon Managed Service for Apache Flink Studio including examples.

    Note: To manage Amazon Kinesis Data Analytics for Apache Flink applications, use the aws.kinesisanalyticsv2.Application resource.

    Example Usage

    Kinesis Stream Input

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const testStream = new aws.kinesis.Stream("test_stream", {
        streamModeDetails: {
            streamMode: "ON_DEMAND",
        },
        name: "pulumi-kinesis-test",
    });
    const testApplication = new aws.kinesis.AnalyticsApplication("test_application", {
        inputs: {
            kinesisStream: {
                resourceArn: testStream.arn,
                roleArn: test.arn,
            },
            parallelism: {
                count: 1,
            },
            schema: {
                recordFormat: {
                    mappingParameters: {
                        json: {
                            recordRowPath: "$",
                        },
                    },
                },
                recordColumns: [{
                    mapping: "$.test",
                    name: "test",
                    sqlType: "VARCHAR(8)",
                }],
                recordEncoding: "UTF-8",
            },
            namePrefix: "test_prefix",
        },
        name: "kinesis-analytics-application-test",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    test_stream = aws.kinesis.Stream("test_stream",
        stream_mode_details={
            "stream_mode": "ON_DEMAND",
        },
        name="pulumi-kinesis-test")
    test_application = aws.kinesis.AnalyticsApplication("test_application",
        inputs={
            "kinesis_stream": {
                "resource_arn": test_stream.arn,
                "role_arn": test["arn"],
            },
            "parallelism": {
                "count": 1,
            },
            "schema": {
                "record_format": {
                    "mapping_parameters": {
                        "json": {
                            "record_row_path": "$",
                        },
                    },
                },
                "record_columns": [{
                    "mapping": "$.test",
                    "name": "test",
                    "sql_type": "VARCHAR(8)",
                }],
                "record_encoding": "UTF-8",
            },
            "name_prefix": "test_prefix",
        },
        name="kinesis-analytics-application-test")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/kinesis"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		testStream, err := kinesis.NewStream(ctx, "test_stream", &kinesis.StreamArgs{
    			StreamModeDetails: &kinesis.StreamStreamModeDetailsArgs{
    				StreamMode: pulumi.String("ON_DEMAND"),
    			},
    			Name: pulumi.String("pulumi-kinesis-test"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = kinesis.NewAnalyticsApplication(ctx, "test_application", &kinesis.AnalyticsApplicationArgs{
    			Inputs: &kinesis.AnalyticsApplicationInputsArgs{
    				KinesisStream: &kinesis.AnalyticsApplicationInputsKinesisStreamArgs{
    					ResourceArn: testStream.Arn,
    					RoleArn:     pulumi.Any(test.Arn),
    				},
    				Parallelism: &kinesis.AnalyticsApplicationInputsParallelismArgs{
    					Count: pulumi.Int(1),
    				},
    				Schema: &kinesis.AnalyticsApplicationInputsSchemaArgs{
    					RecordFormat: &kinesis.AnalyticsApplicationInputsSchemaRecordFormatArgs{
    						MappingParameters: &kinesis.AnalyticsApplicationInputsSchemaRecordFormatMappingParametersArgs{
    							Json: &kinesis.AnalyticsApplicationInputsSchemaRecordFormatMappingParametersJsonArgs{
    								RecordRowPath: pulumi.String("$"),
    							},
    						},
    					},
    					RecordColumns: kinesis.AnalyticsApplicationInputsSchemaRecordColumnArray{
    						&kinesis.AnalyticsApplicationInputsSchemaRecordColumnArgs{
    							Mapping: pulumi.String("$.test"),
    							Name:    pulumi.String("test"),
    							SqlType: pulumi.String("VARCHAR(8)"),
    						},
    					},
    					RecordEncoding: pulumi.String("UTF-8"),
    				},
    				NamePrefix: pulumi.String("test_prefix"),
    			},
    			Name: pulumi.String("kinesis-analytics-application-test"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var testStream = new Aws.Kinesis.Stream("test_stream", new()
        {
            StreamModeDetails = new Aws.Kinesis.Inputs.StreamStreamModeDetailsArgs
            {
                StreamMode = "ON_DEMAND",
            },
            Name = "pulumi-kinesis-test",
        });
    
        var testApplication = new Aws.Kinesis.AnalyticsApplication("test_application", new()
        {
            Inputs = new Aws.Kinesis.Inputs.AnalyticsApplicationInputsArgs
            {
                KinesisStream = new Aws.Kinesis.Inputs.AnalyticsApplicationInputsKinesisStreamArgs
                {
                    ResourceArn = testStream.Arn,
                    RoleArn = test.Arn,
                },
                Parallelism = new Aws.Kinesis.Inputs.AnalyticsApplicationInputsParallelismArgs
                {
                    Count = 1,
                },
                Schema = new Aws.Kinesis.Inputs.AnalyticsApplicationInputsSchemaArgs
                {
                    RecordFormat = new Aws.Kinesis.Inputs.AnalyticsApplicationInputsSchemaRecordFormatArgs
                    {
                        MappingParameters = new Aws.Kinesis.Inputs.AnalyticsApplicationInputsSchemaRecordFormatMappingParametersArgs
                        {
                            Json = new Aws.Kinesis.Inputs.AnalyticsApplicationInputsSchemaRecordFormatMappingParametersJsonArgs
                            {
                                RecordRowPath = "$",
                            },
                        },
                    },
                    RecordColumns = new[]
                    {
                        new Aws.Kinesis.Inputs.AnalyticsApplicationInputsSchemaRecordColumnArgs
                        {
                            Mapping = "$.test",
                            Name = "test",
                            SqlType = "VARCHAR(8)",
                        },
                    },
                    RecordEncoding = "UTF-8",
                },
                NamePrefix = "test_prefix",
            },
            Name = "kinesis-analytics-application-test",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.kinesis.Stream;
    import com.pulumi.aws.kinesis.StreamArgs;
    import com.pulumi.aws.kinesis.inputs.StreamStreamModeDetailsArgs;
    import com.pulumi.aws.kinesis.AnalyticsApplication;
    import com.pulumi.aws.kinesis.AnalyticsApplicationArgs;
    import com.pulumi.aws.kinesis.inputs.AnalyticsApplicationInputsArgs;
    import com.pulumi.aws.kinesis.inputs.AnalyticsApplicationInputsKinesisStreamArgs;
    import com.pulumi.aws.kinesis.inputs.AnalyticsApplicationInputsParallelismArgs;
    import com.pulumi.aws.kinesis.inputs.AnalyticsApplicationInputsSchemaArgs;
    import com.pulumi.aws.kinesis.inputs.AnalyticsApplicationInputsSchemaRecordFormatArgs;
    import com.pulumi.aws.kinesis.inputs.AnalyticsApplicationInputsSchemaRecordFormatMappingParametersArgs;
    import com.pulumi.aws.kinesis.inputs.AnalyticsApplicationInputsSchemaRecordFormatMappingParametersJsonArgs;
    import com.pulumi.aws.kinesis.inputs.AnalyticsApplicationInputsSchemaRecordColumnArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var testStream = new Stream("testStream", StreamArgs.builder()
                .streamModeDetails(StreamStreamModeDetailsArgs.builder()
                    .streamMode("ON_DEMAND")
                    .build())
                .name("pulumi-kinesis-test")
                .build());
    
            var testApplication = new AnalyticsApplication("testApplication", AnalyticsApplicationArgs.builder()
                .inputs(AnalyticsApplicationInputsArgs.builder()
                    .kinesisStream(AnalyticsApplicationInputsKinesisStreamArgs.builder()
                        .resourceArn(testStream.arn())
                        .roleArn(test.get("arn"))
                        .build())
                    .parallelism(AnalyticsApplicationInputsParallelismArgs.builder()
                        .count(1)
                        .build())
                    .schema(AnalyticsApplicationInputsSchemaArgs.builder()
                        .recordFormat(AnalyticsApplicationInputsSchemaRecordFormatArgs.builder()
                            .mappingParameters(AnalyticsApplicationInputsSchemaRecordFormatMappingParametersArgs.builder()
                                .json(AnalyticsApplicationInputsSchemaRecordFormatMappingParametersJsonArgs.builder()
                                    .recordRowPath("$")
                                    .build())
                                .build())
                            .build())
                        .recordColumns(AnalyticsApplicationInputsSchemaRecordColumnArgs.builder()
                            .mapping("$.test")
                            .name("test")
                            .sqlType("VARCHAR(8)")
                            .build())
                        .recordEncoding("UTF-8")
                        .build())
                    .namePrefix("test_prefix")
                    .build())
                .name("kinesis-analytics-application-test")
                .build());
    
        }
    }
    
    resources:
      testStream:
        type: aws:kinesis:Stream
        name: test_stream
        properties:
          streamModeDetails:
            streamMode: ON_DEMAND
          name: pulumi-kinesis-test
      testApplication:
        type: aws:kinesis:AnalyticsApplication
        name: test_application
        properties:
          inputs:
            kinesisStream:
              resourceArn: ${testStream.arn}
              roleArn: ${test.arn}
            parallelism:
              count: 1
            schema:
              recordFormat:
                mappingParameters:
                  json:
                    recordRowPath: $
              recordColumns:
                - mapping: $.test
                  name: test
                  sqlType: VARCHAR(8)
              recordEncoding: UTF-8
            namePrefix: test_prefix
          name: kinesis-analytics-application-test
    
    terraform {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_kinesis_stream" "test_stream" {
      lifecycle {
        create_before_destroy = true
      }
      stream_mode_details {
        stream_mode = "ON_DEMAND"
      }
      name = "pulumi-kinesis-test"
    }
    resource "aws_kinesis_analytics_application" "test_application" {
      lifecycle {
        create_before_destroy = true
      }
      inputs {
        kinesis_stream {
          resource_arn = aws_kinesis_stream.test_stream.arn
          role_arn     = test.arn
        }
        parallelism {
          count = 1
        }
        schema {
          record_format {
            mapping_parameters {
              json {
                record_row_path = "$"
              }
            }
          }
          record_columns {
            mapping  = "$.test"
            name     = "test"
            sql_type = "VARCHAR(8)"
          }
          record_encoding = "UTF-8"
        }
        name_prefix = "test_prefix"
      }
      name = "kinesis-analytics-application-test"
    }
    

    Starting An Application

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.cloudwatch.LogGroup("example", {name: "analytics"});
    const exampleLogStream = new aws.cloudwatch.LogStream("example", {
        name: "example-kinesis-application",
        logGroupName: example.name,
    });
    const exampleStream = new aws.kinesis.Stream("example", {
        streamModeDetails: {
            streamMode: "ON_DEMAND",
        },
        name: "example-kinesis-stream",
    });
    const exampleFirehoseDeliveryStream = new aws.kinesis.FirehoseDeliveryStream("example", {
        extendedS3Configuration: {
            bucketArn: exampleAwsS3Bucket.arn,
            roleArn: exampleAwsIamRole.arn,
        },
        name: "example-kinesis-delivery-stream",
        destination: "extended_s3",
    });
    const test = new aws.kinesis.AnalyticsApplication("test", {
        cloudwatchLoggingOptions: {
            logStreamArn: exampleLogStream.arn,
            roleArn: exampleAwsIamRole.arn,
        },
        inputs: {
            schema: {
                recordFormat: {
                    mappingParameters: {
                        csv: {
                            recordColumnDelimiter: ",",
                            recordRowDelimiter: "|",
                        },
                    },
                },
                recordColumns: [{
                    name: "COLUMN_1",
                    sqlType: "INTEGER",
                }],
            },
            kinesisStream: {
                resourceArn: exampleStream.arn,
                roleArn: exampleAwsIamRole.arn,
            },
            startingPositionConfigurations: [{
                startingPosition: "NOW",
            }],
            namePrefix: "example_prefix",
        },
        outputs: [{
            schema: {
                recordFormatType: "CSV",
            },
            kinesisFirehose: {
                resourceArn: exampleFirehoseDeliveryStream.arn,
                roleArn: exampleAwsIamRole.arn,
            },
            name: "OUTPUT_1",
        }],
        name: "example-application",
        startApplication: true,
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.cloudwatch.LogGroup("example", name="analytics")
    example_log_stream = aws.cloudwatch.LogStream("example",
        name="example-kinesis-application",
        log_group_name=example.name)
    example_stream = aws.kinesis.Stream("example",
        stream_mode_details={
            "stream_mode": "ON_DEMAND",
        },
        name="example-kinesis-stream")
    example_firehose_delivery_stream = aws.kinesis.FirehoseDeliveryStream("example",
        extended_s3_configuration={
            "bucket_arn": example_aws_s3_bucket["arn"],
            "role_arn": example_aws_iam_role["arn"],
        },
        name="example-kinesis-delivery-stream",
        destination="extended_s3")
    test = aws.kinesis.AnalyticsApplication("test",
        cloudwatch_logging_options={
            "log_stream_arn": example_log_stream.arn,
            "role_arn": example_aws_iam_role["arn"],
        },
        inputs={
            "schema": {
                "record_format": {
                    "mapping_parameters": {
                        "csv": {
                            "record_column_delimiter": ",",
                            "record_row_delimiter": "|",
                        },
                    },
                },
                "record_columns": [{
                    "name": "COLUMN_1",
                    "sql_type": "INTEGER",
                }],
            },
            "kinesis_stream": {
                "resource_arn": example_stream.arn,
                "role_arn": example_aws_iam_role["arn"],
            },
            "starting_position_configurations": [{
                "starting_position": "NOW",
            }],
            "name_prefix": "example_prefix",
        },
        outputs=[{
            "schema": {
                "record_format_type": "CSV",
            },
            "kinesis_firehose": {
                "resource_arn": example_firehose_delivery_stream.arn,
                "role_arn": example_aws_iam_role["arn"],
            },
            "name": "OUTPUT_1",
        }],
        name="example-application",
        start_application=True)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch"
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/kinesis"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := cloudwatch.NewLogGroup(ctx, "example", &cloudwatch.LogGroupArgs{
    			Name: pulumi.String("analytics"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleLogStream, err := cloudwatch.NewLogStream(ctx, "example", &cloudwatch.LogStreamArgs{
    			Name:         pulumi.String("example-kinesis-application"),
    			LogGroupName: example.Name,
    		})
    		if err != nil {
    			return err
    		}
    		exampleStream, err := kinesis.NewStream(ctx, "example", &kinesis.StreamArgs{
    			StreamModeDetails: &kinesis.StreamStreamModeDetailsArgs{
    				StreamMode: pulumi.String("ON_DEMAND"),
    			},
    			Name: pulumi.String("example-kinesis-stream"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleFirehoseDeliveryStream, err := kinesis.NewFirehoseDeliveryStream(ctx, "example", &kinesis.FirehoseDeliveryStreamArgs{
    			ExtendedS3Configuration: &kinesis.FirehoseDeliveryStreamExtendedS3ConfigurationArgs{
    				BucketArn: pulumi.Any(exampleAwsS3Bucket.Arn),
    				RoleArn:   pulumi.Any(exampleAwsIamRole.Arn),
    			},
    			Name:        pulumi.String("example-kinesis-delivery-stream"),
    			Destination: pulumi.String("extended_s3"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = kinesis.NewAnalyticsApplication(ctx, "test", &kinesis.AnalyticsApplicationArgs{
    			CloudwatchLoggingOptions: &kinesis.AnalyticsApplicationCloudwatchLoggingOptionsArgs{
    				LogStreamArn: exampleLogStream.Arn,
    				RoleArn:      pulumi.Any(exampleAwsIamRole.Arn),
    			},
    			Inputs: &kinesis.AnalyticsApplicationInputsArgs{
    				Schema: &kinesis.AnalyticsApplicationInputsSchemaArgs{
    					RecordFormat: &kinesis.AnalyticsApplicationInputsSchemaRecordFormatArgs{
    						MappingParameters: &kinesis.AnalyticsApplicationInputsSchemaRecordFormatMappingParametersArgs{
    							Csv: &kinesis.AnalyticsApplicationInputsSchemaRecordFormatMappingParametersCsvArgs{
    								RecordColumnDelimiter: pulumi.String(","),
    								RecordRowDelimiter:    pulumi.String("|"),
    							},
    						},
    					},
    					RecordColumns: kinesis.AnalyticsApplicationInputsSchemaRecordColumnArray{
    						&kinesis.AnalyticsApplicationInputsSchemaRecordColumnArgs{
    							Name:    pulumi.String("COLUMN_1"),
    							SqlType: pulumi.String("INTEGER"),
    						},
    					},
    				},
    				KinesisStream: &kinesis.AnalyticsApplicationInputsKinesisStreamArgs{
    					ResourceArn: exampleStream.Arn,
    					RoleArn:     pulumi.Any(exampleAwsIamRole.Arn),
    				},
    				StartingPositionConfigurations: kinesis.AnalyticsApplicationInputsStartingPositionConfigurationArray{
    					&kinesis.AnalyticsApplicationInputsStartingPositionConfigurationArgs{
    						StartingPosition: pulumi.String("NOW"),
    					},
    				},
    				NamePrefix: pulumi.String("example_prefix"),
    			},
    			Outputs: kinesis.AnalyticsApplicationOutputTypeArray{
    				&kinesis.AnalyticsApplicationOutputTypeArgs{
    					Schema: &kinesis.AnalyticsApplicationOutputSchemaArgs{
    						RecordFormatType: pulumi.String("CSV"),
    					},
    					KinesisFirehose: &kinesis.AnalyticsApplicationOutputKinesisFirehoseArgs{
    						ResourceArn: exampleFirehoseDeliveryStream.Arn,
    						RoleArn:     pulumi.Any(exampleAwsIamRole.Arn),
    					},
    					Name: pulumi.String("OUTPUT_1"),
    				},
    			},
    			Name:             pulumi.String("example-application"),
    			StartApplication: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.CloudWatch.LogGroup("example", new()
        {
            Name = "analytics",
        });
    
        var exampleLogStream = new Aws.CloudWatch.LogStream("example", new()
        {
            Name = "example-kinesis-application",
            LogGroupName = example.Name,
        });
    
        var exampleStream = new Aws.Kinesis.Stream("example", new()
        {
            StreamModeDetails = new Aws.Kinesis.Inputs.StreamStreamModeDetailsArgs
            {
                StreamMode = "ON_DEMAND",
            },
            Name = "example-kinesis-stream",
        });
    
        var exampleFirehoseDeliveryStream = new Aws.Kinesis.FirehoseDeliveryStream("example", new()
        {
            ExtendedS3Configuration = new Aws.Kinesis.Inputs.FirehoseDeliveryStreamExtendedS3ConfigurationArgs
            {
                BucketArn = exampleAwsS3Bucket.Arn,
                RoleArn = exampleAwsIamRole.Arn,
            },
            Name = "example-kinesis-delivery-stream",
            Destination = "extended_s3",
        });
    
        var test = new Aws.Kinesis.AnalyticsApplication("test", new()
        {
            CloudwatchLoggingOptions = new Aws.Kinesis.Inputs.AnalyticsApplicationCloudwatchLoggingOptionsArgs
            {
                LogStreamArn = exampleLogStream.Arn,
                RoleArn = exampleAwsIamRole.Arn,
            },
            Inputs = new Aws.Kinesis.Inputs.AnalyticsApplicationInputsArgs
            {
                Schema = new Aws.Kinesis.Inputs.AnalyticsApplicationInputsSchemaArgs
                {
                    RecordFormat = new Aws.Kinesis.Inputs.AnalyticsApplicationInputsSchemaRecordFormatArgs
                    {
                        MappingParameters = new Aws.Kinesis.Inputs.AnalyticsApplicationInputsSchemaRecordFormatMappingParametersArgs
                        {
                            Csv = new Aws.Kinesis.Inputs.AnalyticsApplicationInputsSchemaRecordFormatMappingParametersCsvArgs
                            {
                                RecordColumnDelimiter = ",",
                                RecordRowDelimiter = "|",
                            },
                        },
                    },
                    RecordColumns = new[]
                    {
                        new Aws.Kinesis.Inputs.AnalyticsApplicationInputsSchemaRecordColumnArgs
                        {
                            Name = "COLUMN_1",
                            SqlType = "INTEGER",
                        },
                    },
                },
                KinesisStream = new Aws.Kinesis.Inputs.AnalyticsApplicationInputsKinesisStreamArgs
                {
                    ResourceArn = exampleStream.Arn,
                    RoleArn = exampleAwsIamRole.Arn,
                },
                StartingPositionConfigurations = new[]
                {
                    new Aws.Kinesis.Inputs.AnalyticsApplicationInputsStartingPositionConfigurationArgs
                    {
                        StartingPosition = "NOW",
                    },
                },
                NamePrefix = "example_prefix",
            },
            Outputs = new[]
            {
                new Aws.Kinesis.Inputs.AnalyticsApplicationOutputArgs
                {
                    Schema = new Aws.Kinesis.Inputs.AnalyticsApplicationOutputSchemaArgs
                    {
                        RecordFormatType = "CSV",
                    },
                    KinesisFirehose = new Aws.Kinesis.Inputs.AnalyticsApplicationOutputKinesisFirehoseArgs
                    {
                        ResourceArn = exampleFirehoseDeliveryStream.Arn,
                        RoleArn = exampleAwsIamRole.Arn,
                    },
                    Name = "OUTPUT_1",
                },
            },
            Name = "example-application",
            StartApplication = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.cloudwatch.LogGroup;
    import com.pulumi.aws.cloudwatch.LogGroupArgs;
    import com.pulumi.aws.cloudwatch.LogStream;
    import com.pulumi.aws.cloudwatch.LogStreamArgs;
    import com.pulumi.aws.kinesis.Stream;
    import com.pulumi.aws.kinesis.StreamArgs;
    import com.pulumi.aws.kinesis.inputs.StreamStreamModeDetailsArgs;
    import com.pulumi.aws.kinesis.FirehoseDeliveryStream;
    import com.pulumi.aws.kinesis.FirehoseDeliveryStreamArgs;
    import com.pulumi.aws.kinesis.inputs.FirehoseDeliveryStreamExtendedS3ConfigurationArgs;
    import com.pulumi.aws.kinesis.AnalyticsApplication;
    import com.pulumi.aws.kinesis.AnalyticsApplicationArgs;
    import com.pulumi.aws.kinesis.inputs.AnalyticsApplicationCloudwatchLoggingOptionsArgs;
    import com.pulumi.aws.kinesis.inputs.AnalyticsApplicationInputsArgs;
    import com.pulumi.aws.kinesis.inputs.AnalyticsApplicationInputsSchemaArgs;
    import com.pulumi.aws.kinesis.inputs.AnalyticsApplicationInputsSchemaRecordFormatArgs;
    import com.pulumi.aws.kinesis.inputs.AnalyticsApplicationInputsSchemaRecordFormatMappingParametersArgs;
    import com.pulumi.aws.kinesis.inputs.AnalyticsApplicationInputsSchemaRecordFormatMappingParametersCsvArgs;
    import com.pulumi.aws.kinesis.inputs.AnalyticsApplicationInputsSchemaRecordColumnArgs;
    import com.pulumi.aws.kinesis.inputs.AnalyticsApplicationInputsKinesisStreamArgs;
    import com.pulumi.aws.kinesis.inputs.AnalyticsApplicationInputsStartingPositionConfigurationArgs;
    import com.pulumi.aws.kinesis.inputs.AnalyticsApplicationOutputArgs;
    import com.pulumi.aws.kinesis.inputs.AnalyticsApplicationOutputSchemaArgs;
    import com.pulumi.aws.kinesis.inputs.AnalyticsApplicationOutputKinesisFirehoseArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new LogGroup("example", LogGroupArgs.builder()
                .name("analytics")
                .build());
    
            var exampleLogStream = new LogStream("exampleLogStream", LogStreamArgs.builder()
                .name("example-kinesis-application")
                .logGroupName(example.name())
                .build());
    
            var exampleStream = new Stream("exampleStream", StreamArgs.builder()
                .streamModeDetails(StreamStreamModeDetailsArgs.builder()
                    .streamMode("ON_DEMAND")
                    .build())
                .name("example-kinesis-stream")
                .build());
    
            var exampleFirehoseDeliveryStream = new FirehoseDeliveryStream("exampleFirehoseDeliveryStream", FirehoseDeliveryStreamArgs.builder()
                .extendedS3Configuration(FirehoseDeliveryStreamExtendedS3ConfigurationArgs.builder()
                    .bucketArn(exampleAwsS3Bucket.get("arn"))
                    .roleArn(exampleAwsIamRole.get("arn"))
                    .build())
                .name("example-kinesis-delivery-stream")
                .destination("extended_s3")
                .build());
    
            var test = new AnalyticsApplication("test", AnalyticsApplicationArgs.builder()
                .cloudwatchLoggingOptions(AnalyticsApplicationCloudwatchLoggingOptionsArgs.builder()
                    .logStreamArn(exampleLogStream.arn())
                    .roleArn(exampleAwsIamRole.get("arn"))
                    .build())
                .inputs(AnalyticsApplicationInputsArgs.builder()
                    .schema(AnalyticsApplicationInputsSchemaArgs.builder()
                        .recordFormat(AnalyticsApplicationInputsSchemaRecordFormatArgs.builder()
                            .mappingParameters(AnalyticsApplicationInputsSchemaRecordFormatMappingParametersArgs.builder()
                                .csv(AnalyticsApplicationInputsSchemaRecordFormatMappingParametersCsvArgs.builder()
                                    .recordColumnDelimiter(",")
                                    .recordRowDelimiter("|")
                                    .build())
                                .build())
                            .build())
                        .recordColumns(AnalyticsApplicationInputsSchemaRecordColumnArgs.builder()
                            .name("COLUMN_1")
                            .sqlType("INTEGER")
                            .build())
                        .build())
                    .kinesisStream(AnalyticsApplicationInputsKinesisStreamArgs.builder()
                        .resourceArn(exampleStream.arn())
                        .roleArn(exampleAwsIamRole.get("arn"))
                        .build())
                    .startingPositionConfigurations(AnalyticsApplicationInputsStartingPositionConfigurationArgs.builder()
                        .startingPosition("NOW")
                        .build())
                    .namePrefix("example_prefix")
                    .build())
                .outputs(AnalyticsApplicationOutputArgs.builder()
                    .schema(AnalyticsApplicationOutputSchemaArgs.builder()
                        .recordFormatType("CSV")
                        .build())
                    .kinesisFirehose(AnalyticsApplicationOutputKinesisFirehoseArgs.builder()
                        .resourceArn(exampleFirehoseDeliveryStream.arn())
                        .roleArn(exampleAwsIamRole.get("arn"))
                        .build())
                    .name("OUTPUT_1")
                    .build())
                .name("example-application")
                .startApplication(true)
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:cloudwatch:LogGroup
        properties:
          name: analytics
      exampleLogStream:
        type: aws:cloudwatch:LogStream
        name: example
        properties:
          name: example-kinesis-application
          logGroupName: ${example.name}
      exampleStream:
        type: aws:kinesis:Stream
        name: example
        properties:
          streamModeDetails:
            streamMode: ON_DEMAND
          name: example-kinesis-stream
      exampleFirehoseDeliveryStream:
        type: aws:kinesis:FirehoseDeliveryStream
        name: example
        properties:
          extendedS3Configuration:
            bucketArn: ${exampleAwsS3Bucket.arn}
            roleArn: ${exampleAwsIamRole.arn}
          name: example-kinesis-delivery-stream
          destination: extended_s3
      test:
        type: aws:kinesis:AnalyticsApplication
        properties:
          cloudwatchLoggingOptions:
            logStreamArn: ${exampleLogStream.arn}
            roleArn: ${exampleAwsIamRole.arn}
          inputs:
            schema:
              recordFormat:
                mappingParameters:
                  csv:
                    recordColumnDelimiter: ','
                    recordRowDelimiter: '|'
              recordColumns:
                - name: COLUMN_1
                  sqlType: INTEGER
            kinesisStream:
              resourceArn: ${exampleStream.arn}
              roleArn: ${exampleAwsIamRole.arn}
            startingPositionConfigurations:
              - startingPosition: NOW
            namePrefix: example_prefix
          outputs:
            - schema:
                recordFormatType: CSV
              kinesisFirehose:
                resourceArn: ${exampleFirehoseDeliveryStream.arn}
                roleArn: ${exampleAwsIamRole.arn}
              name: OUTPUT_1
          name: example-application
          startApplication: true
    
    terraform {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_cloudwatch_log_group" "example" {
      lifecycle {
        create_before_destroy = true
      }
      name = "analytics"
    }
    resource "aws_cloudwatch_log_stream" "example" {
      lifecycle {
        create_before_destroy = true
      }
      name           = "example-kinesis-application"
      log_group_name = aws_cloudwatch_log_group.example.name
    }
    resource "aws_kinesis_stream" "example" {
      lifecycle {
        create_before_destroy = true
      }
      stream_mode_details {
        stream_mode = "ON_DEMAND"
      }
      name = "example-kinesis-stream"
    }
    resource "aws_kinesis_firehose_delivery_stream" "example" {
      lifecycle {
        create_before_destroy = true
      }
      extended_s3_configuration {
        bucket_arn = exampleAwsS3Bucket.arn
        role_arn   = exampleAwsIamRole.arn
      }
      name        = "example-kinesis-delivery-stream"
      destination = "extended_s3"
    }
    resource "aws_kinesis_analytics_application" "test" {
      lifecycle {
        create_before_destroy = true
      }
      cloudwatch_logging_options {
        log_stream_arn = aws_cloudwatch_log_stream.example.arn
        role_arn       = exampleAwsIamRole.arn
      }
      inputs {
        schema {
          record_format {
            mapping_parameters {
              csv {
                record_column_delimiter = ","
                record_row_delimiter    = "|"
              }
            }
          }
          record_columns {
            name     = "COLUMN_1"
            sql_type = "INTEGER"
          }
        }
        kinesis_stream {
          resource_arn = aws_kinesis_stream.example.arn
          role_arn     = exampleAwsIamRole.arn
        }
        starting_position_configuration {
          starting_position = "NOW"
        }
        name_prefix = "example_prefix"
      }
      outputs {
        schema {
          record_format_type = "CSV"
        }
        kinesis_firehose {
          resource_arn = aws_kinesis_firehose_delivery_stream.example.arn
          role_arn     = exampleAwsIamRole.arn
        }
        name = "OUTPUT_1"
      }
      name              = "example-application"
      start_application = true
    }
    

    Create AnalyticsApplication Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AnalyticsApplication(name: string, args?: AnalyticsApplicationArgs, opts?: CustomResourceOptions);
    @overload
    def AnalyticsApplication(resource_name: str,
                             args: Optional[AnalyticsApplicationArgs] = None,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def AnalyticsApplication(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             cloudwatch_logging_options: Optional[AnalyticsApplicationCloudwatchLoggingOptionsArgs] = None,
                             code: Optional[str] = None,
                             description: Optional[str] = None,
                             inputs: Optional[AnalyticsApplicationInputsArgs] = None,
                             name: Optional[str] = None,
                             outputs: Optional[Sequence[AnalyticsApplicationOutputArgs]] = None,
                             reference_data_sources: Optional[AnalyticsApplicationReferenceDataSourcesArgs] = None,
                             region: Optional[str] = None,
                             start_application: Optional[bool] = None,
                             tags: Optional[Mapping[str, str]] = None)
    func NewAnalyticsApplication(ctx *Context, name string, args *AnalyticsApplicationArgs, opts ...ResourceOption) (*AnalyticsApplication, error)
    public AnalyticsApplication(string name, AnalyticsApplicationArgs? args = null, CustomResourceOptions? opts = null)
    public AnalyticsApplication(String name, AnalyticsApplicationArgs args)
    public AnalyticsApplication(String name, AnalyticsApplicationArgs args, CustomResourceOptions options)
    
    type: aws:kinesis:AnalyticsApplication
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws_kinesis_analytics_application" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AnalyticsApplicationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AnalyticsApplicationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AnalyticsApplicationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AnalyticsApplicationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AnalyticsApplicationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var analyticsApplicationResource = new Aws.Kinesis.AnalyticsApplication("analyticsApplicationResource", new()
    {
        CloudwatchLoggingOptions = new Aws.Kinesis.Inputs.AnalyticsApplicationCloudwatchLoggingOptionsArgs
        {
            LogStreamArn = "string",
            RoleArn = "string",
            Id = "string",
        },
        Code = "string",
        Description = "string",
        Inputs = new Aws.Kinesis.Inputs.AnalyticsApplicationInputsArgs
        {
            NamePrefix = "string",
            Schema = new Aws.Kinesis.Inputs.AnalyticsApplicationInputsSchemaArgs
            {
                RecordColumns = new[]
                {
                    new Aws.Kinesis.Inputs.AnalyticsApplicationInputsSchemaRecordColumnArgs
                    {
                        Name = "string",
                        SqlType = "string",
                        Mapping = "string",
                    },
                },
                RecordFormat = new Aws.Kinesis.Inputs.AnalyticsApplicationInputsSchemaRecordFormatArgs
                {
                    MappingParameters = new Aws.Kinesis.Inputs.AnalyticsApplicationInputsSchemaRecordFormatMappingParametersArgs
                    {
                        Csv = new Aws.Kinesis.Inputs.AnalyticsApplicationInputsSchemaRecordFormatMappingParametersCsvArgs
                        {
                            RecordColumnDelimiter = "string",
                            RecordRowDelimiter = "string",
                        },
                        Json = new Aws.Kinesis.Inputs.AnalyticsApplicationInputsSchemaRecordFormatMappingParametersJsonArgs
                        {
                            RecordRowPath = "string",
                        },
                    },
                    RecordFormatType = "string",
                },
                RecordEncoding = "string",
            },
            Id = "string",
            KinesisFirehose = new Aws.Kinesis.Inputs.AnalyticsApplicationInputsKinesisFirehoseArgs
            {
                ResourceArn = "string",
                RoleArn = "string",
            },
            KinesisStream = new Aws.Kinesis.Inputs.AnalyticsApplicationInputsKinesisStreamArgs
            {
                ResourceArn = "string",
                RoleArn = "string",
            },
            Parallelism = new Aws.Kinesis.Inputs.AnalyticsApplicationInputsParallelismArgs
            {
                Count = 0,
            },
            ProcessingConfiguration = new Aws.Kinesis.Inputs.AnalyticsApplicationInputsProcessingConfigurationArgs
            {
                Lambda = new Aws.Kinesis.Inputs.AnalyticsApplicationInputsProcessingConfigurationLambdaArgs
                {
                    ResourceArn = "string",
                    RoleArn = "string",
                },
            },
            StartingPositionConfigurations = new[]
            {
                new Aws.Kinesis.Inputs.AnalyticsApplicationInputsStartingPositionConfigurationArgs
                {
                    StartingPosition = "string",
                },
            },
            StreamNames = new[]
            {
                "string",
            },
        },
        Name = "string",
        Outputs = new[]
        {
            new Aws.Kinesis.Inputs.AnalyticsApplicationOutputArgs
            {
                Name = "string",
                Schema = new Aws.Kinesis.Inputs.AnalyticsApplicationOutputSchemaArgs
                {
                    RecordFormatType = "string",
                },
                Id = "string",
                KinesisFirehose = new Aws.Kinesis.Inputs.AnalyticsApplicationOutputKinesisFirehoseArgs
                {
                    ResourceArn = "string",
                    RoleArn = "string",
                },
                KinesisStream = new Aws.Kinesis.Inputs.AnalyticsApplicationOutputKinesisStreamArgs
                {
                    ResourceArn = "string",
                    RoleArn = "string",
                },
                Lambda = new Aws.Kinesis.Inputs.AnalyticsApplicationOutputLambdaArgs
                {
                    ResourceArn = "string",
                    RoleArn = "string",
                },
            },
        },
        ReferenceDataSources = new Aws.Kinesis.Inputs.AnalyticsApplicationReferenceDataSourcesArgs
        {
            S3 = new Aws.Kinesis.Inputs.AnalyticsApplicationReferenceDataSourcesS3Args
            {
                BucketArn = "string",
                FileKey = "string",
                RoleArn = "string",
            },
            Schema = new Aws.Kinesis.Inputs.AnalyticsApplicationReferenceDataSourcesSchemaArgs
            {
                RecordColumns = new[]
                {
                    new Aws.Kinesis.Inputs.AnalyticsApplicationReferenceDataSourcesSchemaRecordColumnArgs
                    {
                        Name = "string",
                        SqlType = "string",
                        Mapping = "string",
                    },
                },
                RecordFormat = new Aws.Kinesis.Inputs.AnalyticsApplicationReferenceDataSourcesSchemaRecordFormatArgs
                {
                    MappingParameters = new Aws.Kinesis.Inputs.AnalyticsApplicationReferenceDataSourcesSchemaRecordFormatMappingParametersArgs
                    {
                        Csv = new Aws.Kinesis.Inputs.AnalyticsApplicationReferenceDataSourcesSchemaRecordFormatMappingParametersCsvArgs
                        {
                            RecordColumnDelimiter = "string",
                            RecordRowDelimiter = "string",
                        },
                        Json = new Aws.Kinesis.Inputs.AnalyticsApplicationReferenceDataSourcesSchemaRecordFormatMappingParametersJsonArgs
                        {
                            RecordRowPath = "string",
                        },
                    },
                    RecordFormatType = "string",
                },
                RecordEncoding = "string",
            },
            TableName = "string",
            Id = "string",
        },
        Region = "string",
        StartApplication = false,
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := kinesis.NewAnalyticsApplication(ctx, "analyticsApplicationResource", &kinesis.AnalyticsApplicationArgs{
    	CloudwatchLoggingOptions: &kinesis.AnalyticsApplicationCloudwatchLoggingOptionsArgs{
    		LogStreamArn: pulumi.String("string"),
    		RoleArn:      pulumi.String("string"),
    		Id:           pulumi.String("string"),
    	},
    	Code:        pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Inputs: &kinesis.AnalyticsApplicationInputsArgs{
    		NamePrefix: pulumi.String("string"),
    		Schema: &kinesis.AnalyticsApplicationInputsSchemaArgs{
    			RecordColumns: kinesis.AnalyticsApplicationInputsSchemaRecordColumnArray{
    				&kinesis.AnalyticsApplicationInputsSchemaRecordColumnArgs{
    					Name:    pulumi.String("string"),
    					SqlType: pulumi.String("string"),
    					Mapping: pulumi.String("string"),
    				},
    			},
    			RecordFormat: &kinesis.AnalyticsApplicationInputsSchemaRecordFormatArgs{
    				MappingParameters: &kinesis.AnalyticsApplicationInputsSchemaRecordFormatMappingParametersArgs{
    					Csv: &kinesis.AnalyticsApplicationInputsSchemaRecordFormatMappingParametersCsvArgs{
    						RecordColumnDelimiter: pulumi.String("string"),
    						RecordRowDelimiter:    pulumi.String("string"),
    					},
    					Json: &kinesis.AnalyticsApplicationInputsSchemaRecordFormatMappingParametersJsonArgs{
    						RecordRowPath: pulumi.String("string"),
    					},
    				},
    				RecordFormatType: pulumi.String("string"),
    			},
    			RecordEncoding: pulumi.String("string"),
    		},
    		Id: pulumi.String("string"),
    		KinesisFirehose: &kinesis.AnalyticsApplicationInputsKinesisFirehoseArgs{
    			ResourceArn: pulumi.String("string"),
    			RoleArn:     pulumi.String("string"),
    		},
    		KinesisStream: &kinesis.AnalyticsApplicationInputsKinesisStreamArgs{
    			ResourceArn: pulumi.String("string"),
    			RoleArn:     pulumi.String("string"),
    		},
    		Parallelism: &kinesis.AnalyticsApplicationInputsParallelismArgs{
    			Count: pulumi.Int(0),
    		},
    		ProcessingConfiguration: &kinesis.AnalyticsApplicationInputsProcessingConfigurationArgs{
    			Lambda: &kinesis.AnalyticsApplicationInputsProcessingConfigurationLambdaArgs{
    				ResourceArn: pulumi.String("string"),
    				RoleArn:     pulumi.String("string"),
    			},
    		},
    		StartingPositionConfigurations: kinesis.AnalyticsApplicationInputsStartingPositionConfigurationArray{
    			&kinesis.AnalyticsApplicationInputsStartingPositionConfigurationArgs{
    				StartingPosition: pulumi.String("string"),
    			},
    		},
    		StreamNames: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	Name: pulumi.String("string"),
    	Outputs: kinesis.AnalyticsApplicationOutputTypeArray{
    		&kinesis.AnalyticsApplicationOutputTypeArgs{
    			Name: pulumi.String("string"),
    			Schema: &kinesis.AnalyticsApplicationOutputSchemaArgs{
    				RecordFormatType: pulumi.String("string"),
    			},
    			Id: pulumi.String("string"),
    			KinesisFirehose: &kinesis.AnalyticsApplicationOutputKinesisFirehoseArgs{
    				ResourceArn: pulumi.String("string"),
    				RoleArn:     pulumi.String("string"),
    			},
    			KinesisStream: &kinesis.AnalyticsApplicationOutputKinesisStreamArgs{
    				ResourceArn: pulumi.String("string"),
    				RoleArn:     pulumi.String("string"),
    			},
    			Lambda: &kinesis.AnalyticsApplicationOutputLambdaArgs{
    				ResourceArn: pulumi.String("string"),
    				RoleArn:     pulumi.String("string"),
    			},
    		},
    	},
    	ReferenceDataSources: &kinesis.AnalyticsApplicationReferenceDataSourcesArgs{
    		S3: &kinesis.AnalyticsApplicationReferenceDataSourcesS3Args{
    			BucketArn: pulumi.String("string"),
    			FileKey:   pulumi.String("string"),
    			RoleArn:   pulumi.String("string"),
    		},
    		Schema: &kinesis.AnalyticsApplicationReferenceDataSourcesSchemaArgs{
    			RecordColumns: kinesis.AnalyticsApplicationReferenceDataSourcesSchemaRecordColumnArray{
    				&kinesis.AnalyticsApplicationReferenceDataSourcesSchemaRecordColumnArgs{
    					Name:    pulumi.String("string"),
    					SqlType: pulumi.String("string"),
    					Mapping: pulumi.String("string"),
    				},
    			},
    			RecordFormat: &kinesis.AnalyticsApplicationReferenceDataSourcesSchemaRecordFormatArgs{
    				MappingParameters: &kinesis.AnalyticsApplicationReferenceDataSourcesSchemaRecordFormatMappingParametersArgs{
    					Csv: &kinesis.AnalyticsApplicationReferenceDataSourcesSchemaRecordFormatMappingParametersCsvArgs{
    						RecordColumnDelimiter: pulumi.String("string"),
    						RecordRowDelimiter:    pulumi.String("string"),
    					},
    					Json: &kinesis.AnalyticsApplicationReferenceDataSourcesSchemaRecordFormatMappingParametersJsonArgs{
    						RecordRowPath: pulumi.String("string"),
    					},
    				},
    				RecordFormatType: pulumi.String("string"),
    			},
    			RecordEncoding: pulumi.String("string"),
    		},
    		TableName: pulumi.String("string"),
    		Id:        pulumi.String("string"),
    	},
    	Region:           pulumi.String("string"),
    	StartApplication: pulumi.Bool(false),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    resource "aws_kinesis_analytics_application" "analyticsApplicationResource" {
      lifecycle {
        create_before_destroy = true
      }
      cloudwatch_logging_options = {
        log_stream_arn = "string"
        role_arn       = "string"
        id             = "string"
      }
      code        = "string"
      description = "string"
      inputs = {
        name_prefix = "string"
        schema = {
          record_columns = [{
            name     = "string"
            sql_type = "string"
            mapping  = "string"
          }]
          record_format = {
            mapping_parameters = {
              csv = {
                record_column_delimiter = "string"
                record_row_delimiter    = "string"
              }
              json = {
                record_row_path = "string"
              }
            }
            record_format_type = "string"
          }
          record_encoding = "string"
        }
        id = "string"
        kinesis_firehose = {
          resource_arn = "string"
          role_arn     = "string"
        }
        kinesis_stream = {
          resource_arn = "string"
          role_arn     = "string"
        }
        parallelism = {
          count = 0
        }
        processing_configuration = {
          lambda = {
            resource_arn = "string"
            role_arn     = "string"
          }
        }
        starting_position_configurations = [{
          starting_position = "string"
        }]
        stream_names = ["string"]
      }
      name = "string"
      outputs {
        name = "string"
        schema = {
          record_format_type = "string"
        }
        id = "string"
        kinesis_firehose = {
          resource_arn = "string"
          role_arn     = "string"
        }
        kinesis_stream = {
          resource_arn = "string"
          role_arn     = "string"
        }
        lambda = {
          resource_arn = "string"
          role_arn     = "string"
        }
      }
      reference_data_sources = {
        s3 = {
          bucket_arn = "string"
          file_key   = "string"
          role_arn   = "string"
        }
        schema = {
          record_columns = [{
            name     = "string"
            sql_type = "string"
            mapping  = "string"
          }]
          record_format = {
            mapping_parameters = {
              csv = {
                record_column_delimiter = "string"
                record_row_delimiter    = "string"
              }
              json = {
                record_row_path = "string"
              }
            }
            record_format_type = "string"
          }
          record_encoding = "string"
        }
        table_name = "string"
        id         = "string"
      }
      region            = "string"
      start_application = false
      tags = {
        "string" = "string"
      }
    }
    
    var analyticsApplicationResource = new AnalyticsApplication("analyticsApplicationResource", AnalyticsApplicationArgs.builder()
        .cloudwatchLoggingOptions(AnalyticsApplicationCloudwatchLoggingOptionsArgs.builder()
            .logStreamArn("string")
            .roleArn("string")
            .id("string")
            .build())
        .code("string")
        .description("string")
        .inputs(AnalyticsApplicationInputsArgs.builder()
            .namePrefix("string")
            .schema(AnalyticsApplicationInputsSchemaArgs.builder()
                .recordColumns(AnalyticsApplicationInputsSchemaRecordColumnArgs.builder()
                    .name("string")
                    .sqlType("string")
                    .mapping("string")
                    .build())
                .recordFormat(AnalyticsApplicationInputsSchemaRecordFormatArgs.builder()
                    .mappingParameters(AnalyticsApplicationInputsSchemaRecordFormatMappingParametersArgs.builder()
                        .csv(AnalyticsApplicationInputsSchemaRecordFormatMappingParametersCsvArgs.builder()
                            .recordColumnDelimiter("string")
                            .recordRowDelimiter("string")
                            .build())
                        .json(AnalyticsApplicationInputsSchemaRecordFormatMappingParametersJsonArgs.builder()
                            .recordRowPath("string")
                            .build())
                        .build())
                    .recordFormatType("string")
                    .build())
                .recordEncoding("string")
                .build())
            .id("string")
            .kinesisFirehose(AnalyticsApplicationInputsKinesisFirehoseArgs.builder()
                .resourceArn("string")
                .roleArn("string")
                .build())
            .kinesisStream(AnalyticsApplicationInputsKinesisStreamArgs.builder()
                .resourceArn("string")
                .roleArn("string")
                .build())
            .parallelism(AnalyticsApplicationInputsParallelismArgs.builder()
                .count(0)
                .build())
            .processingConfiguration(AnalyticsApplicationInputsProcessingConfigurationArgs.builder()
                .lambda(AnalyticsApplicationInputsProcessingConfigurationLambdaArgs.builder()
                    .resourceArn("string")
                    .roleArn("string")
                    .build())
                .build())
            .startingPositionConfigurations(AnalyticsApplicationInputsStartingPositionConfigurationArgs.builder()
                .startingPosition("string")
                .build())
            .streamNames("string")
            .build())
        .name("string")
        .outputs(AnalyticsApplicationOutputArgs.builder()
            .name("string")
            .schema(AnalyticsApplicationOutputSchemaArgs.builder()
                .recordFormatType("string")
                .build())
            .id("string")
            .kinesisFirehose(AnalyticsApplicationOutputKinesisFirehoseArgs.builder()
                .resourceArn("string")
                .roleArn("string")
                .build())
            .kinesisStream(AnalyticsApplicationOutputKinesisStreamArgs.builder()
                .resourceArn("string")
                .roleArn("string")
                .build())
            .lambda(AnalyticsApplicationOutputLambdaArgs.builder()
                .resourceArn("string")
                .roleArn("string")
                .build())
            .build())
        .referenceDataSources(AnalyticsApplicationReferenceDataSourcesArgs.builder()
            .s3(AnalyticsApplicationReferenceDataSourcesS3Args.builder()
                .bucketArn("string")
                .fileKey("string")
                .roleArn("string")
                .build())
            .schema(AnalyticsApplicationReferenceDataSourcesSchemaArgs.builder()
                .recordColumns(AnalyticsApplicationReferenceDataSourcesSchemaRecordColumnArgs.builder()
                    .name("string")
                    .sqlType("string")
                    .mapping("string")
                    .build())
                .recordFormat(AnalyticsApplicationReferenceDataSourcesSchemaRecordFormatArgs.builder()
                    .mappingParameters(AnalyticsApplicationReferenceDataSourcesSchemaRecordFormatMappingParametersArgs.builder()
                        .csv(AnalyticsApplicationReferenceDataSourcesSchemaRecordFormatMappingParametersCsvArgs.builder()
                            .recordColumnDelimiter("string")
                            .recordRowDelimiter("string")
                            .build())
                        .json(AnalyticsApplicationReferenceDataSourcesSchemaRecordFormatMappingParametersJsonArgs.builder()
                            .recordRowPath("string")
                            .build())
                        .build())
                    .recordFormatType("string")
                    .build())
                .recordEncoding("string")
                .build())
            .tableName("string")
            .id("string")
            .build())
        .region("string")
        .startApplication(false)
        .tags(Map.of("string", "string"))
        .build());
    
    analytics_application_resource = aws.kinesis.AnalyticsApplication("analyticsApplicationResource",
        cloudwatch_logging_options={
            "log_stream_arn": "string",
            "role_arn": "string",
            "id": "string",
        },
        code="string",
        description="string",
        inputs={
            "name_prefix": "string",
            "schema": {
                "record_columns": [{
                    "name": "string",
                    "sql_type": "string",
                    "mapping": "string",
                }],
                "record_format": {
                    "mapping_parameters": {
                        "csv": {
                            "record_column_delimiter": "string",
                            "record_row_delimiter": "string",
                        },
                        "json": {
                            "record_row_path": "string",
                        },
                    },
                    "record_format_type": "string",
                },
                "record_encoding": "string",
            },
            "id": "string",
            "kinesis_firehose": {
                "resource_arn": "string",
                "role_arn": "string",
            },
            "kinesis_stream": {
                "resource_arn": "string",
                "role_arn": "string",
            },
            "parallelism": {
                "count": 0,
            },
            "processing_configuration": {
                "lambda_": {
                    "resource_arn": "string",
                    "role_arn": "string",
                },
            },
            "starting_position_configurations": [{
                "starting_position": "string",
            }],
            "stream_names": ["string"],
        },
        name="string",
        outputs=[{
            "name": "string",
            "schema": {
                "record_format_type": "string",
            },
            "id": "string",
            "kinesis_firehose": {
                "resource_arn": "string",
                "role_arn": "string",
            },
            "kinesis_stream": {
                "resource_arn": "string",
                "role_arn": "string",
            },
            "lambda_": {
                "resource_arn": "string",
                "role_arn": "string",
            },
        }],
        reference_data_sources={
            "s3": {
                "bucket_arn": "string",
                "file_key": "string",
                "role_arn": "string",
            },
            "schema": {
                "record_columns": [{
                    "name": "string",
                    "sql_type": "string",
                    "mapping": "string",
                }],
                "record_format": {
                    "mapping_parameters": {
                        "csv": {
                            "record_column_delimiter": "string",
                            "record_row_delimiter": "string",
                        },
                        "json": {
                            "record_row_path": "string",
                        },
                    },
                    "record_format_type": "string",
                },
                "record_encoding": "string",
            },
            "table_name": "string",
            "id": "string",
        },
        region="string",
        start_application=False,
        tags={
            "string": "string",
        })
    
    const analyticsApplicationResource = new aws.kinesis.AnalyticsApplication("analyticsApplicationResource", {
        cloudwatchLoggingOptions: {
            logStreamArn: "string",
            roleArn: "string",
            id: "string",
        },
        code: "string",
        description: "string",
        inputs: {
            namePrefix: "string",
            schema: {
                recordColumns: [{
                    name: "string",
                    sqlType: "string",
                    mapping: "string",
                }],
                recordFormat: {
                    mappingParameters: {
                        csv: {
                            recordColumnDelimiter: "string",
                            recordRowDelimiter: "string",
                        },
                        json: {
                            recordRowPath: "string",
                        },
                    },
                    recordFormatType: "string",
                },
                recordEncoding: "string",
            },
            id: "string",
            kinesisFirehose: {
                resourceArn: "string",
                roleArn: "string",
            },
            kinesisStream: {
                resourceArn: "string",
                roleArn: "string",
            },
            parallelism: {
                count: 0,
            },
            processingConfiguration: {
                lambda: {
                    resourceArn: "string",
                    roleArn: "string",
                },
            },
            startingPositionConfigurations: [{
                startingPosition: "string",
            }],
            streamNames: ["string"],
        },
        name: "string",
        outputs: [{
            name: "string",
            schema: {
                recordFormatType: "string",
            },
            id: "string",
            kinesisFirehose: {
                resourceArn: "string",
                roleArn: "string",
            },
            kinesisStream: {
                resourceArn: "string",
                roleArn: "string",
            },
            lambda: {
                resourceArn: "string",
                roleArn: "string",
            },
        }],
        referenceDataSources: {
            s3: {
                bucketArn: "string",
                fileKey: "string",
                roleArn: "string",
            },
            schema: {
                recordColumns: [{
                    name: "string",
                    sqlType: "string",
                    mapping: "string",
                }],
                recordFormat: {
                    mappingParameters: {
                        csv: {
                            recordColumnDelimiter: "string",
                            recordRowDelimiter: "string",
                        },
                        json: {
                            recordRowPath: "string",
                        },
                    },
                    recordFormatType: "string",
                },
                recordEncoding: "string",
            },
            tableName: "string",
            id: "string",
        },
        region: "string",
        startApplication: false,
        tags: {
            string: "string",
        },
    });
    
    type: aws:kinesis:AnalyticsApplication
    properties:
        cloudwatchLoggingOptions:
            id: string
            logStreamArn: string
            roleArn: string
        code: string
        description: string
        inputs:
            id: string
            kinesisFirehose:
                resourceArn: string
                roleArn: string
            kinesisStream:
                resourceArn: string
                roleArn: string
            namePrefix: string
            parallelism:
                count: 0
            processingConfiguration:
                lambda:
                    resourceArn: string
                    roleArn: string
            schema:
                recordColumns:
                    - mapping: string
                      name: string
                      sqlType: string
                recordEncoding: string
                recordFormat:
                    mappingParameters:
                        csv:
                            recordColumnDelimiter: string
                            recordRowDelimiter: string
                        json:
                            recordRowPath: string
                    recordFormatType: string
            startingPositionConfigurations:
                - startingPosition: string
            streamNames:
                - string
        name: string
        outputs:
            - id: string
              kinesisFirehose:
                resourceArn: string
                roleArn: string
              kinesisStream:
                resourceArn: string
                roleArn: string
              lambda:
                resourceArn: string
                roleArn: string
              name: string
              schema:
                recordFormatType: string
        referenceDataSources:
            id: string
            s3:
                bucketArn: string
                fileKey: string
                roleArn: string
            schema:
                recordColumns:
                    - mapping: string
                      name: string
                      sqlType: string
                recordEncoding: string
                recordFormat:
                    mappingParameters:
                        csv:
                            recordColumnDelimiter: string
                            recordRowDelimiter: string
                        json:
                            recordRowPath: string
                    recordFormatType: string
            tableName: string
        region: string
        startApplication: false
        tags:
            string: string
    

    AnalyticsApplication Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AnalyticsApplication resource accepts the following input properties:

    CloudwatchLoggingOptions AnalyticsApplicationCloudwatchLoggingOptions
    CloudWatch log stream options to monitor application errors. See cloudwatchLoggingOptions Block below for details.
    Code string
    SQL Code to transform input data, and generate output.
    Description string
    Description of the application.
    Inputs AnalyticsApplicationInputs
    Input configuration of the application. See inputs Block below for details.
    Name string
    Name of the Kinesis Analytics Application.
    Outputs List<AnalyticsApplicationOutput>
    Output destination configuration of the application. See outputs Block below for details.
    ReferenceDataSources AnalyticsApplicationReferenceDataSources
    S3 Reference Data Source for the application. See referenceDataSources Block below for details.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    StartApplication bool
    Whether to start or stop the Kinesis Analytics Application. To start an application, an input with a defined startingPosition must be configured. To modify an application's starting position, first stop the application by setting startApplication = false, then update startingPosition and set startApplication = true.
    Tags Dictionary<string, string>
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    CloudwatchLoggingOptions AnalyticsApplicationCloudwatchLoggingOptionsArgs
    CloudWatch log stream options to monitor application errors. See cloudwatchLoggingOptions Block below for details.
    Code string
    SQL Code to transform input data, and generate output.
    Description string
    Description of the application.
    Inputs AnalyticsApplicationInputsArgs
    Input configuration of the application. See inputs Block below for details.
    Name string
    Name of the Kinesis Analytics Application.
    Outputs []AnalyticsApplicationOutputTypeArgs
    Output destination configuration of the application. See outputs Block below for details.
    ReferenceDataSources AnalyticsApplicationReferenceDataSourcesArgs
    S3 Reference Data Source for the application. See referenceDataSources Block below for details.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    StartApplication bool
    Whether to start or stop the Kinesis Analytics Application. To start an application, an input with a defined startingPosition must be configured. To modify an application's starting position, first stop the application by setting startApplication = false, then update startingPosition and set startApplication = true.
    Tags map[string]string
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    cloudwatch_logging_options object
    CloudWatch log stream options to monitor application errors. See cloudwatchLoggingOptions Block below for details.
    code string
    SQL Code to transform input data, and generate output.
    description string
    Description of the application.
    inputs object
    Input configuration of the application. See inputs Block below for details.
    name string
    Name of the Kinesis Analytics Application.
    outputs list(object)
    Output destination configuration of the application. See outputs Block below for details.
    reference_data_sources object
    S3 Reference Data Source for the application. See referenceDataSources Block below for details.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    start_application bool
    Whether to start or stop the Kinesis Analytics Application. To start an application, an input with a defined startingPosition must be configured. To modify an application's starting position, first stop the application by setting startApplication = false, then update startingPosition and set startApplication = true.
    tags map(string)
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    cloudwatchLoggingOptions AnalyticsApplicationCloudwatchLoggingOptions
    CloudWatch log stream options to monitor application errors. See cloudwatchLoggingOptions Block below for details.
    code String
    SQL Code to transform input data, and generate output.
    description String
    Description of the application.
    inputs AnalyticsApplicationInputs
    Input configuration of the application. See inputs Block below for details.
    name String
    Name of the Kinesis Analytics Application.
    outputs List<AnalyticsApplicationOutput>
    Output destination configuration of the application. See outputs Block below for details.
    referenceDataSources AnalyticsApplicationReferenceDataSources
    S3 Reference Data Source for the application. See referenceDataSources Block below for details.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    startApplication Boolean
    Whether to start or stop the Kinesis Analytics Application. To start an application, an input with a defined startingPosition must be configured. To modify an application's starting position, first stop the application by setting startApplication = false, then update startingPosition and set startApplication = true.
    tags Map<String,String>
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    cloudwatchLoggingOptions AnalyticsApplicationCloudwatchLoggingOptions
    CloudWatch log stream options to monitor application errors. See cloudwatchLoggingOptions Block below for details.
    code string
    SQL Code to transform input data, and generate output.
    description string
    Description of the application.
    inputs AnalyticsApplicationInputs
    Input configuration of the application. See inputs Block below for details.
    name string
    Name of the Kinesis Analytics Application.
    outputs AnalyticsApplicationOutput[]
    Output destination configuration of the application. See outputs Block below for details.
    referenceDataSources AnalyticsApplicationReferenceDataSources
    S3 Reference Data Source for the application. See referenceDataSources Block below for details.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    startApplication boolean
    Whether to start or stop the Kinesis Analytics Application. To start an application, an input with a defined startingPosition must be configured. To modify an application's starting position, first stop the application by setting startApplication = false, then update startingPosition and set startApplication = true.
    tags {[key: string]: string}
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    cloudwatch_logging_options AnalyticsApplicationCloudwatchLoggingOptionsArgs
    CloudWatch log stream options to monitor application errors. See cloudwatchLoggingOptions Block below for details.
    code str
    SQL Code to transform input data, and generate output.
    description str
    Description of the application.
    inputs AnalyticsApplicationInputsArgs
    Input configuration of the application. See inputs Block below for details.
    name str
    Name of the Kinesis Analytics Application.
    outputs Sequence[AnalyticsApplicationOutputArgs]
    Output destination configuration of the application. See outputs Block below for details.
    reference_data_sources AnalyticsApplicationReferenceDataSourcesArgs
    S3 Reference Data Source for the application. See referenceDataSources Block below for details.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    start_application bool
    Whether to start or stop the Kinesis Analytics Application. To start an application, an input with a defined startingPosition must be configured. To modify an application's starting position, first stop the application by setting startApplication = false, then update startingPosition and set startApplication = true.
    tags Mapping[str, str]
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    cloudwatchLoggingOptions Property Map
    CloudWatch log stream options to monitor application errors. See cloudwatchLoggingOptions Block below for details.
    code String
    SQL Code to transform input data, and generate output.
    description String
    Description of the application.
    inputs Property Map
    Input configuration of the application. See inputs Block below for details.
    name String
    Name of the Kinesis Analytics Application.
    outputs List<Property Map>
    Output destination configuration of the application. See outputs Block below for details.
    referenceDataSources Property Map
    S3 Reference Data Source for the application. See referenceDataSources Block below for details.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    startApplication Boolean
    Whether to start or stop the Kinesis Analytics Application. To start an application, an input with a defined startingPosition must be configured. To modify an application's starting position, first stop the application by setting startApplication = false, then update startingPosition and set startApplication = true.
    tags Map<String>
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AnalyticsApplication resource produces the following output properties:

    Arn string
    ARN of the Kinesis Analytics Application.
    CreateTimestamp string
    Timestamp when the application version was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdateTimestamp string
    Timestamp when the application was last updated.
    Status string
    Status of the application.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    Version int
    Version of the application.
    Arn string
    ARN of the Kinesis Analytics Application.
    CreateTimestamp string
    Timestamp when the application version was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdateTimestamp string
    Timestamp when the application was last updated.
    Status string
    Status of the application.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    Version int
    Version of the application.
    arn string
    ARN of the Kinesis Analytics Application.
    create_timestamp string
    Timestamp when the application version was created.
    id string
    The provider-assigned unique ID for this managed resource.
    last_update_timestamp string
    Timestamp when the application was last updated.
    status string
    Status of the application.
    tags_all map(string)
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    version number
    Version of the application.
    arn String
    ARN of the Kinesis Analytics Application.
    createTimestamp String
    Timestamp when the application version was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdateTimestamp String
    Timestamp when the application was last updated.
    status String
    Status of the application.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    version Integer
    Version of the application.
    arn string
    ARN of the Kinesis Analytics Application.
    createTimestamp string
    Timestamp when the application version was created.
    id string
    The provider-assigned unique ID for this managed resource.
    lastUpdateTimestamp string
    Timestamp when the application was last updated.
    status string
    Status of the application.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    version number
    Version of the application.
    arn str
    ARN of the Kinesis Analytics Application.
    create_timestamp str
    Timestamp when the application version was created.
    id str
    The provider-assigned unique ID for this managed resource.
    last_update_timestamp str
    Timestamp when the application was last updated.
    status str
    Status of the application.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    version int
    Version of the application.
    arn String
    ARN of the Kinesis Analytics Application.
    createTimestamp String
    Timestamp when the application version was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdateTimestamp String
    Timestamp when the application was last updated.
    status String
    Status of the application.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    version Number
    Version of the application.

    Look up Existing AnalyticsApplication Resource

    Get an existing AnalyticsApplication resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AnalyticsApplicationState, opts?: CustomResourceOptions): AnalyticsApplication
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            cloudwatch_logging_options: Optional[AnalyticsApplicationCloudwatchLoggingOptionsArgs] = None,
            code: Optional[str] = None,
            create_timestamp: Optional[str] = None,
            description: Optional[str] = None,
            inputs: Optional[AnalyticsApplicationInputsArgs] = None,
            last_update_timestamp: Optional[str] = None,
            name: Optional[str] = None,
            outputs: Optional[Sequence[AnalyticsApplicationOutputArgs]] = None,
            reference_data_sources: Optional[AnalyticsApplicationReferenceDataSourcesArgs] = None,
            region: Optional[str] = None,
            start_application: Optional[bool] = None,
            status: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None,
            version: Optional[int] = None) -> AnalyticsApplication
    func GetAnalyticsApplication(ctx *Context, name string, id IDInput, state *AnalyticsApplicationState, opts ...ResourceOption) (*AnalyticsApplication, error)
    public static AnalyticsApplication Get(string name, Input<string> id, AnalyticsApplicationState? state, CustomResourceOptions? opts = null)
    public static AnalyticsApplication get(String name, Output<String> id, AnalyticsApplicationState state, CustomResourceOptions options)
    resources:  _:    type: aws:kinesis:AnalyticsApplication    get:      id: ${id}
    import {
      to = aws_kinesis_analytics_application.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Arn string
    ARN of the Kinesis Analytics Application.
    CloudwatchLoggingOptions AnalyticsApplicationCloudwatchLoggingOptions
    CloudWatch log stream options to monitor application errors. See cloudwatchLoggingOptions Block below for details.
    Code string
    SQL Code to transform input data, and generate output.
    CreateTimestamp string
    Timestamp when the application version was created.
    Description string
    Description of the application.
    Inputs AnalyticsApplicationInputs
    Input configuration of the application. See inputs Block below for details.
    LastUpdateTimestamp string
    Timestamp when the application was last updated.
    Name string
    Name of the Kinesis Analytics Application.
    Outputs List<AnalyticsApplicationOutput>
    Output destination configuration of the application. See outputs Block below for details.
    ReferenceDataSources AnalyticsApplicationReferenceDataSources
    S3 Reference Data Source for the application. See referenceDataSources Block below for details.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    StartApplication bool
    Whether to start or stop the Kinesis Analytics Application. To start an application, an input with a defined startingPosition must be configured. To modify an application's starting position, first stop the application by setting startApplication = false, then update startingPosition and set startApplication = true.
    Status string
    Status of the application.
    Tags Dictionary<string, string>
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    Version int
    Version of the application.
    Arn string
    ARN of the Kinesis Analytics Application.
    CloudwatchLoggingOptions AnalyticsApplicationCloudwatchLoggingOptionsArgs
    CloudWatch log stream options to monitor application errors. See cloudwatchLoggingOptions Block below for details.
    Code string
    SQL Code to transform input data, and generate output.
    CreateTimestamp string
    Timestamp when the application version was created.
    Description string
    Description of the application.
    Inputs AnalyticsApplicationInputsArgs
    Input configuration of the application. See inputs Block below for details.
    LastUpdateTimestamp string
    Timestamp when the application was last updated.
    Name string
    Name of the Kinesis Analytics Application.
    Outputs []AnalyticsApplicationOutputTypeArgs
    Output destination configuration of the application. See outputs Block below for details.
    ReferenceDataSources AnalyticsApplicationReferenceDataSourcesArgs
    S3 Reference Data Source for the application. See referenceDataSources Block below for details.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    StartApplication bool
    Whether to start or stop the Kinesis Analytics Application. To start an application, an input with a defined startingPosition must be configured. To modify an application's starting position, first stop the application by setting startApplication = false, then update startingPosition and set startApplication = true.
    Status string
    Status of the application.
    Tags map[string]string
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    Version int
    Version of the application.
    arn string
    ARN of the Kinesis Analytics Application.
    cloudwatch_logging_options object
    CloudWatch log stream options to monitor application errors. See cloudwatchLoggingOptions Block below for details.
    code string
    SQL Code to transform input data, and generate output.
    create_timestamp string
    Timestamp when the application version was created.
    description string
    Description of the application.
    inputs object
    Input configuration of the application. See inputs Block below for details.
    last_update_timestamp string
    Timestamp when the application was last updated.
    name string
    Name of the Kinesis Analytics Application.
    outputs list(object)
    Output destination configuration of the application. See outputs Block below for details.
    reference_data_sources object
    S3 Reference Data Source for the application. See referenceDataSources Block below for details.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    start_application bool
    Whether to start or stop the Kinesis Analytics Application. To start an application, an input with a defined startingPosition must be configured. To modify an application's starting position, first stop the application by setting startApplication = false, then update startingPosition and set startApplication = true.
    status string
    Status of the application.
    tags map(string)
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all map(string)
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    version number
    Version of the application.
    arn String
    ARN of the Kinesis Analytics Application.
    cloudwatchLoggingOptions AnalyticsApplicationCloudwatchLoggingOptions
    CloudWatch log stream options to monitor application errors. See cloudwatchLoggingOptions Block below for details.
    code String
    SQL Code to transform input data, and generate output.
    createTimestamp String
    Timestamp when the application version was created.
    description String
    Description of the application.
    inputs AnalyticsApplicationInputs
    Input configuration of the application. See inputs Block below for details.
    lastUpdateTimestamp String
    Timestamp when the application was last updated.
    name String
    Name of the Kinesis Analytics Application.
    outputs List<AnalyticsApplicationOutput>
    Output destination configuration of the application. See outputs Block below for details.
    referenceDataSources AnalyticsApplicationReferenceDataSources
    S3 Reference Data Source for the application. See referenceDataSources Block below for details.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    startApplication Boolean
    Whether to start or stop the Kinesis Analytics Application. To start an application, an input with a defined startingPosition must be configured. To modify an application's starting position, first stop the application by setting startApplication = false, then update startingPosition and set startApplication = true.
    status String
    Status of the application.
    tags Map<String,String>
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    version Integer
    Version of the application.
    arn string
    ARN of the Kinesis Analytics Application.
    cloudwatchLoggingOptions AnalyticsApplicationCloudwatchLoggingOptions
    CloudWatch log stream options to monitor application errors. See cloudwatchLoggingOptions Block below for details.
    code string
    SQL Code to transform input data, and generate output.
    createTimestamp string
    Timestamp when the application version was created.
    description string
    Description of the application.
    inputs AnalyticsApplicationInputs
    Input configuration of the application. See inputs Block below for details.
    lastUpdateTimestamp string
    Timestamp when the application was last updated.
    name string
    Name of the Kinesis Analytics Application.
    outputs AnalyticsApplicationOutput[]
    Output destination configuration of the application. See outputs Block below for details.
    referenceDataSources AnalyticsApplicationReferenceDataSources
    S3 Reference Data Source for the application. See referenceDataSources Block below for details.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    startApplication boolean
    Whether to start or stop the Kinesis Analytics Application. To start an application, an input with a defined startingPosition must be configured. To modify an application's starting position, first stop the application by setting startApplication = false, then update startingPosition and set startApplication = true.
    status string
    Status of the application.
    tags {[key: string]: string}
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    version number
    Version of the application.
    arn str
    ARN of the Kinesis Analytics Application.
    cloudwatch_logging_options AnalyticsApplicationCloudwatchLoggingOptionsArgs
    CloudWatch log stream options to monitor application errors. See cloudwatchLoggingOptions Block below for details.
    code str
    SQL Code to transform input data, and generate output.
    create_timestamp str
    Timestamp when the application version was created.
    description str
    Description of the application.
    inputs AnalyticsApplicationInputsArgs
    Input configuration of the application. See inputs Block below for details.
    last_update_timestamp str
    Timestamp when the application was last updated.
    name str
    Name of the Kinesis Analytics Application.
    outputs Sequence[AnalyticsApplicationOutputArgs]
    Output destination configuration of the application. See outputs Block below for details.
    reference_data_sources AnalyticsApplicationReferenceDataSourcesArgs
    S3 Reference Data Source for the application. See referenceDataSources Block below for details.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    start_application bool
    Whether to start or stop the Kinesis Analytics Application. To start an application, an input with a defined startingPosition must be configured. To modify an application's starting position, first stop the application by setting startApplication = false, then update startingPosition and set startApplication = true.
    status str
    Status of the application.
    tags Mapping[str, str]
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    version int
    Version of the application.
    arn String
    ARN of the Kinesis Analytics Application.
    cloudwatchLoggingOptions Property Map
    CloudWatch log stream options to monitor application errors. See cloudwatchLoggingOptions Block below for details.
    code String
    SQL Code to transform input data, and generate output.
    createTimestamp String
    Timestamp when the application version was created.
    description String
    Description of the application.
    inputs Property Map
    Input configuration of the application. See inputs Block below for details.
    lastUpdateTimestamp String
    Timestamp when the application was last updated.
    name String
    Name of the Kinesis Analytics Application.
    outputs List<Property Map>
    Output destination configuration of the application. See outputs Block below for details.
    referenceDataSources Property Map
    S3 Reference Data Source for the application. See referenceDataSources Block below for details.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    startApplication Boolean
    Whether to start or stop the Kinesis Analytics Application. To start an application, an input with a defined startingPosition must be configured. To modify an application's starting position, first stop the application by setting startApplication = false, then update startingPosition and set startApplication = true.
    status String
    Status of the application.
    tags Map<String>
    Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    version Number
    Version of the application.

    Supporting Types

    AnalyticsApplicationCloudwatchLoggingOptions, AnalyticsApplicationCloudwatchLoggingOptionsArgs

    LogStreamArn string
    ARN of the CloudWatch Log Stream.
    RoleArn string
    ARN of the IAM Role used to send application messages.
    Id string
    ARN of the Kinesis Analytics Application.
    LogStreamArn string
    ARN of the CloudWatch Log Stream.
    RoleArn string
    ARN of the IAM Role used to send application messages.
    Id string
    ARN of the Kinesis Analytics Application.
    log_stream_arn string
    ARN of the CloudWatch Log Stream.
    role_arn string
    ARN of the IAM Role used to send application messages.
    id string
    ARN of the Kinesis Analytics Application.
    logStreamArn String
    ARN of the CloudWatch Log Stream.
    roleArn String
    ARN of the IAM Role used to send application messages.
    id String
    ARN of the Kinesis Analytics Application.
    logStreamArn string
    ARN of the CloudWatch Log Stream.
    roleArn string
    ARN of the IAM Role used to send application messages.
    id string
    ARN of the Kinesis Analytics Application.
    log_stream_arn str
    ARN of the CloudWatch Log Stream.
    role_arn str
    ARN of the IAM Role used to send application messages.
    id str
    ARN of the Kinesis Analytics Application.
    logStreamArn String
    ARN of the CloudWatch Log Stream.
    roleArn String
    ARN of the IAM Role used to send application messages.
    id String
    ARN of the Kinesis Analytics Application.

    AnalyticsApplicationInputs, AnalyticsApplicationInputsArgs

    NamePrefix string
    Name Prefix to use when creating an in-application stream.
    Schema AnalyticsApplicationInputsSchema
    Schema format of the data in the streaming source. See inputs.schema Block below for details.
    Id string
    ARN of the Kinesis Analytics Application.
    KinesisFirehose AnalyticsApplicationInputsKinesisFirehose
    Kinesis Firehose configuration for the streaming source. Conflicts with kinesisStream. See inputs.kinesis_firehose Block below for details.
    KinesisStream AnalyticsApplicationInputsKinesisStream
    Kinesis Stream configuration for the streaming source. Conflicts with kinesisFirehose. See inputs.kinesis_stream Block below for details.
    Parallelism AnalyticsApplicationInputsParallelism
    Number of Parallel in-application streams to create. See inputs.parallelism Block below for details.
    ProcessingConfiguration AnalyticsApplicationInputsProcessingConfiguration
    Processing Configuration to transform records as they are received from the stream. See inputs.processing_configuration Block below for details.
    StartingPositionConfigurations List<AnalyticsApplicationInputsStartingPositionConfiguration>
    Point at which the application starts processing records from the streaming source. See inputs.starting_position_configuration Block below for details.
    StreamNames List<string>
    Names of the in-application streams created for the input.
    NamePrefix string
    Name Prefix to use when creating an in-application stream.
    Schema AnalyticsApplicationInputsSchema
    Schema format of the data in the streaming source. See inputs.schema Block below for details.
    Id string
    ARN of the Kinesis Analytics Application.
    KinesisFirehose AnalyticsApplicationInputsKinesisFirehose
    Kinesis Firehose configuration for the streaming source. Conflicts with kinesisStream. See inputs.kinesis_firehose Block below for details.
    KinesisStream AnalyticsApplicationInputsKinesisStream
    Kinesis Stream configuration for the streaming source. Conflicts with kinesisFirehose. See inputs.kinesis_stream Block below for details.
    Parallelism AnalyticsApplicationInputsParallelism
    Number of Parallel in-application streams to create. See inputs.parallelism Block below for details.
    ProcessingConfiguration AnalyticsApplicationInputsProcessingConfiguration
    Processing Configuration to transform records as they are received from the stream. See inputs.processing_configuration Block below for details.
    StartingPositionConfigurations []AnalyticsApplicationInputsStartingPositionConfiguration
    Point at which the application starts processing records from the streaming source. See inputs.starting_position_configuration Block below for details.
    StreamNames []string
    Names of the in-application streams created for the input.
    name_prefix string
    Name Prefix to use when creating an in-application stream.
    schema object
    Schema format of the data in the streaming source. See inputs.schema Block below for details.
    id string
    ARN of the Kinesis Analytics Application.
    kinesis_firehose object
    Kinesis Firehose configuration for the streaming source. Conflicts with kinesisStream. See inputs.kinesis_firehose Block below for details.
    kinesis_stream object
    Kinesis Stream configuration for the streaming source. Conflicts with kinesisFirehose. See inputs.kinesis_stream Block below for details.
    parallelism object
    Number of Parallel in-application streams to create. See inputs.parallelism Block below for details.
    processing_configuration object
    Processing Configuration to transform records as they are received from the stream. See inputs.processing_configuration Block below for details.
    starting_position_configurations list(object)
    Point at which the application starts processing records from the streaming source. See inputs.starting_position_configuration Block below for details.
    stream_names list(string)
    Names of the in-application streams created for the input.
    namePrefix String
    Name Prefix to use when creating an in-application stream.
    schema AnalyticsApplicationInputsSchema
    Schema format of the data in the streaming source. See inputs.schema Block below for details.
    id String
    ARN of the Kinesis Analytics Application.
    kinesisFirehose AnalyticsApplicationInputsKinesisFirehose
    Kinesis Firehose configuration for the streaming source. Conflicts with kinesisStream. See inputs.kinesis_firehose Block below for details.
    kinesisStream AnalyticsApplicationInputsKinesisStream
    Kinesis Stream configuration for the streaming source. Conflicts with kinesisFirehose. See inputs.kinesis_stream Block below for details.
    parallelism AnalyticsApplicationInputsParallelism
    Number of Parallel in-application streams to create. See inputs.parallelism Block below for details.
    processingConfiguration AnalyticsApplicationInputsProcessingConfiguration
    Processing Configuration to transform records as they are received from the stream. See inputs.processing_configuration Block below for details.
    startingPositionConfigurations List<AnalyticsApplicationInputsStartingPositionConfiguration>
    Point at which the application starts processing records from the streaming source. See inputs.starting_position_configuration Block below for details.
    streamNames List<String>
    Names of the in-application streams created for the input.
    namePrefix string
    Name Prefix to use when creating an in-application stream.
    schema AnalyticsApplicationInputsSchema
    Schema format of the data in the streaming source. See inputs.schema Block below for details.
    id string
    ARN of the Kinesis Analytics Application.
    kinesisFirehose AnalyticsApplicationInputsKinesisFirehose
    Kinesis Firehose configuration for the streaming source. Conflicts with kinesisStream. See inputs.kinesis_firehose Block below for details.
    kinesisStream AnalyticsApplicationInputsKinesisStream
    Kinesis Stream configuration for the streaming source. Conflicts with kinesisFirehose. See inputs.kinesis_stream Block below for details.
    parallelism AnalyticsApplicationInputsParallelism
    Number of Parallel in-application streams to create. See inputs.parallelism Block below for details.
    processingConfiguration AnalyticsApplicationInputsProcessingConfiguration
    Processing Configuration to transform records as they are received from the stream. See inputs.processing_configuration Block below for details.
    startingPositionConfigurations AnalyticsApplicationInputsStartingPositionConfiguration[]
    Point at which the application starts processing records from the streaming source. See inputs.starting_position_configuration Block below for details.
    streamNames string[]
    Names of the in-application streams created for the input.
    name_prefix str
    Name Prefix to use when creating an in-application stream.
    schema AnalyticsApplicationInputsSchema
    Schema format of the data in the streaming source. See inputs.schema Block below for details.
    id str
    ARN of the Kinesis Analytics Application.
    kinesis_firehose AnalyticsApplicationInputsKinesisFirehose
    Kinesis Firehose configuration for the streaming source. Conflicts with kinesisStream. See inputs.kinesis_firehose Block below for details.
    kinesis_stream AnalyticsApplicationInputsKinesisStream
    Kinesis Stream configuration for the streaming source. Conflicts with kinesisFirehose. See inputs.kinesis_stream Block below for details.
    parallelism AnalyticsApplicationInputsParallelism
    Number of Parallel in-application streams to create. See inputs.parallelism Block below for details.
    processing_configuration AnalyticsApplicationInputsProcessingConfiguration
    Processing Configuration to transform records as they are received from the stream. See inputs.processing_configuration Block below for details.
    starting_position_configurations Sequence[AnalyticsApplicationInputsStartingPositionConfiguration]
    Point at which the application starts processing records from the streaming source. See inputs.starting_position_configuration Block below for details.
    stream_names Sequence[str]
    Names of the in-application streams created for the input.
    namePrefix String
    Name Prefix to use when creating an in-application stream.
    schema Property Map
    Schema format of the data in the streaming source. See inputs.schema Block below for details.
    id String
    ARN of the Kinesis Analytics Application.
    kinesisFirehose Property Map
    Kinesis Firehose configuration for the streaming source. Conflicts with kinesisStream. See inputs.kinesis_firehose Block below for details.
    kinesisStream Property Map
    Kinesis Stream configuration for the streaming source. Conflicts with kinesisFirehose. See inputs.kinesis_stream Block below for details.
    parallelism Property Map
    Number of Parallel in-application streams to create. See inputs.parallelism Block below for details.
    processingConfiguration Property Map
    Processing Configuration to transform records as they are received from the stream. See inputs.processing_configuration Block below for details.
    startingPositionConfigurations List<Property Map>
    Point at which the application starts processing records from the streaming source. See inputs.starting_position_configuration Block below for details.
    streamNames List<String>
    Names of the in-application streams created for the input.

    AnalyticsApplicationInputsKinesisFirehose, AnalyticsApplicationInputsKinesisFirehoseArgs

    ResourceArn string
    RoleArn string
    ResourceArn string
    RoleArn string
    resource_arn string
    role_arn string
    resourceArn String
    roleArn String
    resourceArn string
    roleArn string
    resourceArn String
    roleArn String

    AnalyticsApplicationInputsKinesisStream, AnalyticsApplicationInputsKinesisStreamArgs

    ResourceArn string
    RoleArn string
    ResourceArn string
    RoleArn string
    resource_arn string
    role_arn string
    resourceArn String
    roleArn String
    resourceArn string
    roleArn string
    resourceArn String
    roleArn String

    AnalyticsApplicationInputsParallelism, AnalyticsApplicationInputsParallelismArgs

    Count int
    Count of streams.
    Count int
    Count of streams.
    count number
    Count of streams.
    count Integer
    Count of streams.
    count number
    Count of streams.
    count int
    Count of streams.
    count Number
    Count of streams.

    AnalyticsApplicationInputsProcessingConfiguration, AnalyticsApplicationInputsProcessingConfigurationArgs

    AnalyticsApplicationInputsProcessingConfigurationLambda, AnalyticsApplicationInputsProcessingConfigurationLambdaArgs

    ResourceArn string
    RoleArn string
    ResourceArn string
    RoleArn string
    resource_arn string
    role_arn string
    resourceArn String
    roleArn String
    resourceArn string
    roleArn string
    resourceArn String
    roleArn String

    AnalyticsApplicationInputsSchema, AnalyticsApplicationInputsSchemaArgs

    AnalyticsApplicationInputsSchemaRecordColumn, AnalyticsApplicationInputsSchemaRecordColumnArgs

    Name string
    Name of the Kinesis Analytics Application.
    SqlType string
    Mapping string
    Name string
    Name of the Kinesis Analytics Application.
    SqlType string
    Mapping string
    name string
    Name of the Kinesis Analytics Application.
    sql_type string
    mapping string
    name String
    Name of the Kinesis Analytics Application.
    sqlType String
    mapping String
    name string
    Name of the Kinesis Analytics Application.
    sqlType string
    mapping string
    name str
    Name of the Kinesis Analytics Application.
    sql_type str
    mapping str
    name String
    Name of the Kinesis Analytics Application.
    sqlType String
    mapping String

    AnalyticsApplicationInputsSchemaRecordFormat, AnalyticsApplicationInputsSchemaRecordFormatArgs

    mapping_parameters object
    record_format_type string
    Type of Record Format of the input streaming source.
    mappingParameters Property Map
    recordFormatType String
    Type of Record Format of the input streaming source.

    AnalyticsApplicationInputsSchemaRecordFormatMappingParameters, AnalyticsApplicationInputsSchemaRecordFormatMappingParametersArgs

    AnalyticsApplicationInputsSchemaRecordFormatMappingParametersCsv, AnalyticsApplicationInputsSchemaRecordFormatMappingParametersCsvArgs

    AnalyticsApplicationInputsSchemaRecordFormatMappingParametersJson, AnalyticsApplicationInputsSchemaRecordFormatMappingParametersJsonArgs

    AnalyticsApplicationInputsStartingPositionConfiguration, AnalyticsApplicationInputsStartingPositionConfigurationArgs

    StartingPosition string
    Starting position on the stream. Valid values: LAST_STOPPED_POINT, NOW, TRIM_HORIZON.
    StartingPosition string
    Starting position on the stream. Valid values: LAST_STOPPED_POINT, NOW, TRIM_HORIZON.
    starting_position string
    Starting position on the stream. Valid values: LAST_STOPPED_POINT, NOW, TRIM_HORIZON.
    startingPosition String
    Starting position on the stream. Valid values: LAST_STOPPED_POINT, NOW, TRIM_HORIZON.
    startingPosition string
    Starting position on the stream. Valid values: LAST_STOPPED_POINT, NOW, TRIM_HORIZON.
    starting_position str
    Starting position on the stream. Valid values: LAST_STOPPED_POINT, NOW, TRIM_HORIZON.
    startingPosition String
    Starting position on the stream. Valid values: LAST_STOPPED_POINT, NOW, TRIM_HORIZON.

    AnalyticsApplicationOutput, AnalyticsApplicationOutputArgs

    Name string
    Name of the in-application stream.
    Schema AnalyticsApplicationOutputSchema
    Schema format of the data written to the destination. See outputs.schema Block below for details.
    Id string
    ARN of the Kinesis Analytics Application.
    KinesisFirehose AnalyticsApplicationOutputKinesisFirehose
    Kinesis Firehose configuration for the destination stream. Conflicts with kinesisStream. See outputs.kinesis_firehose Block below for details.
    KinesisStream AnalyticsApplicationOutputKinesisStream
    Kinesis Stream configuration for the destination stream. Conflicts with kinesisFirehose. See outputs.kinesis_stream Block below for details.
    Lambda AnalyticsApplicationOutputLambda
    Lambda function destination. See outputs.lambda Block below for details.
    Name string
    Name of the in-application stream.
    Schema AnalyticsApplicationOutputSchema
    Schema format of the data written to the destination. See outputs.schema Block below for details.
    Id string
    ARN of the Kinesis Analytics Application.
    KinesisFirehose AnalyticsApplicationOutputKinesisFirehose
    Kinesis Firehose configuration for the destination stream. Conflicts with kinesisStream. See outputs.kinesis_firehose Block below for details.
    KinesisStream AnalyticsApplicationOutputKinesisStream
    Kinesis Stream configuration for the destination stream. Conflicts with kinesisFirehose. See outputs.kinesis_stream Block below for details.
    Lambda AnalyticsApplicationOutputLambda
    Lambda function destination. See outputs.lambda Block below for details.
    name string
    Name of the in-application stream.
    schema object
    Schema format of the data written to the destination. See outputs.schema Block below for details.
    id string
    ARN of the Kinesis Analytics Application.
    kinesis_firehose object
    Kinesis Firehose configuration for the destination stream. Conflicts with kinesisStream. See outputs.kinesis_firehose Block below for details.
    kinesis_stream object
    Kinesis Stream configuration for the destination stream. Conflicts with kinesisFirehose. See outputs.kinesis_stream Block below for details.
    lambda object
    Lambda function destination. See outputs.lambda Block below for details.
    name String
    Name of the in-application stream.
    schema AnalyticsApplicationOutputSchema
    Schema format of the data written to the destination. See outputs.schema Block below for details.
    id String
    ARN of the Kinesis Analytics Application.
    kinesisFirehose AnalyticsApplicationOutputKinesisFirehose
    Kinesis Firehose configuration for the destination stream. Conflicts with kinesisStream. See outputs.kinesis_firehose Block below for details.
    kinesisStream AnalyticsApplicationOutputKinesisStream
    Kinesis Stream configuration for the destination stream. Conflicts with kinesisFirehose. See outputs.kinesis_stream Block below for details.
    lambda AnalyticsApplicationOutputLambda
    Lambda function destination. See outputs.lambda Block below for details.
    name string
    Name of the in-application stream.
    schema AnalyticsApplicationOutputSchema
    Schema format of the data written to the destination. See outputs.schema Block below for details.
    id string
    ARN of the Kinesis Analytics Application.
    kinesisFirehose AnalyticsApplicationOutputKinesisFirehose
    Kinesis Firehose configuration for the destination stream. Conflicts with kinesisStream. See outputs.kinesis_firehose Block below for details.
    kinesisStream AnalyticsApplicationOutputKinesisStream
    Kinesis Stream configuration for the destination stream. Conflicts with kinesisFirehose. See outputs.kinesis_stream Block below for details.
    lambda AnalyticsApplicationOutputLambda
    Lambda function destination. See outputs.lambda Block below for details.
    name str
    Name of the in-application stream.
    schema AnalyticsApplicationOutputSchema
    Schema format of the data written to the destination. See outputs.schema Block below for details.
    id str
    ARN of the Kinesis Analytics Application.
    kinesis_firehose AnalyticsApplicationOutputKinesisFirehose
    Kinesis Firehose configuration for the destination stream. Conflicts with kinesisStream. See outputs.kinesis_firehose Block below for details.
    kinesis_stream AnalyticsApplicationOutputKinesisStream
    Kinesis Stream configuration for the destination stream. Conflicts with kinesisFirehose. See outputs.kinesis_stream Block below for details.
    lambda_ AnalyticsApplicationOutputLambda
    Lambda function destination. See outputs.lambda Block below for details.
    name String
    Name of the in-application stream.
    schema Property Map
    Schema format of the data written to the destination. See outputs.schema Block below for details.
    id String
    ARN of the Kinesis Analytics Application.
    kinesisFirehose Property Map
    Kinesis Firehose configuration for the destination stream. Conflicts with kinesisStream. See outputs.kinesis_firehose Block below for details.
    kinesisStream Property Map
    Kinesis Stream configuration for the destination stream. Conflicts with kinesisFirehose. See outputs.kinesis_stream Block below for details.
    lambda Property Map
    Lambda function destination. See outputs.lambda Block below for details.

    AnalyticsApplicationOutputKinesisFirehose, AnalyticsApplicationOutputKinesisFirehoseArgs

    ResourceArn string
    RoleArn string
    ResourceArn string
    RoleArn string
    resource_arn string
    role_arn string
    resourceArn String
    roleArn String
    resourceArn string
    roleArn string
    resourceArn String
    roleArn String

    AnalyticsApplicationOutputKinesisStream, AnalyticsApplicationOutputKinesisStreamArgs

    ResourceArn string
    RoleArn string
    ResourceArn string
    RoleArn string
    resource_arn string
    role_arn string
    resourceArn String
    roleArn String
    resourceArn string
    roleArn string
    resourceArn String
    roleArn String

    AnalyticsApplicationOutputLambda, AnalyticsApplicationOutputLambdaArgs

    ResourceArn string
    RoleArn string
    ResourceArn string
    RoleArn string
    resource_arn string
    role_arn string
    resourceArn String
    roleArn String
    resourceArn string
    roleArn string
    resourceArn String
    roleArn String

    AnalyticsApplicationOutputSchema, AnalyticsApplicationOutputSchemaArgs

    RecordFormatType string
    Format Type of the records on the output stream. Can be CSV or JSON.
    RecordFormatType string
    Format Type of the records on the output stream. Can be CSV or JSON.
    record_format_type string
    Format Type of the records on the output stream. Can be CSV or JSON.
    recordFormatType String
    Format Type of the records on the output stream. Can be CSV or JSON.
    recordFormatType string
    Format Type of the records on the output stream. Can be CSV or JSON.
    record_format_type str
    Format Type of the records on the output stream. Can be CSV or JSON.
    recordFormatType String
    Format Type of the records on the output stream. Can be CSV or JSON.

    AnalyticsApplicationReferenceDataSources, AnalyticsApplicationReferenceDataSourcesArgs

    S3 AnalyticsApplicationReferenceDataSourcesS3
    S3 configuration for the reference data source. See reference_data_sources.s3 Block below for details.
    Schema AnalyticsApplicationReferenceDataSourcesSchema
    Schema format of the data in the streaming source. See reference_data_sources.schema Block below for details.
    TableName string
    In-application Table Name.
    Id string
    ARN of the Kinesis Analytics Application.
    S3 AnalyticsApplicationReferenceDataSourcesS3
    S3 configuration for the reference data source. See reference_data_sources.s3 Block below for details.
    Schema AnalyticsApplicationReferenceDataSourcesSchema
    Schema format of the data in the streaming source. See reference_data_sources.schema Block below for details.
    TableName string
    In-application Table Name.
    Id string
    ARN of the Kinesis Analytics Application.
    s3 object
    S3 configuration for the reference data source. See reference_data_sources.s3 Block below for details.
    schema object
    Schema format of the data in the streaming source. See reference_data_sources.schema Block below for details.
    table_name string
    In-application Table Name.
    id string
    ARN of the Kinesis Analytics Application.
    s3 AnalyticsApplicationReferenceDataSourcesS3
    S3 configuration for the reference data source. See reference_data_sources.s3 Block below for details.
    schema AnalyticsApplicationReferenceDataSourcesSchema
    Schema format of the data in the streaming source. See reference_data_sources.schema Block below for details.
    tableName String
    In-application Table Name.
    id String
    ARN of the Kinesis Analytics Application.
    s3 AnalyticsApplicationReferenceDataSourcesS3
    S3 configuration for the reference data source. See reference_data_sources.s3 Block below for details.
    schema AnalyticsApplicationReferenceDataSourcesSchema
    Schema format of the data in the streaming source. See reference_data_sources.schema Block below for details.
    tableName string
    In-application Table Name.
    id string
    ARN of the Kinesis Analytics Application.
    s3 AnalyticsApplicationReferenceDataSourcesS3
    S3 configuration for the reference data source. See reference_data_sources.s3 Block below for details.
    schema AnalyticsApplicationReferenceDataSourcesSchema
    Schema format of the data in the streaming source. See reference_data_sources.schema Block below for details.
    table_name str
    In-application Table Name.
    id str
    ARN of the Kinesis Analytics Application.
    s3 Property Map
    S3 configuration for the reference data source. See reference_data_sources.s3 Block below for details.
    schema Property Map
    Schema format of the data in the streaming source. See reference_data_sources.schema Block below for details.
    tableName String
    In-application Table Name.
    id String
    ARN of the Kinesis Analytics Application.

    AnalyticsApplicationReferenceDataSourcesS3, AnalyticsApplicationReferenceDataSourcesS3Args

    BucketArn string
    S3 Bucket ARN.
    FileKey string
    File Key name containing reference data.
    RoleArn string
    BucketArn string
    S3 Bucket ARN.
    FileKey string
    File Key name containing reference data.
    RoleArn string
    bucket_arn string
    S3 Bucket ARN.
    file_key string
    File Key name containing reference data.
    role_arn string
    bucketArn String
    S3 Bucket ARN.
    fileKey String
    File Key name containing reference data.
    roleArn String
    bucketArn string
    S3 Bucket ARN.
    fileKey string
    File Key name containing reference data.
    roleArn string
    bucket_arn str
    S3 Bucket ARN.
    file_key str
    File Key name containing reference data.
    role_arn str
    bucketArn String
    S3 Bucket ARN.
    fileKey String
    File Key name containing reference data.
    roleArn String

    AnalyticsApplicationReferenceDataSourcesSchema, AnalyticsApplicationReferenceDataSourcesSchemaArgs

    AnalyticsApplicationReferenceDataSourcesSchemaRecordColumn, AnalyticsApplicationReferenceDataSourcesSchemaRecordColumnArgs

    Name string
    Name of the Kinesis Analytics Application.
    SqlType string
    Mapping string
    Name string
    Name of the Kinesis Analytics Application.
    SqlType string
    Mapping string
    name string
    Name of the Kinesis Analytics Application.
    sql_type string
    mapping string
    name String
    Name of the Kinesis Analytics Application.
    sqlType String
    mapping String
    name string
    Name of the Kinesis Analytics Application.
    sqlType string
    mapping string
    name str
    Name of the Kinesis Analytics Application.
    sql_type str
    mapping str
    name String
    Name of the Kinesis Analytics Application.
    sqlType String
    mapping String

    AnalyticsApplicationReferenceDataSourcesSchemaRecordFormat, AnalyticsApplicationReferenceDataSourcesSchemaRecordFormatArgs

    mapping_parameters object
    record_format_type string
    Type of Record Format of the reference data source.
    mappingParameters Property Map
    recordFormatType String
    Type of Record Format of the reference data source.

    AnalyticsApplicationReferenceDataSourcesSchemaRecordFormatMappingParameters, AnalyticsApplicationReferenceDataSourcesSchemaRecordFormatMappingParametersArgs

    AnalyticsApplicationReferenceDataSourcesSchemaRecordFormatMappingParametersCsv, AnalyticsApplicationReferenceDataSourcesSchemaRecordFormatMappingParametersCsvArgs

    AnalyticsApplicationReferenceDataSourcesSchemaRecordFormatMappingParametersJson, AnalyticsApplicationReferenceDataSourcesSchemaRecordFormatMappingParametersJsonArgs

    Import

    Using pulumi import, import Kinesis Analytics Application using ARN. For example:

    $ pulumi import aws:kinesis/analyticsApplication:AnalyticsApplication example arn:aws:kinesisanalytics:us-west-2:1234567890:application/example
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo aws logo
    Viewing docs for AWS v7.52.1
    published on Wednesday, Oct 28, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial