Experimental
@aws-cdk/aws-imagebuilder-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
AmazonManagedImageAttributes Struct
Attributes for importing an Amazon-managed image by name (and optionally a version).
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
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.
imageVersionoptionalstringimage_versionoptionalstrimageVersionoptionalStringImageVersionoptionalstringImageVersionoptional*string= x.x.x#The version of the Amazon-managed image.