Class SmithyApiGatewayTsProject.Builder
- java.lang.Object
-
- software.aws.awsprototypingsdk.openapigateway.SmithyApiGatewayTsProject.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SmithyApiGatewayTsProject>
- Enclosing class:
- SmithyApiGatewayTsProject
@Stability(Experimental) public static final class SmithyApiGatewayTsProject.Builder extends Object implements software.amazon.jsii.Builder<SmithyApiGatewayTsProject>
(experimental) A fluent builder forSmithyApiGatewayTsProject.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SmithyApiGatewayTsProject.BuilderallowLibraryDependencies(Boolean allowLibraryDependencies)(experimental) Allow the project to include `peerDependencies` and `bundledDependencies`.SmithyApiGatewayTsProject.BuilderapiSrcDir(String apiSrcDir)(experimental) The directory in which the api generated code will reside, relative to the project srcdir.SmithyApiGatewayTsProject.BuilderartifactsDirectory(String artifactsDirectory)(experimental) A directory which will contain build artifacts.SmithyApiGatewayTsProject.BuilderauthorEmail(String authorEmail)(experimental) Author's e-mail.SmithyApiGatewayTsProject.BuilderauthorName(String authorName)(experimental) Author's name.SmithyApiGatewayTsProject.BuilderauthorOrganization(Boolean authorOrganization)(experimental) Is the author an organization.SmithyApiGatewayTsProject.BuilderauthorUrl(String authorUrl)(experimental) Author's URL / Website.SmithyApiGatewayTsProject.BuilderautoApproveOptions(io.github.cdklabs.projen.github.AutoApproveOptions autoApproveOptions)(experimental) Enable and configure the 'auto approve' workflow.SmithyApiGatewayTsProject.BuilderautoApproveUpgrades(Boolean autoApproveUpgrades)(experimental) Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued).SmithyApiGatewayTsProject.BuilderautoDetectBin(Boolean autoDetectBin)(experimental) Automatically add all executables under the `bin` directory to your `package.json` file under the `bin` section.SmithyApiGatewayTsProject.BuilderautoMerge(Boolean autoMerge)(experimental) Enable automatic merging on GitHub.SmithyApiGatewayTsProject.BuilderautoMergeOptions(io.github.cdklabs.projen.github.AutoMergeOptions autoMergeOptions)(experimental) Configure options for automatic merging on GitHub.SmithyApiGatewayTsProject.Builderbin(Map<String,String> bin)(experimental) Binary programs vended with your module.SmithyApiGatewayTsProject.BuilderbugsEmail(String bugsEmail)(experimental) The email address to which issues should be reported.SmithyApiGatewayTsProject.BuilderbugsUrl(String bugsUrl)(experimental) The url to your project's issue tracker.SmithyApiGatewayTsProjectbuild()SmithyApiGatewayTsProject.BuilderbuildWorkflow(Boolean buildWorkflow)(experimental) Define a GitHub workflow for building PRs.SmithyApiGatewayTsProject.BuilderbuildWorkflowTriggers(io.github.cdklabs.projen.github.workflows.Triggers buildWorkflowTriggers)(experimental) Build workflow triggers.SmithyApiGatewayTsProject.BuilderbundledDeps(List<String> bundledDeps)(experimental) List of dependencies to bundle into this module.SmithyApiGatewayTsProject.BuilderbundlerOptions(io.github.cdklabs.projen.javascript.BundlerOptions bundlerOptions)(experimental) Options for `Bundler`.SmithyApiGatewayTsProject.BuilderclientLanguages(List<? extends ClientLanguage> clientLanguages)(experimental) The list of languages for which clients will be generated.SmithyApiGatewayTsProject.Builderclobber(Boolean clobber)(experimental) Add a `clobber` task which resets the repo to origin.SmithyApiGatewayTsProject.BuildercodeArtifactOptions(io.github.cdklabs.projen.javascript.CodeArtifactOptions codeArtifactOptions)(experimental) Options for npm packages using AWS CodeArtifact.SmithyApiGatewayTsProject.BuildercodeCov(Boolean codeCov)(experimental) Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v3 A secret is required for private repos.SmithyApiGatewayTsProject.BuildercodeCovTokenSecret(String codeCovTokenSecret)(experimental) Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories.SmithyApiGatewayTsProject.BuildercommitGenerated(Boolean commitGenerated)(experimental) Whether to commit the managed files by default.SmithyApiGatewayTsProject.BuildercopyrightOwner(String copyrightOwner)(experimental) License copyright owner.SmithyApiGatewayTsProject.BuildercopyrightPeriod(String copyrightPeriod)(experimental) The copyright years to put in the LICENSE file.static SmithyApiGatewayTsProject.Buildercreate()SmithyApiGatewayTsProject.BuilderdefaultReleaseBranch(String defaultReleaseBranch)(experimental) The name of the main release branch.SmithyApiGatewayTsProject.Builderdependabot(Boolean dependabot)(experimental) Use dependabot to handle dependency upgrades.SmithyApiGatewayTsProject.BuilderdependabotOptions(io.github.cdklabs.projen.github.DependabotOptions dependabotOptions)(experimental) Options for dependabot.SmithyApiGatewayTsProject.Builderdeps(List<String> deps)(experimental) Runtime dependencies of this module.SmithyApiGatewayTsProject.BuilderdepsUpgrade(Boolean depsUpgrade)(experimental) Use github workflows to handle dependency upgrades.SmithyApiGatewayTsProject.BuilderdepsUpgradeOptions(io.github.cdklabs.projen.javascript.UpgradeDependenciesOptions depsUpgradeOptions)(experimental) Options for `UpgradeDependencies`.SmithyApiGatewayTsProject.Builderdescription(String description)(experimental) The description is just a string that helps people understand the purpose of the package.SmithyApiGatewayTsProject.BuilderdevContainer(Boolean devContainer)(experimental) Add a VSCode development environment (used for GitHub Codespaces).SmithyApiGatewayTsProject.BuilderdevDeps(List<String> devDeps)(experimental) Build dependencies for this module.SmithyApiGatewayTsProject.BuilderdisableTsconfig(Boolean disableTsconfig)(experimental) Do not generate a `tsconfig.json` file (used by jsii projects since tsconfig.json is generated by the jsii compiler).SmithyApiGatewayTsProject.Builderdocgen(Boolean docgen)(experimental) Docgen by Typedoc.SmithyApiGatewayTsProject.BuilderdocsDirectory(String docsDirectory)(experimental) Docs directory.SmithyApiGatewayTsProject.BuilderdocumentationFormats(List<? extends DocumentationFormat> documentationFormats)(experimental) Formats to generate documentation in.SmithyApiGatewayTsProject.Builderentrypoint(String entrypoint)(experimental) Module entrypoint (`main` in `package.json`).SmithyApiGatewayTsProject.BuilderentrypointTypes(String entrypointTypes)(experimental) The .d.ts file that includes the type declarations for this module.SmithyApiGatewayTsProject.Buildereslint(Boolean eslint)(experimental) Setup eslint.SmithyApiGatewayTsProject.BuildereslintOptions(io.github.cdklabs.projen.javascript.EslintOptions eslintOptions)(experimental) Eslint options.SmithyApiGatewayTsProject.BuilderforceGenerateCodeAndDocs(Boolean forceGenerateCodeAndDocs)(experimental) Force to generate code and docs even if there were no changes in spec.SmithyApiGatewayTsProject.BuildergeneratedCodeDir(String generatedCodeDir)(experimental) The directory in which generated client code will be generated, relative to the outdir of this project.SmithyApiGatewayTsProject.Buildergithub(Boolean github)(experimental) Enable GitHub integration.SmithyApiGatewayTsProject.BuildergithubOptions(io.github.cdklabs.projen.github.GitHubOptions githubOptions)(experimental) Options for GitHub integration.SmithyApiGatewayTsProject.Buildergitignore(List<String> gitignore)(experimental) Additional entries to .gitignore.SmithyApiGatewayTsProject.Buildergitpod(Boolean gitpod)(experimental) Add a Gitpod development environment.SmithyApiGatewayTsProject.Builderhomepage(String homepage)(experimental) Package's Homepage / Website.SmithyApiGatewayTsProject.BuilderignoreGradleWrapper(Boolean ignoreGradleWrapper)(experimental) Set to false if you would like to check in your gradle wrapper.SmithyApiGatewayTsProject.BuilderignoreSmithyBuildOutput(Boolean ignoreSmithyBuildOutput)(experimental) Set to false if you would like to check in your smithy build output or have more fine-grained control over what is checked in, eg if you add other projections to the smithy-build.json file.SmithyApiGatewayTsProject.BuilderjavaClientOptions(io.github.cdklabs.projen.java.JavaProjectOptions javaClientOptions)(experimental) Options for the generated java client (if specified in clientLanguages).SmithyApiGatewayTsProject.Builderjest(Boolean jest)(experimental) Setup jest unit tests.SmithyApiGatewayTsProject.BuilderjestOptions(io.github.cdklabs.projen.javascript.JestOptions jestOptions)(experimental) Jest options.SmithyApiGatewayTsProject.BuilderjsiiReleaseVersion(String jsiiReleaseVersion)(experimental) Version requirement of `publib` which is used to publish modules to npm.SmithyApiGatewayTsProject.Builderkeywords(List<String> keywords)(experimental) Keywords to include in `package.json`.SmithyApiGatewayTsProject.Builderlibdir(String libdir)(experimental) Typescript artifacts output directory.SmithyApiGatewayTsProject.Builderlicense(String license)(experimental) License's SPDX identifier.SmithyApiGatewayTsProject.Builderlicensed(Boolean licensed)(experimental) Indicates if a license should be added.SmithyApiGatewayTsProject.Builderlogging(io.github.cdklabs.projen.LoggerOptions logging)(experimental) Configure logging options such as verbosity.SmithyApiGatewayTsProject.BuildermajorVersion(Number majorVersion)(experimental) Major version to release from the default branch.SmithyApiGatewayTsProject.BuildermaxNodeVersion(String maxNodeVersion)(experimental) Minimum node.js version to require via `engines` (inclusive).SmithyApiGatewayTsProject.Buildermergify(Boolean mergify)Deprecated.use `githubOptions.mergify` insteadSmithyApiGatewayTsProject.BuildermergifyOptions(io.github.cdklabs.projen.github.MergifyOptions mergifyOptions)Deprecated.use `githubOptions.mergifyOptions` insteadSmithyApiGatewayTsProject.BuilderminMajorVersion(Number minMajorVersion)(experimental) Minimal Major version to release.SmithyApiGatewayTsProject.BuilderminNodeVersion(String minNodeVersion)(experimental) Minimum Node.js version to require via package.json `engines` (inclusive).SmithyApiGatewayTsProject.BuildermodelDir(String modelDir)(experimental) The path to the Smithy model directory, relative to the project source directory (srcdir).SmithyApiGatewayTsProject.BuildermutableBuild(Boolean mutableBuild)(experimental) Automatically update files modified during builds to pull-request branches.SmithyApiGatewayTsProject.Buildername(String name)(experimental) This is the name of your project.SmithyApiGatewayTsProject.BuildernpmAccess(io.github.cdklabs.projen.javascript.NpmAccess npmAccess)(experimental) Access level of the npm package.SmithyApiGatewayTsProject.BuildernpmDistTag(String npmDistTag)(experimental) The npmDistTag to use when publishing from the default branch.SmithyApiGatewayTsProject.Buildernpmignore(List<String> npmignore)Deprecated.- use `project.addPackageIgnore`SmithyApiGatewayTsProject.BuildernpmignoreEnabled(Boolean npmignoreEnabled)(experimental) Defines an .npmignore file.SmithyApiGatewayTsProject.BuildernpmRegistry(String npmRegistry)Deprecated.use `npmRegistryUrl` insteadSmithyApiGatewayTsProject.BuildernpmRegistryUrl(String npmRegistryUrl)(experimental) The base URL of the npm package registry.SmithyApiGatewayTsProject.BuildernpmTokenSecret(String npmTokenSecret)(experimental) GitHub secret which contains the NPM token to use when publishing packages.SmithyApiGatewayTsProject.Builderoutdir(String outdir)(experimental) The root directory of the project.SmithyApiGatewayTsProject.BuilderpackageManager(io.github.cdklabs.projen.javascript.NodePackageManager packageManager)(experimental) The Node Package Manager used to execute scripts.SmithyApiGatewayTsProject.BuilderpackageName(String packageName)(experimental) The "name" in package.json.SmithyApiGatewayTsProject.BuilderpackageValue(Boolean packageValue)(experimental) Defines a `package` task that will produce an npm tarball under the artifacts directory (e.g.SmithyApiGatewayTsProject.Builderparent(io.github.cdklabs.projen.Project parent)(experimental) The parent project, if this project is part of a bigger project.SmithyApiGatewayTsProject.BuilderparsedSpecFileName(String parsedSpecFileName)(experimental) The name of the output parsed OpenAPI specification file.SmithyApiGatewayTsProject.BuilderpeerDependencyOptions(io.github.cdklabs.projen.javascript.PeerDependencyOptions peerDependencyOptions)(experimental) Options for `peerDeps`.SmithyApiGatewayTsProject.BuilderpeerDeps(List<String> peerDeps)(experimental) Peer dependencies for this module.SmithyApiGatewayTsProject.BuilderpostBuildSteps(List<? extends io.github.cdklabs.projen.github.workflows.JobStep> postBuildSteps)(experimental) Steps to execute after build as part of the release workflow.SmithyApiGatewayTsProject.Builderprerelease(String prerelease)(experimental) Bump versions from the default branch as pre-releases (e.g.SmithyApiGatewayTsProject.Builderprettier(Boolean prettier)(experimental) Setup prettier.SmithyApiGatewayTsProject.BuilderprettierOptions(io.github.cdklabs.projen.javascript.PrettierOptions prettierOptions)(experimental) Prettier options.SmithyApiGatewayTsProject.BuilderprojectType(io.github.cdklabs.projen.ProjectType projectType)Deprecated.no longer supported at the base project levelSmithyApiGatewayTsProject.BuilderprojenCommand(String projenCommand)(experimental) The shell command to use in order to run the projen CLI.SmithyApiGatewayTsProject.BuilderprojenCredentials(io.github.cdklabs.projen.github.GithubCredentials projenCredentials)(experimental) Choose a method of providing GitHub API access for projen workflows.SmithyApiGatewayTsProject.BuilderprojenDevDependency(Boolean projenDevDependency)(experimental) Indicates of "projen" should be installed as a devDependency.SmithyApiGatewayTsProject.BuilderprojenrcJs(Boolean projenrcJs)(experimental) Generate (once) .projenrc.js (in JavaScript).SmithyApiGatewayTsProject.BuilderprojenrcJson(Boolean projenrcJson)(experimental) Generate (once) .projenrc.json (in JSON).SmithyApiGatewayTsProject.BuilderprojenrcJsonOptions(io.github.cdklabs.projen.ProjenrcOptions projenrcJsonOptions)(experimental) Options for .projenrc.json.SmithyApiGatewayTsProject.BuilderprojenrcJsOptions(io.github.cdklabs.projen.javascript.ProjenrcOptions projenrcJsOptions)(experimental) Options for .projenrc.js.SmithyApiGatewayTsProject.BuilderprojenrcTs(Boolean projenrcTs)(experimental) Use TypeScript for your projenrc file (`.projenrc.ts`).SmithyApiGatewayTsProject.BuilderprojenrcTsOptions(io.github.cdklabs.projen.typescript.ProjenrcOptions projenrcTsOptions)(experimental) Options for .projenrc.ts.SmithyApiGatewayTsProject.BuilderprojenTokenSecret(String projenTokenSecret)Deprecated.use `projenCredentials`SmithyApiGatewayTsProject.BuilderprojenVersion(String projenVersion)(experimental) Version of projen to install.SmithyApiGatewayTsProject.BuilderpublishDryRun(Boolean publishDryRun)(experimental) Instead of actually publishing to package managers, just print the publishing command.SmithyApiGatewayTsProject.BuilderpublishTasks(Boolean publishTasks)(experimental) Define publishing tasks that can be executed manually as well as workflows.SmithyApiGatewayTsProject.BuilderpullRequestTemplate(Boolean pullRequestTemplate)(experimental) Include a GitHub pull request template.SmithyApiGatewayTsProject.BuilderpullRequestTemplateContents(List<String> pullRequestTemplateContents)(experimental) The contents of the pull request template.SmithyApiGatewayTsProject.BuilderpythonClientOptions(io.github.cdklabs.projen.python.PythonProjectOptions pythonClientOptions)(experimental) Options for the generated python client (if specified in clientLanguages).SmithyApiGatewayTsProject.Builderreadme(io.github.cdklabs.projen.SampleReadmeProps readme)(experimental) The README setup.SmithyApiGatewayTsProject.Builderrelease(Boolean release)(experimental) Add release management to this project.SmithyApiGatewayTsProject.BuilderreleaseBranches(Map<String,? extends io.github.cdklabs.projen.release.BranchOptions> releaseBranches)(experimental) Defines additional release branches.SmithyApiGatewayTsProject.BuilderreleaseEveryCommit(Boolean releaseEveryCommit)Deprecated.Use `releaseTrigger: ReleaseTrigger.continuous()` insteadSmithyApiGatewayTsProject.BuilderreleaseFailureIssue(Boolean releaseFailureIssue)(experimental) Create a github issue on every failed publishing task.SmithyApiGatewayTsProject.BuilderreleaseFailureIssueLabel(String releaseFailureIssueLabel)(experimental) The label to apply to issues indicating publish failures.SmithyApiGatewayTsProject.BuilderreleaseSchedule(String releaseSchedule)Deprecated.Use `releaseTrigger: ReleaseTrigger.scheduled()` insteadSmithyApiGatewayTsProject.BuilderreleaseTagPrefix(String releaseTagPrefix)(experimental) Automatically add the given prefix to release tags.SmithyApiGatewayTsProject.BuilderreleaseToNpm(Boolean releaseToNpm)(experimental) Automatically release to npm when new versions are introduced.SmithyApiGatewayTsProject.BuilderreleaseTrigger(io.github.cdklabs.projen.release.ReleaseTrigger releaseTrigger)(experimental) The release trigger to use.SmithyApiGatewayTsProject.BuilderreleaseWorkflow(Boolean releaseWorkflow)Deprecated.see `release`.SmithyApiGatewayTsProject.BuilderreleaseWorkflowName(String releaseWorkflowName)(experimental) The name of the default release workflow.SmithyApiGatewayTsProject.BuilderreleaseWorkflowSetupSteps(List<? extends io.github.cdklabs.projen.github.workflows.JobStep> releaseWorkflowSetupSteps)(experimental) A set of workflow steps to execute in order to setup the workflow container.SmithyApiGatewayTsProject.Builderrenovatebot(Boolean renovatebot)(experimental) Use renovatebot to handle dependency upgrades.SmithyApiGatewayTsProject.BuilderrenovatebotOptions(io.github.cdklabs.projen.RenovatebotOptions renovatebotOptions)(experimental) Options for renovatebot.SmithyApiGatewayTsProject.Builderrepository(String repository)(experimental) The repository is the location where the actual code for your package lives.SmithyApiGatewayTsProject.BuilderrepositoryDirectory(String repositoryDirectory)(experimental) If the package.json for your package is not in the root directory (for example if it is part of a monorepo), you can specify the directory in which it lives.SmithyApiGatewayTsProject.BuildersampleCode(Boolean sampleCode)(experimental) Generate one-time sample in `src/` and `test/` if there are no files there.SmithyApiGatewayTsProject.BuilderscopedPackagesOptions(List<? extends io.github.cdklabs.projen.javascript.ScopedPackagesOptions> scopedPackagesOptions)(experimental) Options for privately hosted scoped packages.SmithyApiGatewayTsProject.Builderscripts(Map<String,String> scripts)(experimental) npm scripts to include.SmithyApiGatewayTsProject.BuilderserviceName(SmithyServiceName serviceName)(experimental) The name of the Smithy service from your model which will be targeted for deployment and client generation.SmithyApiGatewayTsProject.BuildersmithyBuildOptions(SmithyBuildOptions smithyBuildOptions)(experimental) Any additional properties you'd like to add your smithy-build.json.SmithyApiGatewayTsProject.Buildersrcdir(String srcdir)(experimental) Typescript sources directory.SmithyApiGatewayTsProject.Builderstability(String stability)(experimental) Package's Stability.SmithyApiGatewayTsProject.Builderstale(Boolean stale)(experimental) Auto-close of stale issues and pull request.SmithyApiGatewayTsProject.BuilderstaleOptions(io.github.cdklabs.projen.github.StaleOptions staleOptions)(experimental) Auto-close stale issues and pull requests.SmithyApiGatewayTsProject.Buildertestdir(String testdir)(experimental) Jest tests directory.SmithyApiGatewayTsProject.Buildertsconfig(io.github.cdklabs.projen.javascript.TypescriptConfigOptions tsconfig)(experimental) Custom TSConfig.SmithyApiGatewayTsProject.BuildertsconfigDev(io.github.cdklabs.projen.javascript.TypescriptConfigOptions tsconfigDev)(experimental) Custom tsconfig options for the development tsconfig.json file (used for testing).SmithyApiGatewayTsProject.BuildertsconfigDevFile(String tsconfigDevFile)(experimental) The name of the development tsconfig.json file.SmithyApiGatewayTsProject.BuildertypescriptClientOptions(io.github.cdklabs.projen.typescript.TypeScriptProjectOptions typescriptClientOptions)(experimental) Options for the generated typescript client.SmithyApiGatewayTsProject.BuildertypescriptVersion(String typescriptVersion)(experimental) TypeScript version to use.SmithyApiGatewayTsProject.BuilderversionrcOptions(Map<String,? extends Object> versionrcOptions)(experimental) Custom configuration used when creating changelog with standard-version package.SmithyApiGatewayTsProject.Buildervscode(Boolean vscode)(experimental) Enable VSCode integration.SmithyApiGatewayTsProject.BuilderworkflowBootstrapSteps(List<? extends io.github.cdklabs.projen.github.workflows.JobStep> workflowBootstrapSteps)(experimental) Workflow steps to use in order to bootstrap this repo.SmithyApiGatewayTsProject.BuilderworkflowContainerImage(String workflowContainerImage)(experimental) Container image to use for GitHub workflows.SmithyApiGatewayTsProject.BuilderworkflowGitIdentity(io.github.cdklabs.projen.github.GitIdentity workflowGitIdentity)(experimental) The git identity to use in workflows.SmithyApiGatewayTsProject.BuilderworkflowNodeVersion(String workflowNodeVersion)(experimental) The node version to use in GitHub workflows.SmithyApiGatewayTsProject.BuilderworkflowRunsOn(List<String> workflowRunsOn)(experimental) Github Runner selection labels.
-
-
-
Method Detail
-
create
@Stability(Experimental) public static SmithyApiGatewayTsProject.Builder create()
- Returns:
- a new instance of
SmithyApiGatewayTsProject.Builder.
-
name
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder name(String name)
(experimental) This is the name of your project.Default: $BASEDIR
- Parameters:
name- This is the name of your project. This parameter is required.- Returns:
this
-
commitGenerated
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder commitGenerated(Boolean commitGenerated)
(experimental) Whether to commit the managed files by default.Default: true
- Parameters:
commitGenerated- Whether to commit the managed files by default. This parameter is required.- Returns:
this
-
logging
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder logging(io.github.cdklabs.projen.LoggerOptions logging)
(experimental) Configure logging options such as verbosity.Default: {}
- Parameters:
logging- Configure logging options such as verbosity. This parameter is required.- Returns:
this
-
outdir
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder outdir(String outdir)
(experimental) The root directory of the project.Relative to this directory, all files are synthesized.
If this project has a parent, this directory is relative to the parent directory and it cannot be the same as the parent or any of it's other sub-projects.
Default: "."
- Parameters:
outdir- The root directory of the project. This parameter is required.- Returns:
this
-
parent
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder parent(io.github.cdklabs.projen.Project parent)
(experimental) The parent project, if this project is part of a bigger project.- Parameters:
parent- The parent project, if this project is part of a bigger project. This parameter is required.- Returns:
this
-
projenCommand
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder projenCommand(String projenCommand)
(experimental) The shell command to use in order to run the projen CLI.Can be used to customize in special environments.
Default: "npx projen"
- Parameters:
projenCommand- The shell command to use in order to run the projen CLI. This parameter is required.- Returns:
this
-
projenrcJson
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder projenrcJson(Boolean projenrcJson)
(experimental) Generate (once) .projenrc.json (in JSON). Set to `false` in order to disable .projenrc.json generation.Default: false
- Parameters:
projenrcJson- Generate (once) .projenrc.json (in JSON). Set to `false` in order to disable .projenrc.json generation. This parameter is required.- Returns:
this
-
projenrcJsonOptions
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder projenrcJsonOptions(io.github.cdklabs.projen.ProjenrcOptions projenrcJsonOptions)
(experimental) Options for .projenrc.json.Default: - default options
- Parameters:
projenrcJsonOptions- Options for .projenrc.json. This parameter is required.- Returns:
this
-
renovatebot
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder renovatebot(Boolean renovatebot)
(experimental) Use renovatebot to handle dependency upgrades.Default: false
- Parameters:
renovatebot- Use renovatebot to handle dependency upgrades. This parameter is required.- Returns:
this
-
renovatebotOptions
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder renovatebotOptions(io.github.cdklabs.projen.RenovatebotOptions renovatebotOptions)
(experimental) Options for renovatebot.Default: - default options
- Parameters:
renovatebotOptions- Options for renovatebot. This parameter is required.- Returns:
this
-
autoApproveOptions
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder autoApproveOptions(io.github.cdklabs.projen.github.AutoApproveOptions autoApproveOptions)
(experimental) Enable and configure the 'auto approve' workflow.Default: - auto approve is disabled
- Parameters:
autoApproveOptions- Enable and configure the 'auto approve' workflow. This parameter is required.- Returns:
this
-
autoMerge
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder autoMerge(Boolean autoMerge)
(experimental) Enable automatic merging on GitHub.Has no effect if
github.mergifyis set to false.Default: true
- Parameters:
autoMerge- Enable automatic merging on GitHub. This parameter is required.- Returns:
this
-
autoMergeOptions
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder autoMergeOptions(io.github.cdklabs.projen.github.AutoMergeOptions autoMergeOptions)
(experimental) Configure options for automatic merging on GitHub.Has no effect if
github.mergifyorautoMergeis set to false.Default: - see defaults in `AutoMergeOptions`
- Parameters:
autoMergeOptions- Configure options for automatic merging on GitHub. This parameter is required.- Returns:
this
-
clobber
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder clobber(Boolean clobber)
(experimental) Add a `clobber` task which resets the repo to origin.Default: true
- Parameters:
clobber- Add a `clobber` task which resets the repo to origin. This parameter is required.- Returns:
this
-
devContainer
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder devContainer(Boolean devContainer)
(experimental) Add a VSCode development environment (used for GitHub Codespaces).Default: false
- Parameters:
devContainer- Add a VSCode development environment (used for GitHub Codespaces). This parameter is required.- Returns:
this
-
github
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder github(Boolean github)
(experimental) Enable GitHub integration.Enabled by default for root projects. Disabled for non-root projects.
Default: true
- Parameters:
github- Enable GitHub integration. This parameter is required.- Returns:
this
-
githubOptions
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder githubOptions(io.github.cdklabs.projen.github.GitHubOptions githubOptions)
(experimental) Options for GitHub integration.Default: - see GitHubOptions
- Parameters:
githubOptions- Options for GitHub integration. This parameter is required.- Returns:
this
-
gitpod
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder gitpod(Boolean gitpod)
(experimental) Add a Gitpod development environment.Default: false
- Parameters:
gitpod- Add a Gitpod development environment. This parameter is required.- Returns:
this
-
mergify
@Stability(Deprecated) @Deprecated public SmithyApiGatewayTsProject.Builder mergify(Boolean mergify)
Deprecated.use `githubOptions.mergify` instead(deprecated) Whether mergify should be enabled on this repository or not.Default: true
- Parameters:
mergify- Whether mergify should be enabled on this repository or not. This parameter is required.- Returns:
this
-
mergifyOptions
@Stability(Deprecated) @Deprecated public SmithyApiGatewayTsProject.Builder mergifyOptions(io.github.cdklabs.projen.github.MergifyOptions mergifyOptions)
Deprecated.use `githubOptions.mergifyOptions` instead(deprecated) Options for mergify.Default: - default options
- Parameters:
mergifyOptions- Options for mergify. This parameter is required.- Returns:
this
-
projectType
@Stability(Deprecated) @Deprecated public SmithyApiGatewayTsProject.Builder projectType(io.github.cdklabs.projen.ProjectType projectType)
Deprecated.no longer supported at the base project level(deprecated) Which type of project this is (library/app).Default: ProjectType.UNKNOWN
- Parameters:
projectType- Which type of project this is (library/app). This parameter is required.- Returns:
this
-
projenCredentials
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder projenCredentials(io.github.cdklabs.projen.github.GithubCredentials projenCredentials)
(experimental) Choose a method of providing GitHub API access for projen workflows.Default: - use a personal access token named PROJEN_GITHUB_TOKEN
- Parameters:
projenCredentials- Choose a method of providing GitHub API access for projen workflows. This parameter is required.- Returns:
this
-
projenTokenSecret
@Stability(Deprecated) @Deprecated public SmithyApiGatewayTsProject.Builder projenTokenSecret(String projenTokenSecret)
Deprecated.use `projenCredentials`(deprecated) The name of a secret which includes a GitHub Personal Access Token to be used by projen workflows.This token needs to have the
repo,workflowsandpackagesscope.Default: "PROJEN_GITHUB_TOKEN"
- Parameters:
projenTokenSecret- The name of a secret which includes a GitHub Personal Access Token to be used by projen workflows. This parameter is required.- Returns:
this
-
readme
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder readme(io.github.cdklabs.projen.SampleReadmeProps readme)
(experimental) The README setup.Default: - { filename: 'README.md', contents: '# replace this' }
Example:
"{ filename: 'readme.md', contents: '# title' }"- Parameters:
readme- The README setup. This parameter is required.- Returns:
this
-
stale
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder stale(Boolean stale)
(experimental) Auto-close of stale issues and pull request.See
staleOptionsfor options.Default: false
- Parameters:
stale- Auto-close of stale issues and pull request. This parameter is required.- Returns:
this
-
staleOptions
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder staleOptions(io.github.cdklabs.projen.github.StaleOptions staleOptions)
(experimental) Auto-close stale issues and pull requests.To disable set
staletofalse.Default: - see defaults in `StaleOptions`
- Parameters:
staleOptions- Auto-close stale issues and pull requests. This parameter is required.- Returns:
this
-
vscode
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder vscode(Boolean vscode)
(experimental) Enable VSCode integration.Enabled by default for root projects. Disabled for non-root projects.
Default: true
- Parameters:
vscode- Enable VSCode integration. This parameter is required.- Returns:
this
-
allowLibraryDependencies
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder allowLibraryDependencies(Boolean allowLibraryDependencies)
(experimental) Allow the project to include `peerDependencies` and `bundledDependencies`.This is normally only allowed for libraries. For apps, there's no meaning for specifying these.
Default: true
- Parameters:
allowLibraryDependencies- Allow the project to include `peerDependencies` and `bundledDependencies`. This parameter is required.- Returns:
this
-
authorEmail
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder authorEmail(String authorEmail)
(experimental) Author's e-mail.- Parameters:
authorEmail- Author's e-mail. This parameter is required.- Returns:
this
-
authorName
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder authorName(String authorName)
(experimental) Author's name.- Parameters:
authorName- Author's name. This parameter is required.- Returns:
this
-
authorOrganization
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder authorOrganization(Boolean authorOrganization)
(experimental) Is the author an organization.- Parameters:
authorOrganization- Is the author an organization. This parameter is required.- Returns:
this
-
authorUrl
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder authorUrl(String authorUrl)
(experimental) Author's URL / Website.- Parameters:
authorUrl- Author's URL / Website. This parameter is required.- Returns:
this
-
autoDetectBin
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder autoDetectBin(Boolean autoDetectBin)
(experimental) Automatically add all executables under the `bin` directory to your `package.json` file under the `bin` section.Default: true
- Parameters:
autoDetectBin- Automatically add all executables under the `bin` directory to your `package.json` file under the `bin` section. This parameter is required.- Returns:
this
-
bin
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder bin(Map<String,String> bin)
(experimental) Binary programs vended with your module.You can use this option to add/customize how binaries are represented in your
package.json, but unlessautoDetectBinisfalse, every executable file underbinwill automatically be added to this section.- Parameters:
bin- Binary programs vended with your module. This parameter is required.- Returns:
this
-
bugsEmail
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder bugsEmail(String bugsEmail)
(experimental) The email address to which issues should be reported.- Parameters:
bugsEmail- The email address to which issues should be reported. This parameter is required.- Returns:
this
-
bugsUrl
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder bugsUrl(String bugsUrl)
(experimental) The url to your project's issue tracker.- Parameters:
bugsUrl- The url to your project's issue tracker. This parameter is required.- Returns:
this
-
bundledDeps
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder bundledDeps(List<String> bundledDeps)
(experimental) List of dependencies to bundle into this module.These modules will be added both to the
dependenciessection andbundledDependenciessection of yourpackage.json.The recommendation is to only specify the module name here (e.g.
express). This will behave similar toyarn addornpm installin the sense that it will add the module as a dependency to yourpackage.jsonfile with the latest version (^). You can specify semver requirements in the same syntax passed tonpm ioryarn add(e.g.express@^2) and this will be what youpackage.jsonwill eventually include.- Parameters:
bundledDeps- List of dependencies to bundle into this module. This parameter is required.- Returns:
this
-
codeArtifactOptions
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder codeArtifactOptions(io.github.cdklabs.projen.javascript.CodeArtifactOptions codeArtifactOptions)
(experimental) Options for npm packages using AWS CodeArtifact.This is required if publishing packages to, or installing scoped packages from AWS CodeArtifact
Default: - undefined
- Parameters:
codeArtifactOptions- Options for npm packages using AWS CodeArtifact. This parameter is required.- Returns:
this
-
deps
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder deps(List<String> deps)
(experimental) Runtime dependencies of this module.The recommendation is to only specify the module name here (e.g.
express). This will behave similar toyarn addornpm installin the sense that it will add the module as a dependency to yourpackage.jsonfile with the latest version (^). You can specify semver requirements in the same syntax passed tonpm ioryarn add(e.g.express@^2) and this will be what youpackage.jsonwill eventually include.Default: []
Example:
[ 'express', 'lodash', 'foo@^2' ]
- Parameters:
deps- Runtime dependencies of this module. This parameter is required.- Returns:
this
-
description
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder description(String description)
(experimental) The description is just a string that helps people understand the purpose of the package.It can be used when searching for packages in a package manager as well. See https://classic.yarnpkg.com/en/docs/package-json/#toc-description
- Parameters:
description- The description is just a string that helps people understand the purpose of the package. This parameter is required.- Returns:
this
-
devDeps
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder devDeps(List<String> devDeps)
(experimental) Build dependencies for this module.These dependencies will only be available in your build environment but will not be fetched when this module is consumed.
The recommendation is to only specify the module name here (e.g.
express). This will behave similar toyarn addornpm installin the sense that it will add the module as a dependency to yourpackage.jsonfile with the latest version (^). You can specify semver requirements in the same syntax passed tonpm ioryarn add(e.g.express@^2) and this will be what youpackage.jsonwill eventually include.Default: []
Example:
[ 'typescript', '@types/express' ]
- Parameters:
devDeps- Build dependencies for this module. This parameter is required.- Returns:
this
-
entrypoint
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder entrypoint(String entrypoint)
(experimental) Module entrypoint (`main` in `package.json`).Set to an empty string to not include
mainin your package.jsonDefault: "lib/index.js"
- Parameters:
entrypoint- Module entrypoint (`main` in `package.json`). This parameter is required.- Returns:
this
-
homepage
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder homepage(String homepage)
(experimental) Package's Homepage / Website.- Parameters:
homepage- Package's Homepage / Website. This parameter is required.- Returns:
this
-
keywords
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder keywords(List<String> keywords)
(experimental) Keywords to include in `package.json`.- Parameters:
keywords- Keywords to include in `package.json`. This parameter is required.- Returns:
this
-
license
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder license(String license)
(experimental) License's SPDX identifier.See https://github.com/projen/projen/tree/main/license-text for a list of supported licenses. Use the
licensedoption if you want to no license to be specified.Default: "Apache-2.0"
- Parameters:
license- License's SPDX identifier. This parameter is required.- Returns:
this
-
licensed
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder licensed(Boolean licensed)
(experimental) Indicates if a license should be added.Default: true
- Parameters:
licensed- Indicates if a license should be added. This parameter is required.- Returns:
this
-
maxNodeVersion
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder maxNodeVersion(String maxNodeVersion)
(experimental) Minimum node.js version to require via `engines` (inclusive).Default: - no max
- Parameters:
maxNodeVersion- Minimum node.js version to require via `engines` (inclusive). This parameter is required.- Returns:
this
-
minNodeVersion
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder minNodeVersion(String minNodeVersion)
(experimental) Minimum Node.js version to require via package.json `engines` (inclusive).Default: - no "engines" specified
- Parameters:
minNodeVersion- Minimum Node.js version to require via package.json `engines` (inclusive). This parameter is required.- Returns:
this
-
npmAccess
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder npmAccess(io.github.cdklabs.projen.javascript.NpmAccess npmAccess)
(experimental) Access level of the npm package.Default: - for scoped packages (e.g. `foo@bar`), the default is `NpmAccess.RESTRICTED`, for non-scoped packages, the default is `NpmAccess.PUBLIC`.
- Parameters:
npmAccess- Access level of the npm package. This parameter is required.- Returns:
this
-
npmRegistry
@Stability(Deprecated) @Deprecated public SmithyApiGatewayTsProject.Builder npmRegistry(String npmRegistry)
Deprecated.use `npmRegistryUrl` instead(deprecated) The host name of the npm registry to publish to.Cannot be set together with
npmRegistryUrl.- Parameters:
npmRegistry- The host name of the npm registry to publish to. This parameter is required.- Returns:
this
-
npmRegistryUrl
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder npmRegistryUrl(String npmRegistryUrl)
(experimental) The base URL of the npm package registry.Must be a URL (e.g. start with "https://" or "http://")
Default: "https://registry.npmjs.org"
- Parameters:
npmRegistryUrl- The base URL of the npm package registry. This parameter is required.- Returns:
this
-
npmTokenSecret
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder npmTokenSecret(String npmTokenSecret)
(experimental) GitHub secret which contains the NPM token to use when publishing packages.Default: "NPM_TOKEN"
- Parameters:
npmTokenSecret- GitHub secret which contains the NPM token to use when publishing packages. This parameter is required.- Returns:
this
-
packageManager
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder packageManager(io.github.cdklabs.projen.javascript.NodePackageManager packageManager)
(experimental) The Node Package Manager used to execute scripts.Default: NodePackageManager.YARN
- Parameters:
packageManager- The Node Package Manager used to execute scripts. This parameter is required.- Returns:
this
-
packageName
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder packageName(String packageName)
(experimental) The "name" in package.json.Default: - defaults to project name
- Parameters:
packageName- The "name" in package.json. This parameter is required.- Returns:
this
-
peerDependencyOptions
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder peerDependencyOptions(io.github.cdklabs.projen.javascript.PeerDependencyOptions peerDependencyOptions)
(experimental) Options for `peerDeps`.- Parameters:
peerDependencyOptions- Options for `peerDeps`. This parameter is required.- Returns:
this
-
peerDeps
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder peerDeps(List<String> peerDeps)
(experimental) Peer dependencies for this module.Dependencies listed here are required to be installed (and satisfied) by the consumer of this library. Using peer dependencies allows you to ensure that only a single module of a certain library exists in the
node_modulestree of your consumers.Note that prior to npm@7, peer dependencies are not automatically installed, which means that adding peer dependencies to a library will be a breaking change for your customers.
Unless
peerDependencyOptions.pinnedDevDependencyis disabled (it is enabled by default), projen will automatically add a dev dependency with a pinned version for each peer dependency. This will ensure that you build & test your module against the lowest peer version required.Default: []
- Parameters:
peerDeps- Peer dependencies for this module. This parameter is required.- Returns:
this
-
repository
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder repository(String repository)
(experimental) The repository is the location where the actual code for your package lives.See https://classic.yarnpkg.com/en/docs/package-json/#toc-repository
- Parameters:
repository- The repository is the location where the actual code for your package lives. This parameter is required.- Returns:
this
-
repositoryDirectory
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder repositoryDirectory(String repositoryDirectory)
(experimental) If the package.json for your package is not in the root directory (for example if it is part of a monorepo), you can specify the directory in which it lives.- Parameters:
repositoryDirectory- If the package.json for your package is not in the root directory (for example if it is part of a monorepo), you can specify the directory in which it lives. This parameter is required.- Returns:
this
-
scopedPackagesOptions
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder scopedPackagesOptions(List<? extends io.github.cdklabs.projen.javascript.ScopedPackagesOptions> scopedPackagesOptions)
(experimental) Options for privately hosted scoped packages.Default: - fetch all scoped packages from the public npm registry
- Parameters:
scopedPackagesOptions- Options for privately hosted scoped packages. This parameter is required.- Returns:
this
-
scripts
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder scripts(Map<String,String> scripts)
(experimental) npm scripts to include.If a script has the same name as a standard script, the standard script will be overwritten.
Default: {}
- Parameters:
scripts- npm scripts to include. This parameter is required.- Returns:
this
-
stability
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder stability(String stability)
(experimental) Package's Stability.- Parameters:
stability- Package's Stability. This parameter is required.- Returns:
this
-
jsiiReleaseVersion
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder jsiiReleaseVersion(String jsiiReleaseVersion)
(experimental) Version requirement of `publib` which is used to publish modules to npm.Default: "latest"
- Parameters:
jsiiReleaseVersion- Version requirement of `publib` which is used to publish modules to npm. This parameter is required.- Returns:
this
-
majorVersion
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder majorVersion(Number majorVersion)
(experimental) Major version to release from the default branch.If this is specified, we bump the latest version of this major version line. If not specified, we bump the global latest version.
Default: - Major version is not enforced.
- Parameters:
majorVersion- Major version to release from the default branch. This parameter is required.- Returns:
this
-
minMajorVersion
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder minMajorVersion(Number minMajorVersion)
(experimental) Minimal Major version to release.This can be useful to set to 1, as breaking changes before the 1.x major release are not incrementing the major version number.
Can not be set together with
majorVersion.Default: - No minimum version is being enforced
- Parameters:
minMajorVersion- Minimal Major version to release. This parameter is required.- Returns:
this
-
npmDistTag
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder npmDistTag(String npmDistTag)
(experimental) The npmDistTag to use when publishing from the default branch.To set the npm dist-tag for release branches, set the
npmDistTagproperty for each branch.Default: "latest"
- Parameters:
npmDistTag- The npmDistTag to use when publishing from the default branch. This parameter is required.- Returns:
this
-
postBuildSteps
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder postBuildSteps(List<? extends io.github.cdklabs.projen.github.workflows.JobStep> postBuildSteps)
(experimental) Steps to execute after build as part of the release workflow.Default: []
- Parameters:
postBuildSteps- Steps to execute after build as part of the release workflow. This parameter is required.- Returns:
this
-
prerelease
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder prerelease(String prerelease)
(experimental) Bump versions from the default branch as pre-releases (e.g. "beta", "alpha", "pre").Default: - normal semantic versions
- Parameters:
prerelease- Bump versions from the default branch as pre-releases (e.g. "beta", "alpha", "pre"). This parameter is required.- Returns:
this
-
publishDryRun
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder publishDryRun(Boolean publishDryRun)
(experimental) Instead of actually publishing to package managers, just print the publishing command.Default: false
- Parameters:
publishDryRun- Instead of actually publishing to package managers, just print the publishing command. This parameter is required.- Returns:
this
-
publishTasks
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder publishTasks(Boolean publishTasks)
(experimental) Define publishing tasks that can be executed manually as well as workflows.Normally, publishing only happens within automated workflows. Enable this in order to create a publishing task for each publishing activity.
Default: false
- Parameters:
publishTasks- Define publishing tasks that can be executed manually as well as workflows. This parameter is required.- Returns:
this
-
releaseBranches
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder releaseBranches(Map<String,? extends io.github.cdklabs.projen.release.BranchOptions> releaseBranches)
(experimental) Defines additional release branches.A workflow will be created for each release branch which will publish releases from commits in this branch. Each release branch must be assigned a major version number which is used to enforce that versions published from that branch always use that major version. If multiple branches are used, the
majorVersionfield must also be provided for the default branch.Default: - no additional branches are used for release. you can use `addBranch()` to add additional branches.
- Parameters:
releaseBranches- Defines additional release branches. This parameter is required.- Returns:
this
-
releaseEveryCommit
@Stability(Deprecated) @Deprecated public SmithyApiGatewayTsProject.Builder releaseEveryCommit(Boolean releaseEveryCommit)
Deprecated.Use `releaseTrigger: ReleaseTrigger.continuous()` instead(deprecated) Automatically release new versions every commit to one of branches in `releaseBranches`.Default: true
- Parameters:
releaseEveryCommit- Automatically release new versions every commit to one of branches in `releaseBranches`. This parameter is required.- Returns:
this
-
releaseFailureIssue
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder releaseFailureIssue(Boolean releaseFailureIssue)
(experimental) Create a github issue on every failed publishing task.Default: false
- Parameters:
releaseFailureIssue- Create a github issue on every failed publishing task. This parameter is required.- Returns:
this
-
releaseFailureIssueLabel
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder releaseFailureIssueLabel(String releaseFailureIssueLabel)
(experimental) The label to apply to issues indicating publish failures.Only applies if
releaseFailureIssueis true.Default: "failed-release"
- Parameters:
releaseFailureIssueLabel- The label to apply to issues indicating publish failures. This parameter is required.- Returns:
this
-
releaseSchedule
@Stability(Deprecated) @Deprecated public SmithyApiGatewayTsProject.Builder releaseSchedule(String releaseSchedule)
Deprecated.Use `releaseTrigger: ReleaseTrigger.scheduled()` instead(deprecated) CRON schedule to trigger new releases.Default: - no scheduled releases
- Parameters:
releaseSchedule- CRON schedule to trigger new releases. This parameter is required.- Returns:
this
-
releaseTagPrefix
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder releaseTagPrefix(String releaseTagPrefix)
(experimental) Automatically add the given prefix to release tags. Useful if you are releasing on multiple branches with overlapping version numbers.Note: this prefix is used to detect the latest tagged version when bumping, so if you change this on a project with an existing version history, you may need to manually tag your latest release with the new prefix.
Default: "v"
- Parameters:
releaseTagPrefix- Automatically add the given prefix to release tags. Useful if you are releasing on multiple branches with overlapping version numbers. This parameter is required.- Returns:
this
-
releaseTrigger
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder releaseTrigger(io.github.cdklabs.projen.release.ReleaseTrigger releaseTrigger)
(experimental) The release trigger to use.Default: - Continuous releases (`ReleaseTrigger.continuous()`)
- Parameters:
releaseTrigger- The release trigger to use. This parameter is required.- Returns:
this
-
releaseWorkflowName
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder releaseWorkflowName(String releaseWorkflowName)
(experimental) The name of the default release workflow.Default: "Release"
- Parameters:
releaseWorkflowName- The name of the default release workflow. This parameter is required.- Returns:
this
-
releaseWorkflowSetupSteps
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder releaseWorkflowSetupSteps(List<? extends io.github.cdklabs.projen.github.workflows.JobStep> releaseWorkflowSetupSteps)
(experimental) A set of workflow steps to execute in order to setup the workflow container.- Parameters:
releaseWorkflowSetupSteps- A set of workflow steps to execute in order to setup the workflow container. This parameter is required.- Returns:
this
-
versionrcOptions
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder versionrcOptions(Map<String,? extends Object> versionrcOptions)
(experimental) Custom configuration used when creating changelog with standard-version package.Given values either append to default configuration or overwrite values in it.
Default: - standard configuration applicable for GitHub repositories
- Parameters:
versionrcOptions- Custom configuration used when creating changelog with standard-version package. This parameter is required.- Returns:
this
-
workflowContainerImage
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder workflowContainerImage(String workflowContainerImage)
(experimental) Container image to use for GitHub workflows.Default: - default image
- Parameters:
workflowContainerImage- Container image to use for GitHub workflows. This parameter is required.- Returns:
this
-
workflowRunsOn
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder workflowRunsOn(List<String> workflowRunsOn)
(experimental) Github Runner selection labels.Default: ["ubuntu-latest"]
- Parameters:
workflowRunsOn- Github Runner selection labels. This parameter is required.- Returns:
this
-
defaultReleaseBranch
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder defaultReleaseBranch(String defaultReleaseBranch)
(experimental) The name of the main release branch.Default: "main"
- Parameters:
defaultReleaseBranch- The name of the main release branch. This parameter is required.- Returns:
this
-
artifactsDirectory
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder artifactsDirectory(String artifactsDirectory)
(experimental) A directory which will contain build artifacts.Default: "dist"
- Parameters:
artifactsDirectory- A directory which will contain build artifacts. This parameter is required.- Returns:
this
-
autoApproveUpgrades
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder autoApproveUpgrades(Boolean autoApproveUpgrades)
(experimental) Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued).Throw if set to true but
autoApproveOptionsare not defined.Default: - true
- Parameters:
autoApproveUpgrades- Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued). This parameter is required.- Returns:
this
-
buildWorkflow
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder buildWorkflow(Boolean buildWorkflow)
(experimental) Define a GitHub workflow for building PRs.Default: - true if not a subproject
- Parameters:
buildWorkflow- Define a GitHub workflow for building PRs. This parameter is required.- Returns:
this
-
buildWorkflowTriggers
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder buildWorkflowTriggers(io.github.cdklabs.projen.github.workflows.Triggers buildWorkflowTriggers)
(experimental) Build workflow triggers.Default: "{ pullRequest: {}, workflowDispatch: {} }"
- Parameters:
buildWorkflowTriggers- Build workflow triggers. This parameter is required.- Returns:
this
-
bundlerOptions
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder bundlerOptions(io.github.cdklabs.projen.javascript.BundlerOptions bundlerOptions)
(experimental) Options for `Bundler`.- Parameters:
bundlerOptions- Options for `Bundler`. This parameter is required.- Returns:
this
-
codeCov
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder codeCov(Boolean codeCov)
(experimental) Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v3 A secret is required for private repos. Configured with @codeCovTokenSecret.Default: false
- Parameters:
codeCov- Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v3 A secret is required for private repos. Configured with @codeCovTokenSecret. This parameter is required.- Returns:
this
-
codeCovTokenSecret
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder codeCovTokenSecret(String codeCovTokenSecret)
(experimental) Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories.Default: - if this option is not specified, only public repositories are supported
- Parameters:
codeCovTokenSecret- Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories. This parameter is required.- Returns:
this
-
copyrightOwner
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder copyrightOwner(String copyrightOwner)
(experimental) License copyright owner.Default: - defaults to the value of authorName or "" if `authorName` is undefined.
- Parameters:
copyrightOwner- License copyright owner. This parameter is required.- Returns:
this
-
copyrightPeriod
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder copyrightPeriod(String copyrightPeriod)
(experimental) The copyright years to put in the LICENSE file.Default: - current year
- Parameters:
copyrightPeriod- The copyright years to put in the LICENSE file. This parameter is required.- Returns:
this
-
dependabot
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder dependabot(Boolean dependabot)
(experimental) Use dependabot to handle dependency upgrades.Cannot be used in conjunction with
depsUpgrade.Default: false
- Parameters:
dependabot- Use dependabot to handle dependency upgrades. This parameter is required.- Returns:
this
-
dependabotOptions
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder dependabotOptions(io.github.cdklabs.projen.github.DependabotOptions dependabotOptions)
(experimental) Options for dependabot.Default: - default options
- Parameters:
dependabotOptions- Options for dependabot. This parameter is required.- Returns:
this
-
depsUpgrade
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder depsUpgrade(Boolean depsUpgrade)
(experimental) Use github workflows to handle dependency upgrades.Cannot be used in conjunction with
dependabot.Default: true
- Parameters:
depsUpgrade- Use github workflows to handle dependency upgrades. This parameter is required.- Returns:
this
-
depsUpgradeOptions
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder depsUpgradeOptions(io.github.cdklabs.projen.javascript.UpgradeDependenciesOptions depsUpgradeOptions)
(experimental) Options for `UpgradeDependencies`.Default: - default options
- Parameters:
depsUpgradeOptions- Options for `UpgradeDependencies`. This parameter is required.- Returns:
this
-
gitignore
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder gitignore(List<String> gitignore)
(experimental) Additional entries to .gitignore.- Parameters:
gitignore- Additional entries to .gitignore. This parameter is required.- Returns:
this
-
jest
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder jest(Boolean jest)
(experimental) Setup jest unit tests.Default: true
- Parameters:
jest- Setup jest unit tests. This parameter is required.- Returns:
this
-
jestOptions
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder jestOptions(io.github.cdklabs.projen.javascript.JestOptions jestOptions)
(experimental) Jest options.Default: - default options
- Parameters:
jestOptions- Jest options. This parameter is required.- Returns:
this
-
mutableBuild
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder mutableBuild(Boolean mutableBuild)
(experimental) Automatically update files modified during builds to pull-request branches.This means that any files synthesized by projen or e.g. test snapshots will always be up-to-date before a PR is merged.
Implies that PR builds do not have anti-tamper checks.
Default: true
- Parameters:
mutableBuild- Automatically update files modified during builds to pull-request branches. This parameter is required.- Returns:
this
-
npmignore
@Stability(Deprecated) @Deprecated public SmithyApiGatewayTsProject.Builder npmignore(List<String> npmignore)
Deprecated.- use `project.addPackageIgnore`(deprecated) Additional entries to .npmignore.- Parameters:
npmignore- Additional entries to .npmignore. This parameter is required.- Returns:
this
-
npmignoreEnabled
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder npmignoreEnabled(Boolean npmignoreEnabled)
(experimental) Defines an .npmignore file. Normally this is only needed for libraries that are packaged as tarballs.Default: true
- Parameters:
npmignoreEnabled- Defines an .npmignore file. Normally this is only needed for libraries that are packaged as tarballs. This parameter is required.- Returns:
this
-
packageValue
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder packageValue(Boolean packageValue)
(experimental) Defines a `package` task that will produce an npm tarball under the artifacts directory (e.g. `dist`).Default: true
- Parameters:
packageValue- Defines a `package` task that will produce an npm tarball under the artifacts directory (e.g. `dist`). This parameter is required.- Returns:
this
-
prettier
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder prettier(Boolean prettier)
(experimental) Setup prettier.Default: false
- Parameters:
prettier- Setup prettier. This parameter is required.- Returns:
this
-
prettierOptions
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder prettierOptions(io.github.cdklabs.projen.javascript.PrettierOptions prettierOptions)
(experimental) Prettier options.Default: - default options
- Parameters:
prettierOptions- Prettier options. This parameter is required.- Returns:
this
-
projenDevDependency
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder projenDevDependency(Boolean projenDevDependency)
(experimental) Indicates of "projen" should be installed as a devDependency.Default: true
- Parameters:
projenDevDependency- Indicates of "projen" should be installed as a devDependency. This parameter is required.- Returns:
this
-
projenrcJs
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder projenrcJs(Boolean projenrcJs)
(experimental) Generate (once) .projenrc.js (in JavaScript). Set to `false` in order to disable .projenrc.js generation.Default: - true if projenrcJson is false
- Parameters:
projenrcJs- Generate (once) .projenrc.js (in JavaScript). Set to `false` in order to disable .projenrc.js generation. This parameter is required.- Returns:
this
-
projenrcJsOptions
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder projenrcJsOptions(io.github.cdklabs.projen.javascript.ProjenrcOptions projenrcJsOptions)
(experimental) Options for .projenrc.js.Default: - default options
- Parameters:
projenrcJsOptions- Options for .projenrc.js. This parameter is required.- Returns:
this
-
projenVersion
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder projenVersion(String projenVersion)
(experimental) Version of projen to install.Default: - Defaults to the latest version.
- Parameters:
projenVersion- Version of projen to install. This parameter is required.- Returns:
this
-
pullRequestTemplate
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder pullRequestTemplate(Boolean pullRequestTemplate)
(experimental) Include a GitHub pull request template.Default: true
- Parameters:
pullRequestTemplate- Include a GitHub pull request template. This parameter is required.- Returns:
this
-
pullRequestTemplateContents
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder pullRequestTemplateContents(List<String> pullRequestTemplateContents)
(experimental) The contents of the pull request template.Default: - default content
- Parameters:
pullRequestTemplateContents- The contents of the pull request template. This parameter is required.- Returns:
this
-
release
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder release(Boolean release)
(experimental) Add release management to this project.Default: - true (false for subprojects)
- Parameters:
release- Add release management to this project. This parameter is required.- Returns:
this
-
releaseToNpm
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder releaseToNpm(Boolean releaseToNpm)
(experimental) Automatically release to npm when new versions are introduced.Default: false
- Parameters:
releaseToNpm- Automatically release to npm when new versions are introduced. This parameter is required.- Returns:
this
-
releaseWorkflow
@Stability(Deprecated) @Deprecated public SmithyApiGatewayTsProject.Builder releaseWorkflow(Boolean releaseWorkflow)
Deprecated.see `release`.(deprecated) DEPRECATED: renamed to `release`.Default: - true if not a subproject
- Parameters:
releaseWorkflow- DEPRECATED: renamed to `release`. This parameter is required.- Returns:
this
-
workflowBootstrapSteps
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder workflowBootstrapSteps(List<? extends io.github.cdklabs.projen.github.workflows.JobStep> workflowBootstrapSteps)
(experimental) Workflow steps to use in order to bootstrap this repo.Default: "yarn install --frozen-lockfile && yarn projen"
- Parameters:
workflowBootstrapSteps- Workflow steps to use in order to bootstrap this repo. This parameter is required.- Returns:
this
-
workflowGitIdentity
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder workflowGitIdentity(io.github.cdklabs.projen.github.GitIdentity workflowGitIdentity)
(experimental) The git identity to use in workflows.Default: - GitHub Actions
- Parameters:
workflowGitIdentity- The git identity to use in workflows. This parameter is required.- Returns:
this
-
workflowNodeVersion
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder workflowNodeVersion(String workflowNodeVersion)
(experimental) The node version to use in GitHub workflows.Default: - same as `minNodeVersion`
- Parameters:
workflowNodeVersion- The node version to use in GitHub workflows. This parameter is required.- Returns:
this
-
disableTsconfig
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder disableTsconfig(Boolean disableTsconfig)
(experimental) Do not generate a `tsconfig.json` file (used by jsii projects since tsconfig.json is generated by the jsii compiler).Default: false
- Parameters:
disableTsconfig- Do not generate a `tsconfig.json` file (used by jsii projects since tsconfig.json is generated by the jsii compiler). This parameter is required.- Returns:
this
-
docgen
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder docgen(Boolean docgen)
(experimental) Docgen by Typedoc.Default: false
- Parameters:
docgen- Docgen by Typedoc. This parameter is required.- Returns:
this
-
docsDirectory
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder docsDirectory(String docsDirectory)
(experimental) Docs directory.Default: "docs"
- Parameters:
docsDirectory- Docs directory. This parameter is required.- Returns:
this
-
entrypointTypes
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder entrypointTypes(String entrypointTypes)
(experimental) The .d.ts file that includes the type declarations for this module.Default: - .d.ts file derived from the project's entrypoint (usually lib/index.d.ts)
- Parameters:
entrypointTypes- The .d.ts file that includes the type declarations for this module. This parameter is required.- Returns:
this
-
eslint
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder eslint(Boolean eslint)
(experimental) Setup eslint.Default: true
- Parameters:
eslint- Setup eslint. This parameter is required.- Returns:
this
-
eslintOptions
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder eslintOptions(io.github.cdklabs.projen.javascript.EslintOptions eslintOptions)
(experimental) Eslint options.Default: - opinionated default options
- Parameters:
eslintOptions- Eslint options. This parameter is required.- Returns:
this
-
libdir
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder libdir(String libdir)
(experimental) Typescript artifacts output directory.Default: "lib"
- Parameters:
libdir- Typescript artifacts output directory. This parameter is required.- Returns:
this
-
projenrcTs
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder projenrcTs(Boolean projenrcTs)
(experimental) Use TypeScript for your projenrc file (`.projenrc.ts`).Default: false
- Parameters:
projenrcTs- Use TypeScript for your projenrc file (`.projenrc.ts`). This parameter is required.- Returns:
this
-
projenrcTsOptions
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder projenrcTsOptions(io.github.cdklabs.projen.typescript.ProjenrcOptions projenrcTsOptions)
(experimental) Options for .projenrc.ts.- Parameters:
projenrcTsOptions- Options for .projenrc.ts. This parameter is required.- Returns:
this
-
sampleCode
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder sampleCode(Boolean sampleCode)
(experimental) Generate one-time sample in `src/` and `test/` if there are no files there.Default: true
- Parameters:
sampleCode- Generate one-time sample in `src/` and `test/` if there are no files there. This parameter is required.- Returns:
this
-
srcdir
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder srcdir(String srcdir)
(experimental) Typescript sources directory.Default: "src"
- Parameters:
srcdir- Typescript sources directory. This parameter is required.- Returns:
this
-
testdir
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder testdir(String testdir)
(experimental) Jest tests directory. Tests files should be named `xxx.test.ts`.If this directory is under
srcdir(e.g.src/test,src/__tests__), then tests are going to be compiled intolib/and executed as javascript. If the test directory is outside ofsrc, then we configure jest to compile the code in-memory.Default: "test"
- Parameters:
testdir- Jest tests directory. Tests files should be named `xxx.test.ts`. This parameter is required.- Returns:
this
-
tsconfig
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder tsconfig(io.github.cdklabs.projen.javascript.TypescriptConfigOptions tsconfig)
(experimental) Custom TSConfig.Default: - default options
- Parameters:
tsconfig- Custom TSConfig. This parameter is required.- Returns:
this
-
tsconfigDev
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder tsconfigDev(io.github.cdklabs.projen.javascript.TypescriptConfigOptions tsconfigDev)
(experimental) Custom tsconfig options for the development tsconfig.json file (used for testing).Default: - use the production tsconfig options
- Parameters:
tsconfigDev- Custom tsconfig options for the development tsconfig.json file (used for testing). This parameter is required.- Returns:
this
-
tsconfigDevFile
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder tsconfigDevFile(String tsconfigDevFile)
(experimental) The name of the development tsconfig.json file.Default: "tsconfig.dev.json"
- Parameters:
tsconfigDevFile- The name of the development tsconfig.json file. This parameter is required.- Returns:
this
-
typescriptVersion
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder typescriptVersion(String typescriptVersion)
(experimental) TypeScript version to use.NOTE: Typescript is not semantically versioned and should remain on the same minor, so we recommend using a
~dependency (e.g.~1.2.3).Default: "latest"
- Parameters:
typescriptVersion- TypeScript version to use. This parameter is required.- Returns:
this
-
clientLanguages
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder clientLanguages(List<? extends ClientLanguage> clientLanguages)
(experimental) The list of languages for which clients will be generated.A typescript client will always be generated.
- Parameters:
clientLanguages- The list of languages for which clients will be generated. This parameter is required.- Returns:
this
-
apiSrcDir
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder apiSrcDir(String apiSrcDir)
(experimental) The directory in which the api generated code will reside, relative to the project srcdir.- Parameters:
apiSrcDir- The directory in which the api generated code will reside, relative to the project srcdir. This parameter is required.- Returns:
this
-
documentationFormats
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder documentationFormats(List<? extends DocumentationFormat> documentationFormats)
(experimental) Formats to generate documentation in.- Parameters:
documentationFormats- Formats to generate documentation in. This parameter is required.- Returns:
this
-
forceGenerateCodeAndDocs
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder forceGenerateCodeAndDocs(Boolean forceGenerateCodeAndDocs)
(experimental) Force to generate code and docs even if there were no changes in spec.Default: "false"
- Parameters:
forceGenerateCodeAndDocs- Force to generate code and docs even if there were no changes in spec. This parameter is required.- Returns:
this
-
generatedCodeDir
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder generatedCodeDir(String generatedCodeDir)
(experimental) The directory in which generated client code will be generated, relative to the outdir of this project.Default: "generated"
- Parameters:
generatedCodeDir- The directory in which generated client code will be generated, relative to the outdir of this project. This parameter is required.- Returns:
this
-
javaClientOptions
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder javaClientOptions(io.github.cdklabs.projen.java.JavaProjectOptions javaClientOptions)
(experimental) Options for the generated java client (if specified in clientLanguages).These override the default inferred options.
- Parameters:
javaClientOptions- Options for the generated java client (if specified in clientLanguages). This parameter is required.- Returns:
this
-
parsedSpecFileName
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder parsedSpecFileName(String parsedSpecFileName)
(experimental) The name of the output parsed OpenAPI specification file.Must end with .json.
Default: ".parsed-spec.json"
- Parameters:
parsedSpecFileName- The name of the output parsed OpenAPI specification file. This parameter is required.- Returns:
this
-
pythonClientOptions
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder pythonClientOptions(io.github.cdklabs.projen.python.PythonProjectOptions pythonClientOptions)
(experimental) Options for the generated python client (if specified in clientLanguages).These override the default inferred options.
- Parameters:
pythonClientOptions- Options for the generated python client (if specified in clientLanguages). This parameter is required.- Returns:
this
-
typescriptClientOptions
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder typescriptClientOptions(io.github.cdklabs.projen.typescript.TypeScriptProjectOptions typescriptClientOptions)
(experimental) Options for the generated typescript client.These override the default inferred options.
- Parameters:
typescriptClientOptions- Options for the generated typescript client. This parameter is required.- Returns:
this
-
serviceName
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder serviceName(SmithyServiceName serviceName)
(experimental) The name of the Smithy service from your model which will be targeted for deployment and client generation.On initial project synthesis this service name will be written to the sample "hello world" model. If you change this value after initial synthesis you will need to manually update your Smithy models to match, unless you delete the "model" directory. Likewise, if you change the namespace or service name in your Smithy models you will need to update this value to ensure your service can be found.
Default: "example.hello#Hello"
- Parameters:
serviceName- The name of the Smithy service from your model which will be targeted for deployment and client generation. This parameter is required.- Returns:
this
-
ignoreGradleWrapper
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder ignoreGradleWrapper(Boolean ignoreGradleWrapper)
(experimental) Set to false if you would like to check in your gradle wrapper.Do so if you would like to use a different version of gradle to the one provided by default
Default: true
- Parameters:
ignoreGradleWrapper- Set to false if you would like to check in your gradle wrapper. This parameter is required.- Returns:
this
-
ignoreSmithyBuildOutput
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder ignoreSmithyBuildOutput(Boolean ignoreSmithyBuildOutput)
(experimental) Set to false if you would like to check in your smithy build output or have more fine-grained control over what is checked in, eg if you add other projections to the smithy-build.json file.Default: true
- Parameters:
ignoreSmithyBuildOutput- Set to false if you would like to check in your smithy build output or have more fine-grained control over what is checked in, eg if you add other projections to the smithy-build.json file. This parameter is required.- Returns:
this
-
modelDir
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder modelDir(String modelDir)
(experimental) The path to the Smithy model directory, relative to the project source directory (srcdir).Default: "model"
- Parameters:
modelDir- The path to the Smithy model directory, relative to the project source directory (srcdir). This parameter is required.- Returns:
this
-
smithyBuildOptions
@Stability(Experimental) public SmithyApiGatewayTsProject.Builder smithyBuildOptions(SmithyBuildOptions smithyBuildOptions)
(experimental) Any additional properties you'd like to add your smithy-build.json. The smithy-build.json will automatically include the "openapi" plugin, but you can add extra configuration for that via this option if you like.- Parameters:
smithyBuildOptions- Any additional properties you'd like to add your smithy-build.json. The smithy-build.json will automatically include the "openapi" plugin, but you can add extra configuration for that via this option if you like. This parameter is required.- Returns:
this- See Also:
- https://awslabs.github.io/smithy/2.0/guides/converting-to-openapi.html#openapi-configuration-settings
-
build
@Stability(Experimental) public SmithyApiGatewayTsProject build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SmithyApiGatewayTsProject>
-
-