interface CfnApplicationProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ServerlessRepo.CfnApplicationProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsserverlessrepo#CfnApplicationProps |
Java | software.amazon.awscdk.services.serverlessrepo.CfnApplicationProps |
Python | aws_cdk.aws_serverlessrepo.CfnApplicationProps |
TypeScript | aws-cdk-lib » aws_serverlessrepo » CfnApplicationProps |
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 { aws_serverlessrepo as serverlessrepo } from 'aws-cdk-lib';
const cfnApplicationProps: serverlessrepo.CfnApplicationProps = {
author: 'author',
description: 'description',
name: 'name',
// the properties below are optional
homePageUrl: 'homePageUrl',
labels: ['labels'],
licenseBody: 'licenseBody',
readmeBody: 'readmeBody',
semanticVersion: 'semanticVersion',
sourceCodeUrl: 'sourceCodeUrl',
spdxLicenseId: 'spdxLicenseId',
templateBody: 'templateBody',
};
Properties
| Name | Type | Description |
|---|---|---|
| author | string | The name of the author publishing the app. |
| description | string | The description of the application. |
| name | string | The name of the application. |
| home | string | A URL with more information about the application. |
| labels? | string[] | Labels to improve discovery of apps in search results. |
| license | string | A local text file that contains the license of the app. |
| readme | string | A text readme file in Markdown language that contains a more detailed description of the application. |
| semantic | string | The semantic version of the application. |
| source | string | A link to a public repository for the source code of your application. |
| spdx | string | A valid identifier from https://spdx.org/licenses/. |
| template | string | The local raw packaged AWS SAM template file of your application. |
author
Type:
string
The name of the author publishing the app.
description
Type:
string
The description of the application.
name
Type:
string
The name of the application.
homePageUrl?
Type:
string
(optional)
A URL with more information about the application.
labels?
Type:
string[]
(optional)
Labels to improve discovery of apps in search results.
licenseBody?
Type:
string
(optional)
A local text file that contains the license of the app.
readmeBody?
Type:
string
(optional)
A text readme file in Markdown language that contains a more detailed description of the application.
semanticVersion?
Type:
string
(optional)
The semantic version of the application.
sourceCodeUrl?
Type:
string
(optional)
A link to a public repository for the source code of your application.
spdxLicenseId?
Type:
string
(optional)
A valid identifier from https://spdx.org/licenses/.
templateBody?
Type:
string
(optional)
The local raw packaged AWS SAM template file of your application.

.NET
Go
Java
Python
TypeScript