Class SmithyApiGatewayProjectOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.aws.awsprototypingsdk.openapigateway.SmithyApiGatewayProjectOptions.Jsii$Proxy
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,CommonApiProjectOptions,SmithyApiGatewayProjectOptions
- Enclosing interface:
- SmithyApiGatewayProjectOptions
@Stability(Experimental) @Internal public static final class SmithyApiGatewayProjectOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SmithyApiGatewayProjectOptions
An implementation forSmithyApiGatewayProjectOptions
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface software.aws.awsprototypingsdk.openapigateway.SmithyApiGatewayProjectOptions
SmithyApiGatewayProjectOptions.Builder, SmithyApiGatewayProjectOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.protectedJsii$Proxy(SmithyApiGatewayProjectOptions.Builder builder)Constructor that initializes the object based on literal property values passed by theSmithyApiGatewayProjectOptions.Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StringgetApiSrcDir()(experimental) The directory in which the api generated code will reside, relative to the project srcdir.List<ClientLanguage>getClientLanguages()(experimental) The list of languages for which clients will be generated.List<DocumentationFormat>getDocumentationFormats()(experimental) Formats to generate documentation in.BooleangetForceGenerateCodeAndDocs()(experimental) Force to generate code and docs even if there were no changes in spec.StringgetGeneratedCodeDir()(experimental) The directory in which generated client code will be generated, relative to the outdir of this project.BooleangetIgnoreGradleWrapper()(experimental) Set to false if you would like to check in your gradle wrapper.BooleangetIgnoreSmithyBuildOutput()(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.io.github.cdklabs.projen.java.JavaProjectOptionsgetJavaClientOptions()(experimental) Options for the generated java client (if specified in clientLanguages).StringgetModelDir()(experimental) The path to the Smithy model directory, relative to the project source directory (srcdir).StringgetParsedSpecFileName()(experimental) The name of the output parsed OpenAPI specification file.io.github.cdklabs.projen.python.PythonProjectOptionsgetPythonClientOptions()(experimental) Options for the generated python client (if specified in clientLanguages).SmithyServiceNamegetServiceName()(experimental) The name of the Smithy service from your model which will be targeted for deployment and client generation.SmithyBuildOptionsgetSmithyBuildOptions()(experimental) Any additional properties you'd like to add your smithy-build.json.io.github.cdklabs.projen.typescript.TypeScriptProjectOptionsgetTypescriptClientOptions()(experimental) Options for the generated typescript client.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(SmithyApiGatewayProjectOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by theSmithyApiGatewayProjectOptions.Builder.
-
-
Method Detail
-
getServiceName
public final SmithyServiceName getServiceName()
Description copied from interface:SmithyApiGatewayProjectOptions(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"
- Specified by:
getServiceNamein interfaceSmithyApiGatewayProjectOptions
-
getIgnoreGradleWrapper
public final Boolean getIgnoreGradleWrapper()
Description copied from interface:SmithyApiGatewayProjectOptions(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
- Specified by:
getIgnoreGradleWrapperin interfaceSmithyApiGatewayProjectOptions
-
getIgnoreSmithyBuildOutput
public final Boolean getIgnoreSmithyBuildOutput()
Description copied from interface:SmithyApiGatewayProjectOptions(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
- Specified by:
getIgnoreSmithyBuildOutputin interfaceSmithyApiGatewayProjectOptions
-
getModelDir
public final String getModelDir()
Description copied from interface:SmithyApiGatewayProjectOptions(experimental) The path to the Smithy model directory, relative to the project source directory (srcdir).Default: "model"
- Specified by:
getModelDirin interfaceSmithyApiGatewayProjectOptions
-
getSmithyBuildOptions
public final SmithyBuildOptions getSmithyBuildOptions()
Description copied from interface:SmithyApiGatewayProjectOptions(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.- Specified by:
getSmithyBuildOptionsin interfaceSmithyApiGatewayProjectOptions- See Also:
- https://awslabs.github.io/smithy/2.0/guides/converting-to-openapi.html#openapi-configuration-settings
-
getClientLanguages
public final List<ClientLanguage> getClientLanguages()
Description copied from interface:CommonApiProjectOptions(experimental) The list of languages for which clients will be generated.A typescript client will always be generated.
- Specified by:
getClientLanguagesin interfaceCommonApiProjectOptions
-
getApiSrcDir
public final String getApiSrcDir()
Description copied from interface:CommonApiProjectOptions(experimental) The directory in which the api generated code will reside, relative to the project srcdir.- Specified by:
getApiSrcDirin interfaceCommonApiProjectOptions
-
getDocumentationFormats
public final List<DocumentationFormat> getDocumentationFormats()
Description copied from interface:CommonApiProjectOptions(experimental) Formats to generate documentation in.- Specified by:
getDocumentationFormatsin interfaceCommonApiProjectOptions
-
getForceGenerateCodeAndDocs
public final Boolean getForceGenerateCodeAndDocs()
Description copied from interface:CommonApiProjectOptions(experimental) Force to generate code and docs even if there were no changes in spec.Default: "false"
- Specified by:
getForceGenerateCodeAndDocsin interfaceCommonApiProjectOptions
-
getGeneratedCodeDir
public final String getGeneratedCodeDir()
Description copied from interface:CommonApiProjectOptions(experimental) The directory in which generated client code will be generated, relative to the outdir of this project.Default: "generated"
- Specified by:
getGeneratedCodeDirin interfaceCommonApiProjectOptions
-
getJavaClientOptions
public final io.github.cdklabs.projen.java.JavaProjectOptions getJavaClientOptions()
Description copied from interface:CommonApiProjectOptions(experimental) Options for the generated java client (if specified in clientLanguages).These override the default inferred options.
- Specified by:
getJavaClientOptionsin interfaceCommonApiProjectOptions
-
getParsedSpecFileName
public final String getParsedSpecFileName()
Description copied from interface:CommonApiProjectOptions(experimental) The name of the output parsed OpenAPI specification file.Must end with .json.
Default: ".parsed-spec.json"
- Specified by:
getParsedSpecFileNamein interfaceCommonApiProjectOptions
-
getPythonClientOptions
public final io.github.cdklabs.projen.python.PythonProjectOptions getPythonClientOptions()
Description copied from interface:CommonApiProjectOptions(experimental) Options for the generated python client (if specified in clientLanguages).These override the default inferred options.
- Specified by:
getPythonClientOptionsin interfaceCommonApiProjectOptions
-
getTypescriptClientOptions
public final io.github.cdklabs.projen.typescript.TypeScriptProjectOptions getTypescriptClientOptions()
Description copied from interface:CommonApiProjectOptions(experimental) Options for the generated typescript client.These override the default inferred options.
- Specified by:
getTypescriptClientOptionsin interfaceCommonApiProjectOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-