Class OpenApiGatewayPythonProject
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.Project
-
- io.github.cdklabs.projen.github.GitHubProject
-
- io.github.cdklabs.projen.python.PythonProject
-
- software.aws.awsprototypingsdk.openapigateway.OpenApiGatewayPythonProject
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.61.0 (build abf4039)", date="2022-07-07T06:39:53.740Z") @Stability(Experimental) public class OpenApiGatewayPythonProject extends io.github.cdklabs.projen.python.PythonProject
(experimental) Synthesizes a Python Project with an OpenAPI spec, generated clients, a CDK construct for deploying the API with API Gateway, and generated lambda handler wrappers for type-safe handling of requests.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOpenApiGatewayPythonProject.Builder(experimental) A fluent builder forOpenApiGatewayPythonProject.
-
Constructor Summary
Constructors Modifier Constructor Description protectedOpenApiGatewayPythonProject(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedOpenApiGatewayPythonProject(software.amazon.jsii.JsiiObjectRef objRef)OpenApiGatewayPythonProject(OpenApiGatewayPythonProjectOptions options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetApiSrcDir()(experimental) The directory in which the api generated code will reside, relative to the project srcdir.Map<String,io.github.cdklabs.projen.Project>getGeneratedClients()(experimental) References to the client projects that were generated, keyed by language.StringgetGeneratedCodeDir()(experimental) The directory in which generated client code will be generated, relative to the outdir of this project.io.github.cdklabs.projen.python.PythonProjectgetGeneratedPythonClient()(experimental) A reference to the generated python client.StringgetSpecDir()(experimental) The directory in which the OpenAPI spec file(s) reside, relative to the project srcdir.StringgetSpecFileName()(experimental) The name of the spec file.-
Methods inherited from class io.github.cdklabs.projen.python.PythonProject
addDependency, addDevDependency, getDepsManager, getEnvManager, getModuleName, getPackagingManager, getPytest, getVersion, postSynthesize, setPytest
-
Methods inherited from class io.github.cdklabs.projen.github.GitHubProject
annotateGenerated, getAutoApprove, getDevContainer, getGithub, getGitpod, getProjectType, getVscode
-
Methods inherited from class io.github.cdklabs.projen.Project
addExcludeFromCleanup, addGitIgnore, addPackageIgnore, addTask, addTask, addTip, getBuildTask, getCompileTask, getComponents, getDefaultTask, getDeps, getEjected, getFiles, getGitattributes, getGitignore, getInitProject, getLogger, getName, getOutdir, getPackageTask, getParent, getPostCompileTask, getPreCompileTask, getProjectBuild, getProjenCommand, getRoot, getTasks, getTestTask, preSynthesize, removeTask, runTaskCommand, synth, tryFindFile, tryFindJsonFile, tryFindObjectFile, tryRemoveFile
-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Constructor Detail
-
OpenApiGatewayPythonProject
protected OpenApiGatewayPythonProject(software.amazon.jsii.JsiiObjectRef objRef)
-
OpenApiGatewayPythonProject
protected OpenApiGatewayPythonProject(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
OpenApiGatewayPythonProject
@Stability(Experimental) public OpenApiGatewayPythonProject(@NotNull OpenApiGatewayPythonProjectOptions options)- Parameters:
options- This parameter is required.
-
-
Method Detail
-
getApiSrcDir
@Stability(Experimental) @NotNull public String getApiSrcDir()
(experimental) The directory in which the api generated code will reside, relative to the project srcdir.
-
getGeneratedClients
@Stability(Experimental) @NotNull public Map<String,io.github.cdklabs.projen.Project> getGeneratedClients()
(experimental) References to the client projects that were generated, keyed by language.
-
getGeneratedCodeDir
@Stability(Experimental) @NotNull public String getGeneratedCodeDir()
(experimental) The directory in which generated client code will be generated, relative to the outdir of this project.
-
getGeneratedPythonClient
@Stability(Experimental) @NotNull public io.github.cdklabs.projen.python.PythonProject getGeneratedPythonClient()
(experimental) A reference to the generated python client.
-
getSpecDir
@Stability(Experimental) @NotNull public String getSpecDir()
(experimental) The directory in which the OpenAPI spec file(s) reside, relative to the project srcdir.
-
getSpecFileName
@Stability(Experimental) @NotNull public String getSpecFileName()
(experimental) The name of the spec file.
-
-