Interface CfnApplicationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApplicationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:19.228Z")
@Stability(Stable)
public interface CfnApplicationProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnApplication.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.serverlessrepo.*;
CfnApplicationProps cfnApplicationProps = CfnApplicationProps.builder()
.author("author")
.description("description")
.name("name")
// the properties below are optional
.homePageUrl("homePageUrl")
.labels(List.of("labels"))
.licenseBody("licenseBody")
.readmeBody("readmeBody")
.semanticVersion("semanticVersion")
.sourceCodeUrl("sourceCodeUrl")
.spdxLicenseId("spdxLicenseId")
.templateBody("templateBody")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnApplicationPropsstatic final classAn implementation forCfnApplicationProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnApplicationProps.Builderbuilder()The name of the author publishing the app.The description of the application.default StringA URL with more information about the application.Labels to improve discovery of apps in search results.default StringA local text file that contains the license of the app.getName()The name of the application.default StringA text readme file in Markdown language that contains a more detailed description of the application.default StringThe semantic version of the application.default StringA link to a public repository for the source code of your application.default StringA valid identifier from https://spdx.org/licenses/.default StringThe local raw packaged AWS SAM template file of your application.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAuthor
The name of the author publishing the app.- See Also:
-
getDescription
The description of the application.- See Also:
-
getName
The name of the application.- See Also:
-
getHomePageUrl
A URL with more information about the application.- See Also:
-
getLabels
Labels to improve discovery of apps in search results.- See Also:
-
getLicenseBody
A local text file that contains the license of the app.- See Also:
-
getReadmeBody
A text readme file in Markdown language that contains a more detailed description of the application.- See Also:
-
getSemanticVersion
The semantic version of the application.- See Also:
-
getSourceCodeUrl
A link to a public repository for the source code of your application.- See Also:
-
getSpdxLicenseId
A valid identifier from https://spdx.org/licenses/.- See Also:
-
getTemplateBody
The local raw packaged AWS SAM template file of your application.- See Also:
-
builder
- Returns:
- a
CfnApplicationProps.BuilderofCfnApplicationProps
-