There is a circular dependency. The AWS::ApiGateway::Authorizer requires a RestApiId field. The apiGatewayServiceProxies which defines the RestApi requires the AuthorizerId.