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

Properties for an EC2 Image Builder component.

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

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as imagebuilder_alpha from '@aws-cdk/aws-imagebuilder-alpha';
const componentAttributes: imagebuilder_alpha.ComponentAttributes = {
  componentArn: 'componentArn',
  componentName: 'componentName',
  componentVersion: 'componentVersion',
};
```

## Properties

- `componentArn`: string — The ARN of the component.

  **Default:** the ARN is automatically constructed if a componentName is provided, otherwise a componentArn is required

- `componentName`: string — The name of the component.

  **Default:** the name is automatically constructed if a componentArn is provided, otherwise a componentName is required

- `componentVersion`: string — The version of the component.

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