title: AWS SQS FIFO Queue event source, is maximumBatchingWindowInSeconds supported?
body: <p>Documentation says maximumBatchingWindowInSeconds is now supported and that:</p>
  <blockquote>
  <p>For a FIFO queue the maximum is 10. For a batch size over 10, you must also set the MaximumBatchingWindowInSeconds parameter to at least 1 second.</p>
  </blockquote>
  <p>However, I'm getting: &quot;Invalid request provided: Batching window is not supported for FIFO queues&quot; when trying to create an event source mapping.</p>
  <p>So is it supported or not and if it is how do I enable it?</p>
  <p>I need a FIFO Queue with a larger than 10 batch size.</p>
  <p>I'm using AWS CDK to create the resource stack. My EventSourceMapping looks like this:</p>
  <pre><code>const cfnEventSourceMapping = new CfnEventSourceMapping(this, 'Auth0ImportQEventSourceMapping', {
    batchSize: 10,
    enabled: true,
    eventSourceArn: auth0ImportQ.queueArn,
    functionName: auth0ImportLambda.functionName,
    maximumBatchingWindowInSeconds: 10,
  });
  </code></pre>