ExtensionProps

class aws_cdk.aws_appconfig.ExtensionProps(*, description=None, extension_name=None, latest_version_number=None, parameters=None, actions)

Bases: ExtensionOptions

Properties for the Extension construct.

Parameters:
  • description (Optional[str]) – A description of the extension. Default: - No description.

  • extension_name (Optional[str]) – The name of the extension. Default: - A name is generated.

  • latest_version_number (Union[int, float, 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. Default: - None.

  • parameters (Optional[Sequence[Parameter]]) – The parameters accepted for the extension. Default: - None.

  • actions (Sequence[Action]) – The actions for the extension.

ExampleMetadata:

infused

Example:

# fn: lambda.Function


appconfig.Extension(self, "MyExtension",
    actions=[
        appconfig.Action(
            action_points=[appconfig.ActionPoint.ON_DEPLOYMENT_START],
            event_destination=appconfig.LambdaDestination(fn)
        )
    ]
)

Attributes

actions

The actions for the extension.

description

A description of the extension.

Default:
  • No description.

extension_name

The name of the extension.

Default:
  • A name is generated.

latest_version_number

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.

Default:
  • None.

parameters

The parameters accepted for the extension.

Default:
  • None.