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

Attributes for importing an Amazon-managed image by name (and optionally a version).

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/amazon-managed-image.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0-alpha.0/packages/@aws-cdk/aws-imagebuilder-alpha/lib/amazon-managed-image.ts#L11)

## Example

```ts
// Import by name
const managedImageByName = imagebuilder.AmazonManagedImage.fromAmazonManagedImageName(
  this,
  'ManagedImageByName',
  'amazon-linux-2023-x86'
);

// Import by attributes with specific version
const managedImageByAttributes = imagebuilder.AmazonManagedImage.fromAmazonManagedImageAttributes(this, 'ManagedImageByAttributes', {
  imageName: 'ubuntu-server-22-lts-x86',
  imageVersion: '2024.11.25'
});
```

## Properties

- `imageName`: string (required) — The name of the Amazon-managed image.

  The provided name must be normalized by converting all alphabetical
  characters to lowercase, and replacing all spaces and underscores with hyphens.

- `imageVersion`: string = x.x.x — The version of the Amazon-managed image.
