interface AmazonManagedImageAttributes
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ImageBuilder.Alpha.AmazonManagedImageAttributes |
Go | github.com/aws/aws-cdk-go/awsimagebuilderalpha/v2#AmazonManagedImageAttributes |
Java | software.amazon.awscdk.services.imagebuilder.alpha.AmazonManagedImageAttributes |
Python | aws_cdk.aws_imagebuilder_alpha.AmazonManagedImageAttributes |
TypeScript (source) | @aws-cdk/aws-imagebuilder-alpha ยป AmazonManagedImageAttributes |
Attributes for importing an Amazon-managed image by name (and optionally a version).
Example
// 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
| Name | Type | Description |
|---|---|---|
| image | string | The name of the Amazon-managed image. |
| image | string | The version of the Amazon-managed image. |
imageName
Type:
string
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?
Type:
string
(optional, default: x.x.x)
The version of the Amazon-managed image.

.NET
Go
Java
Python
TypeScript (