Creating Subscription with Filter Policy

I got issue about Subscription Filter Policy.
I got error message below.

 An error occurred: SNSSubscription - Invalid parameter: Attributes Reason: Delivery protocol SQS does not support message filtering. 

But I can set filtering to Subscription which protocol is SQS on AWS console.
Do you know how to solve it?

yml file is like below.

resources:
  Resources:
    SQSQueue:
      Type: AWS::SQS::Queue
      Properties:
        QueueName: ${self:service}-${self:provider.stage}-queue
    SNSTopic:
      Type: AWS::SNS::Topic
      Properties:
        DisplayName: SNS Topic
        TopicName: ${self:service}-${self:provider.stage}-topic
    SNSSubscription:
      Type: AWS::SNS::Subscription
      Properties:
          Endpoint: { "Fn::Join" : ["", ["arn:aws:sqs:${self:provider.region}:", { "Ref" : "AWS::AccountId" }, ":${self:resources.Resources.SQSQueue.Properties.QueueName}" ] ]  }
          Protocol: SQS
          TopicArn: { "Fn::Join" : ["", ["arn:aws:sns:${self:provider.region}:", { "Ref" : "AWS::AccountId" }, ":${self:resources.Resources.SNSTopic.Properties.TopicName}" ] ]  }
          FilterPolicy:
            test:
              - test1
              - test2

Thanks in advance.