Skip to content
v2.273.0

AmazonManagedComponentOptions Struct ​

Options for selecting a predefined Amazon-managed image.

Example ​

ts
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 ​

componentVersionstringcomponent_versionstrcomponentVersionStringComponentVersionstringComponentVersion*string= the latest version of the compon…#
The version of the Amazon-managed component.
default

Default: the latest version of the component, x.x.x

platformPlatformplatformPlatformplatformPlatformPlatformPlatformPlatformPlatformrequired#
The platform of the Amazon-managed component.