Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/apache-spark/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Amazon web services 使用SAM将VPC端点连接到专用Rest API_Amazon Web Services_Aws Api Gateway_Aws Serverless_Aws Sam - Fatal编程技术网

Amazon web services 使用SAM将VPC端点连接到专用Rest API

Amazon web services 使用SAM将VPC端点连接到专用Rest API,amazon-web-services,aws-api-gateway,aws-serverless,aws-sam,Amazon Web Services,Aws Api Gateway,Aws Serverless,Aws Sam,我正在尝试使用AWS SAM将VPC端点连接到我的私有Rest API。 我正在使用。我正在使用属性EndpointConfiguration将其标记为private 文档中说它类似于的EndpointConfiguration。但它只接受“PRIVATE”或“REGIONAL”之类的字符串。没有像云形成模板那样添加vpc端点的选项 MyAPI: Type: AWS::Serverless::Api Properties: Name: MyAPI StageName: prod En

我正在尝试使用AWS SAM将VPC端点连接到我的私有Rest API。 我正在使用。我正在使用属性EndpointConfiguration将其标记为private

文档中说它类似于的EndpointConfiguration。但它只接受“PRIVATE”或“REGIONAL”之类的字符串。没有像云形成模板那样添加vpc端点的选项

MyAPI:
Type: AWS::Serverless::Api
Properties:
  Name: MyAPI
  StageName: prod
  EndpointConfiguration: PRIVATE
  ...
  ...

有没有办法通过SAM将vpc端点连接到APIG?

在SAM中似乎还不支持。不过CloudFormation有这个选择