Interface SmithyApiGatewayProjectOptions

    • Method Detail

      • getServiceName

        @Stability(Experimental)
        @NotNull
        SmithyServiceName getServiceName()
        (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"

      • getGradleWrapperPath

        @Stability(Experimental)
        @Nullable
        default String getGradleWrapperPath()
        (experimental) Path to a directory containing a custom gradle wrapper (gradlew) to use instead of the one provided by the PDK, relative to the project outdir.

        Use this if you would like to own and check in the gradle wrapper instead of using the provided one.

      • getIgnoreSmithyBuildOutput

        @Stability(Experimental)
        @Nullable
        default Boolean getIgnoreSmithyBuildOutput()
        (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

      • getModelDir

        @Stability(Experimental)
        @Nullable
        default String getModelDir()
        (experimental) The path to the Smithy model directory, relative to the project source directory (srcdir).

        Default: "model"