# API Reference **Classes** Name|Description ----|----------- [TweetQueue](#cdk-tweet-queue-tweetqueue)|*No description* **Structs** Name|Description ----|----------- [TweetQueueProps](#cdk-tweet-queue-tweetqueueprops)|*No description* ## class TweetQueue __Implements__: [IConstruct](#constructs-iconstruct), [IDependable](#constructs-idependable), [IResource](#aws-cdk-lib-iresource), [IDependable](#constructs-idependable), [IConstruct](#constructs-iconstruct), [aws_sqs.IQueue](#aws-cdk-lib-aws-sqs-iqueue), [IDependable](#constructs-idependable), [IConstruct](#constructs-iconstruct), [IResource](#aws-cdk-lib-iresource) __Extends__: [aws_sqs.Queue](#aws-cdk-lib-aws-sqs-queue) ### Initializer ```ts new TweetQueue(parent: Construct, id: string, props: TweetQueueProps) ``` * **parent** ([Construct](#constructs-construct)) *No description* * **id** (string) *No description* * **props** ([TweetQueueProps](#cdk-tweet-queue-tweetqueueprops)) *No description* * **query** (string) The twitter query string to stream. * **secretArn** (string) The SecretsManager secret that contains Twitter authentication credentials from https://apps.twitter.com/ with the following attributes (exact names): - consumer_key - consumer_secret - access_token_key - access_token_secret. * **intervalMin** (number) Polling interval in minutes. __*Default*__: 1min * **retentionPeriodSec** (number) Number of seconds for messages to wait in the queue for processing. __*Default*__: 60 seconds * **visibilityTimeoutSec** (number) Number of seconds for messages to be invisible while they are processed. __*Default*__: 60 seconds ## struct TweetQueueProps Name | Type | Description -----|------|------------- **query** | string | The twitter query string to stream. **secretArn** | string | The SecretsManager secret that contains Twitter authentication credentials from https://apps.twitter.com/ with the following attributes (exact names): - consumer_key - consumer_secret - access_token_key - access_token_secret. **intervalMin**? | number | Polling interval in minutes.
__*Default*__: 1min **retentionPeriodSec**? | number | Number of seconds for messages to wait in the queue for processing.
__*Default*__: 60 seconds **visibilityTimeoutSec**? | number | Number of seconds for messages to be invisible while they are processed.
__*Default*__: 60 seconds