import * as core from "@terrascript/core"; export interface StreamConsumerArgs extends core.ResourceArgs { /** * (Required, Forces new resource) Name of the stream consumer. */ name: string | core.StringOut; streamArn: string | core.StringOut; } export class StreamConsumer extends core.Resource { /** * Amazon Resource Name (ARN) of the stream consumer. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * Approximate timestamp in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) of when t * he stream consumer was created. */ @core.attr(String, { computed: true }) public creationTimestamp!: string | core.StringOut; /** * Amazon Resource Name (ARN) of the stream consumer. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required, Forces new resource) Name of the stream consumer. */ @core.attr(String) public name!: string | core.StringOut; @core.attr(String) public streamArn!: string | core.StringOut; constructor(name: string, args?: StreamConsumerArgs) { super(name, "aws_kinesis_stream_consumer", args); } public override getNamespace(): string { return "aws_kinesis"; } }