> **Experimental**
>
> `@aws-cdk/aws-applicationsignals-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# CloudWatchAgentVersion

Provides version information and image selection for CloudWatch Agent.

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/enablement/ecs-cloudwatch-agent.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0-alpha.0/packages/@aws-cdk/aws-applicationsignals-alpha/lib/enablement/ecs-cloudwatch-agent.ts#L8)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as applicationsignals_alpha from '@aws-cdk/aws-applicationsignals-alpha';
const cloudWatchAgentVersion = new applicationsignals_alpha.CloudWatchAgentVersion();
```

## Initializer

```ts
new CloudWatchAgentVersion()
```

## Properties

- `CLOUDWATCH_AGENT_IMAGE`: string (static) — Default CloudWatch Agent image for Linux.

- `CLOUDWATCH_AGENT_IMAGE_WIN2019`: string (static) — CloudWatch Agent image for Windows Server 2019.

- `CLOUDWATCH_AGENT_IMAGE_WIN2022`: string (static) — CloudWatch Agent image for Windows Server 2022.

## Methods

- `getCloudWatchAgentImage(operatingSystemFamily?: OperatingSystemFamily): string` (static) — Gets the appropriate CloudWatch Agent image based on the operating system.

  **Parameters**

  - `operatingSystemFamily` — - The ECS operating system family.

  **Returns:** The CloudWatch Agent image URI
