<gh_stars>0
from aws_cdk import core as cdk
import aws_cdk.aws_sqs as sqs

class QueueStack(cdk.Stack):

    def __init__(self, scope: cdk.Construct, construct_id: str, queue_props: dict, **kwargs) -> None:
        super().__init__(scope, construct_id, **kwargs)

        # Required props
        queue_name = queue_props["queue_name"]

        # Optional props
        wait_time = queue_props.get("wait_time", 20)

        sqs.Queue(
            self,
            construct_id,
            queue_name=queue_name,
            receive_message_wait_time=cdk.Duration.seconds(wait_time),
        )

from aws_cdk import core as cdk
import aws_cdk.aws_sqs as sqs

class QueueStack(cdk.Stack):

    def __init__(self, scope: cdk.Construct, construct_id: str, queue_props: dict, **kwargs) -> None:
        super().__init__(scope, construct_id, **kwargs)

        # Required props
        queue_name = queue_props["queue_name"]

        # Optional props
        wait_time = queue_props.get("wait_time", 20)

        sqs.Queue(
            self,
            construct_id,
            queue_name=queue_name,
            receive_message_wait_time=cdk.Duration.seconds(wait_time),
        )
# Required props # Optional props