# ExtensionOptions

Options for the Extension construct.

- Source: [`aws-appconfig/lib/extension.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-appconfig/lib/extension.ts#L342)
- Type last changed: v2.130.0 · 23 Feb 2024

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appconfig as appconfig } from 'aws-cdk-lib';

declare const parameter: appconfig.Parameter;
const extensionOptions: appconfig.ExtensionOptions = {
  description: 'description',
  extensionName: 'extensionName',
  latestVersionNumber: 123,
  parameters: [parameter],
};
```

## Properties

- `description`: string — A description of the extension.

  **Default:** No description.

- `extensionName`: string — The name of the extension.

  **Default:** A name is generated.

- `latestVersionNumber`: number = 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.

- `parameters`: [Parameter](/cdk/api/v2/docs/aws-cdk-lib.aws_appconfig.Parameter.html)[] = None. — The parameters accepted for the extension.
