.NET Annotations Lambda Frameworkでarm64を指定する方法

.NET Annotations Lambda Frameworkは、ASP.NET MVC同様にAnnotationでRoutingが指定できるなどAWS Lambda固有のhandler廻りの処理を隠蔽できる便利なフレームワークですが、 aws.amazon.com まだPreview版ということもあってか、最新のv0.13であってもCPU Architechture("x86-64"または"arm64")を指定することができません。

Blueprint `Empty Function`で作成した場合のUpload画面(Architechture指定有り)

Blueprint `Annotations Lambda Framework`で作成した場合のUpload画面(Architechture指定無し)

一方でserverless.templateを直接いじることで指定は可能で、その指定はビルドし直しても消えません。

{
   "AWSTemplateFormatVersion": "2010-09-09",
    "Transform": "AWS::Serverless-2016-10-31",
    "Description": "An AWS Serverless Application. This template is partially managed by Amazon.Lambda.Annotations (v0.13.0.0).",
+   "Globals": {
+     "Function": {
+       "Architectures": [ "arm64" ]
+     }
+   },
    "Resources": {

細かいことを言うとLambdaのArchitectureは関数単位に指定することができ、現在でもMemorySizeなどはAnnotation指定が可能(下記コードスニペット参照)となっていますが、Annotations Lambda Frameworkで作ったひとつのプロジェクト内で異なるArchitectureを使いたいということはまず無いでしょうから、上記の例のように"Globals"で書くのが楽かと。

        [LambdaFunction(MemorySize = 128)]   // ←このAnnotationでArchitectureが指定できればいいのに...
        [HttpApi(LambdaHttpMethod.Get, "/")] 
        public string Default()
        {
            var docs = @"Lambda Calculator Home:
You can make the following requests to invoke other Lambda functions perform calculator operations:
/add/{x}/{y}
/substract/{x}/{y}
/multiply/{x}/{y}
/divide/{x}/{y}
";
            return docs;
        }