Skip to content
v2.275.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.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#
A description of the extension.

Default: No description.

extensionNameoptionalstringextension_nameoptionalstrextensionNameoptionalStringExtensionNameoptionalstringExtensionNameoptional*string#
The name of the extension.

Default: A name is generated.

latestVersionNumberoptionalnumberlatest_version_numberoptionalint | floatlatestVersionNumberoptionalNumberLatestVersionNumberoptionaldoubleLatestVersionNumberoptional*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.

parametersoptionalParameter[]parametersoptionaltyping.List[Parameter]parametersoptionalList<Parameter>ParametersoptionalParameter[]Parametersoptional*[]Parameter= None.#
The parameters accepted for the extension.