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

Helper class for working with Amazon-managed components.

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

## 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
      })
    }
  ]
});
```

## Initializer

```ts
new AmazonManagedComponent()
```

## Methods

- `awsCliV2(scope: Construct, id: string, opts: AmazonManagedComponentOptions): IComponent` (static) — Imports the AWS CLI v2 Amazon-managed component.

  **Parameters**

  - `scope` — The construct scope.
  - `id` — Identifier of the construct.
  - `opts` — The Amazon-managed component options.

- `fromAmazonManagedComponentAttributes(scope: Construct, id: string, attrs: AmazonManagedComponentAttributes): IComponent` (static) — Imports an Amazon-managed component from its attributes.

  **Parameters**

  - `scope` — The construct scope.
  - `id` — Identifier of the construct.
  - `attrs` — The Amazon-managed component attributes.

- `fromAmazonManagedComponentName(scope: Construct, id: string, amazonManagedComponentName: string): IComponent` (static) — Imports an Amazon-managed component from its name.

  **Parameters**

  - `scope` — The construct scope.
  - `id` — Identifier of the construct.
  - `amazonManagedComponentName` — - The name of the Amazon-managed component.

- `helloWorld(scope: Construct, id: string, opts: AmazonManagedComponentOptions): IComponent` (static) — Imports the hello world Amazon-managed component.

  **Parameters**

  - `scope` — The construct scope.
  - `id` — Identifier of the construct.
  - `opts` — The Amazon-managed component options.

- `python3(scope: Construct, id: string, opts: AmazonManagedComponentOptions): IComponent` (static) — Imports the Python 3 Amazon-managed component.

  **Parameters**

  - `scope` — The construct scope.
  - `id` — Identifier of the construct.
  - `opts` — The Amazon-managed component options.

- `reboot(scope: Construct, id: string, opts: AmazonManagedComponentOptions): IComponent` (static) — Imports the reboot Amazon-managed component.

  **Parameters**

  - `scope` — The construct scope.
  - `id` — Identifier of the construct.
  - `opts` — The Amazon-managed component options.

- `stigBuild(scope: Construct, id: string, opts: AmazonManagedComponentOptions): IComponent` (static) — Imports the STIG hardening Amazon-managed component.

  **Parameters**

  - `scope` — The construct scope.
  - `id` — Identifier of the construct.
  - `opts` — The Amazon-managed component options.

- `updateOs(scope: Construct, id: string, opts: AmazonManagedComponentOptions): IComponent` (static) — Imports the OS update Amazon-managed component.

  **Parameters**

  - `scope` — The construct scope.
  - `id` — Identifier of the construct.
  - `opts` — The Amazon-managed component attributes.
