Supported attributes for dynamodb streams

Per this link, there is support for extended stream attributes.
However, when I try and put in the below configuration, only the arn, batchSize and type are applied.
What am I doing wrong?

      - stream:
          type: dynamodb
          batchSize: 10
          batchWindow: 10 # Seconds before processing pending records
          startingPosition: LATEST
          enabled: true
          bisectBatchOnFunctionError: true
          maximumRetryAttempts: 10
          onFailure: AN_ARN_HERE
            Fn::GetAtt: [sales, StreamArn]