interface AmazonManagedComponentOptions
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ImageBuilder.Alpha.AmazonManagedComponentOptions |
Go | github.com/aws/aws-cdk-go/awsimagebuilderalpha/v2#AmazonManagedComponentOptions |
Java | software.amazon.awscdk.services.imagebuilder.alpha.AmazonManagedComponentOptions |
Python | aws_cdk.aws_imagebuilder_alpha.AmazonManagedComponentOptions |
TypeScript (source) | @aws-cdk/aws-imagebuilder-alpha ยป AmazonManagedComponentOptions |
Options for selecting a predefined Amazon-managed image.
Example
const imageRecipe = new imagebuilder.ImageRecipe(this, 'AmazonManagedImageRecipe', {
baseImage: imagebuilder.BaseImage.fromSsmParameterName(
'/aws/service/ami-amazon-linux-latest/al2023-ami-minimal-kernel-default-x86_64'
),
components: [
{
component: imagebuilder.AmazonManagedComponent.updateOs(this, 'UpdateOS', {
platform: imagebuilder.Platform.LINUX
})
},
{
component: imagebuilder.AmazonManagedComponent.awsCliV2(this, 'AwsCli', {
platform: imagebuilder.Platform.LINUX
})
}
]
});
Properties
| Name | Type | Description |
|---|---|---|
| platform | Platform | The platform of the Amazon-managed component. |
| component | string | The version of the Amazon-managed component. |
platform
Type:
Platform
The platform of the Amazon-managed component.
componentVersion?
Type:
string
(optional, default: the latest version of the component, x.x.x)
The version of the Amazon-managed component.

.NET
Go
Java
Python
TypeScript (