Interface SpecRestApiProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable, RestApiBaseProps
All Known Implementing Classes:
SpecRestApiProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:45.091Z") @Stability(Stable) public interface SpecRestApiProps extends software.amazon.jsii.JsiiSerializable, RestApiBaseProps
Props to instantiate a new SpecRestApi.

Example:

 Integration integration;
 SpecRestApi api = SpecRestApi.Builder.create(this, "books-api")
         .apiDefinition(ApiDefinition.fromAsset("path-to-file.json"))
         .build();
 Resource booksResource = api.root.addResource("books");
 booksResource.addMethod("GET", integration);