I am trying to deploy AWS::ApiGateway::Method integrated with SQS (name: CFTestQueue.fifo), but I got an error:
Invalid ARN specified in the request (Service: AmazonApiGateway; Status Code: 400; Error Code: BadRequestException; Request ID: dd023af6-9fee-4fdd-a7d6-777b539af8c5; Proxy: null)
I am trying to deploy AWS::ApiGateway::Method integrated with SQS (name: CFTestQueue.fifo), but I got an error: Invalid ARN specified in the request (Service: AmazonApiGateway; Status Code: 400; Error Code: BadRequestException; Request ID: dd023af6-9fee-4fdd-a7d6-777b539af8c5; Proxy: null)
UserPostMethod: Type: AWS::ApiGateway::Method Properties: HttpMethod: "POST" ResourceId: !GetAtt UserResourceRestApi.ResourceId RestApiId: !Ref AddUserTestRestApi AuthorizationType: NONE Integration: Type: AWS IntegrationHttpMethod: "POST" Uri: !Sub "arn:aws:apigateway:${AWS::Region}:sqs:path/${AWS::AccountId}/CFTestQueue.fifo" Credentials: !Ref testApiGatewaySqsRole DependsOn: AddUserCFTestSQS
Can you please take a look and help me find what is the root cause of the error? Thanks!