lib/jets/resource/api_gateway/deployment.rb in jets-2.3.19 vs lib/jets/resource/api_gateway/deployment.rb in jets-3.0.0
- old
+ new
@@ -13,14 +13,16 @@
}
end
def parameters
p = {
+ "GemLayer" => "GemLayer",
"IamRole" => "IamRole",
"RestApi" => "RestApi",
"S3Bucket" => "S3Bucket",
}
p[:DomainName] = "DomainName" if Jets.custom_domain?
+ p[:BasePath] = "BasePath" unless Jets.config.domain.base_path.nil?
p
end
def outputs(internal=false)
rest_api = internal ? RestApi.internal_logical_id : "RestApi"
\ No newline at end of file