How to create predefined restApi resource? with explicit name
问题 Below is the SAM template that tries giving explicit name( some_name ) to restApi resource on AWS: SampleApi: Type: AWS::Serverless::Api Properties: Name: some_name But I see the events in stack creation as: User: arn:aws:sts::1111222333344:assumed-role/some-role/i-34454503ea88 is not authorized to perform: apigateway:DELETE on resource: arn:aws:apigateway:us-east-1::/restapis/vxrf0gfs2a where vxrf0gfs2a is the random name of restApi Cloudformation stack creates Api gateway with explicit name