Skip to content
v2.274.0

ExtensionProps Struct ​

Properties for the Extension construct.

Example ​

ts
declare const fn: lambda.Function;

new appconfig.Extension(this, 'MyExtension', {
  actions: [
    new appconfig.Action({
      actionPoints: [appconfig.ActionPoint.ON_DEPLOYMENT_START],
      eventDestination: new appconfig.LambdaDestination(fn),
    }),
  ],
});

Properties ​

actionsAction[]actionstyping.List[Action]actionsList<Action>ActionsAction[]Actions*[]Actionrequired#
The actions for the extension.
descriptionstringdescriptionstrdescriptionStringDescriptionstringDescription*string= No description.#
A description of the extension.
extensionNamestringextension_namestrextensionNameStringExtensionNamestringExtensionName*string= A name is generated.#
The name of the extension.
latestVersionNumbernumberlatest_version_numberint | floatlatestVersionNumberNumberLatestVersionNumberdoubleLatestVersionNumber*float64= None.#
The latest version number of the extension.

When you create a new version, specify the most recent current version number. For example, you create version 3, enter 2 for this field.

parametersParameter[]parameterstyping.List[Parameter]parametersList<Parameter>ParametersParameter[]Parameters*[]Parameter= None.#
The parameters accepted for the extension.