Class SmithyApiGatewayTsProject
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.Project
-
- io.github.cdklabs.projen.github.GitHubProject
-
- io.github.cdklabs.projen.javascript.NodeProject
-
- io.github.cdklabs.projen.typescript.TypeScriptProject
-
- software.aws.awsprototypingsdk.openapigateway.OpenApiGatewayTsProject
-
- software.aws.awsprototypingsdk.openapigateway.SmithyApiGatewayTsProject
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-01T04:12:25.198Z") @Stability(Experimental) public class SmithyApiGatewayTsProject extends OpenApiGatewayTsProject
(experimental) Synthesizes a Typescript Project with a Smithy model, 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 classSmithyApiGatewayTsProject.Builder(experimental) A fluent builder forSmithyApiGatewayTsProject.
-
Constructor Summary
Constructors Modifier Constructor Description protectedSmithyApiGatewayTsProject(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedSmithyApiGatewayTsProject(software.amazon.jsii.JsiiObjectRef objRef)SmithyApiGatewayTsProject(SmithyApiGatewayTsProjectOptions options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetModelDir()(experimental) The directory in which the smithy model files reside.protected OpenApiGatewayTsProjectOptionspreConstruct(OpenApiGatewayTsProjectOptions options)(experimental) This method provides inheritors a chance to synthesize extra resources prior to those created by this project.-
Methods inherited from class software.aws.awsprototypingsdk.openapigateway.OpenApiGatewayTsProject
getApiSrcDir, getForceGenerateCodeAndDocs, getGeneratedClients, getGeneratedCodeDir, getGeneratedTypescriptClient, getPnpmWorkspace, getSpecDir, getSpecFileName, postSynthesize, preSynthesize
-
Methods inherited from class io.github.cdklabs.projen.typescript.TypeScriptProject
getDocgen, getDocsDirectory, getEslint, getLibdir, getSrcdir, getTestdir, getTsconfig, getTsconfigDev, getTsconfigEslint, getWatchTask
-
Methods inherited from class io.github.cdklabs.projen.javascript.NodeProject
addBins, addBundledDeps, addCompileCommand, addDeps, addDevDeps, addFields, addKeywords, addPackageIgnore, addPeerDeps, addTestCommand, getAllowLibraryDependencies, getArtifactsDirectory, getArtifactsJavascriptDirectory, getAutoMerge, getBuildWorkflow, getBuildWorkflowJobId, getBundler, getEntrypoint, getJest, getManifest, getMaxNodeVersion, getMinNodeVersion, getNodeVersion, getNpmignore, getPackageManager, getPackageValue, getPrettier, getPublisher, getRelease, getRunScriptCommand, getUpgradeWorkflow, hasScript, removeScript, renderWorkflowSetup, renderWorkflowSetup, runTaskCommand, setScript
-
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, addTask, addTask, addTip, getBuildTask, getCommitGenerated, getCompileTask, getComponents, getDefaultTask, getDeps, getEjected, getFiles, getGitattributes, getGitignore, getInitProject, getLogger, getName, getOutdir, getPackageTask, getParent, getPostCompileTask, getPreCompileTask, getProjectBuild, getProjenCommand, getRoot, getTasks, getTestTask, removeTask, 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
-
SmithyApiGatewayTsProject
protected SmithyApiGatewayTsProject(software.amazon.jsii.JsiiObjectRef objRef)
-
SmithyApiGatewayTsProject
protected SmithyApiGatewayTsProject(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
SmithyApiGatewayTsProject
@Stability(Experimental) public SmithyApiGatewayTsProject(@NotNull SmithyApiGatewayTsProjectOptions options)- Parameters:
options- This parameter is required.
-
-
Method Detail
-
preConstruct
@Stability(Experimental) @NotNull protected OpenApiGatewayTsProjectOptions preConstruct(@NotNull OpenApiGatewayTsProjectOptions options)
(experimental) This method provides inheritors a chance to synthesize extra resources prior to those created by this project.Return any options you wish to change, other than typescript project options.
- Overrides:
preConstructin classOpenApiGatewayTsProject- Parameters:
options- This parameter is required.
-
getModelDir
@Stability(Experimental) @NotNull public String getModelDir()
(experimental) The directory in which the smithy model files reside.
-
-