import * as cdk from "../../core/lib"; import * as constructs from "constructs"; import * as cfn_parse from "../../core/lib/helpers-internal"; import { ApplicationReference, IApplicationRef } from "../../interfaces/generated/aws-serverlessrepo-interfaces.generated"; /** * Resource type definition for an AWS Serverless Application Repository application. * * @cloudformationResource AWS::ServerlessRepo::Application * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverlessrepo-application.html */ export declare class CfnApplication extends cdk.CfnResource implements cdk.IInspectable, IApplicationRef { /** * The CloudFormation resource type name for this resource class. */ static readonly CFN_RESOURCE_TYPE_NAME: string; /** * Build a CfnApplication from CloudFormation properties * * A factory method that creates a new instance of this class from an object * containing the CloudFormation properties of this resource. * Used in the @aws-cdk/cloudformation-include module. * * @internal */ static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnApplication; /** * Checks whether the given object is a CfnApplication */ static isCfnApplication(x: any): x is CfnApplication; /** * The name of the author publishing the app. */ private _author; /** * The description of the application. */ private _description; /** * A URL with more information about the application. */ private _homePageUrl?; /** * Labels to improve discovery of apps in search results. */ private _labels?; /** * A local text file that contains the license of the app. */ private _licenseBody?; /** * The name of the application. */ private _name; /** * A text readme file in Markdown language that contains a more detailed description of the application. */ private _readmeBody?; /** * The semantic version of the application. */ private _semanticVersion?; /** * A link to a public repository for the source code of your application. */ private _sourceCodeUrl?; /** * A valid identifier from https://spdx.org/licenses/. */ private _spdxLicenseId?; /** * The local raw packaged AWS SAM template file of your application. */ private _templateBody?; protected readonly cfnPropertyNames: Record; /** * Create a new `AWS::ServerlessRepo::Application`. * * @param scope Scope in which this resource is defined * @param id Construct identifier for this resource (unique in its scope) * @param props Resource properties */ constructor(scope: constructs.Construct, id: string, props: CfnApplicationProps); get applicationRef(): ApplicationReference; /** * The name of the author publishing the app. */ get author(): string; /** * The name of the author publishing the app. */ set author(value: string); /** * The description of the application. */ get description(): string; /** * The description of the application. */ set description(value: string); /** * A URL with more information about the application. */ get homePageUrl(): string | undefined; /** * A URL with more information about the application. */ set homePageUrl(value: string | undefined); /** * Labels to improve discovery of apps in search results. */ get labels(): Array | undefined; /** * Labels to improve discovery of apps in search results. */ set labels(value: Array | undefined); /** * A local text file that contains the license of the app. */ get licenseBody(): string | undefined; /** * A local text file that contains the license of the app. */ set licenseBody(value: string | undefined); /** * The name of the application. */ get name(): string; /** * The name of the application. */ set name(value: string); /** * A text readme file in Markdown language that contains a more detailed description of the application. */ get readmeBody(): string | undefined; /** * A text readme file in Markdown language that contains a more detailed description of the application. */ set readmeBody(value: string | undefined); /** * The semantic version of the application. */ get semanticVersion(): string | undefined; /** * The semantic version of the application. */ set semanticVersion(value: string | undefined); /** * A link to a public repository for the source code of your application. */ get sourceCodeUrl(): string | undefined; /** * A link to a public repository for the source code of your application. */ set sourceCodeUrl(value: string | undefined); /** * A valid identifier from https://spdx.org/licenses/. */ get spdxLicenseId(): string | undefined; /** * A valid identifier from https://spdx.org/licenses/. */ set spdxLicenseId(value: string | undefined); /** * The local raw packaged AWS SAM template file of your application. */ get templateBody(): string | undefined; /** * The local raw packaged AWS SAM template file of your application. */ set templateBody(value: string | undefined); /** * The Amazon Resource Name (ARN) of the application. * * @cloudformationAttribute ApplicationId */ get attrApplicationId(): string; /** * The date and time this resource was created. * * @cloudformationAttribute CreationTime */ get attrCreationTime(): string; /** * Whether the author of this application has been verified. * * @cloudformationAttribute IsVerifiedAuthor */ get attrIsVerifiedAuthor(): cdk.IResolvable; protected get cfnProperties(): Record; /** * Examines the CloudFormation resource and discloses attributes * * @param inspector tree inspector to collect and process attributes */ inspect(inspector: cdk.TreeInspector): void; protected renderProperties(props: Record): Record; } /** * Properties for defining a `CfnApplication` * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverlessrepo-application.html */ export interface CfnApplicationProps { /** * The name of the author publishing the app. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverlessrepo-application.html#cfn-serverlessrepo-application-author */ readonly author: string; /** * The description of the application. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverlessrepo-application.html#cfn-serverlessrepo-application-description */ readonly description: string; /** * A URL with more information about the application. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverlessrepo-application.html#cfn-serverlessrepo-application-homepageurl */ readonly homePageUrl?: string; /** * Labels to improve discovery of apps in search results. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverlessrepo-application.html#cfn-serverlessrepo-application-labels */ readonly labels?: Array; /** * A local text file that contains the license of the app. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverlessrepo-application.html#cfn-serverlessrepo-application-licensebody */ readonly licenseBody?: string; /** * The name of the application. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverlessrepo-application.html#cfn-serverlessrepo-application-name */ readonly name: string; /** * A text readme file in Markdown language that contains a more detailed description of the application. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverlessrepo-application.html#cfn-serverlessrepo-application-readmebody */ readonly readmeBody?: string; /** * The semantic version of the application. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverlessrepo-application.html#cfn-serverlessrepo-application-semanticversion */ readonly semanticVersion?: string; /** * A link to a public repository for the source code of your application. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverlessrepo-application.html#cfn-serverlessrepo-application-sourcecodeurl */ readonly sourceCodeUrl?: string; /** * A valid identifier from https://spdx.org/licenses/. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverlessrepo-application.html#cfn-serverlessrepo-application-spdxlicenseid */ readonly spdxLicenseId?: string; /** * The local raw packaged AWS SAM template file of your application. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverlessrepo-application.html#cfn-serverlessrepo-application-templatebody */ readonly templateBody?: string; } export type { IApplicationRef, ApplicationReference };