import * as core from "@terrascript/core"; export interface KinesisStreamingDestinationArgs extends core.ResourceArgs { /** * (Required) The ARN for a Kinesis data stream. This must exist in the same account and region as the * DynamoDB table. */ streamArn: string | core.StringOut; /** * (Required) The name of the DynamoDB table. There */ tableName: string | core.StringOut; } export class KinesisStreamingDestination extends core.Resource { /** * The `table_name` and `stream_arn` separated by a comma (`,`). */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The ARN for a Kinesis data stream. This must exist in the same account and region as the * DynamoDB table. */ @core.attr(String) public streamArn!: string | core.StringOut; /** * (Required) The name of the DynamoDB table. There */ @core.attr(String) public tableName!: string | core.StringOut; constructor(name: string, args?: KinesisStreamingDestinationArgs) { super(name, "aws_dynamodb_kinesis_streaming_destination", args); } public override getNamespace(): string { return "aws_dynamodb"; } }