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

Properties for an EC2 Image Builder Amazon-managed component.

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

## Example

TypeScript:

```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 amazonManagedComponentAttributes: imagebuilder_alpha.AmazonManagedComponentAttributes = {
  componentName: 'componentName',

  // the properties below are optional
  componentVersion: 'componentVersion',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_imagebuilder_alpha as imagebuilder_alpha

amazon_managed_component_attributes = imagebuilder_alpha.AmazonManagedComponentAttributes(
    component_name="componentName",

    # the properties below are optional
    component_version="componentVersion"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.imagebuilder.alpha.*;

AmazonManagedComponentAttributes amazonManagedComponentAttributes = AmazonManagedComponentAttributes.builder()
        .componentName("componentName")

        // the properties below are optional
        .componentVersion("componentVersion")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.ImageBuilder.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ImageBuilder.Alpha;

var amazonManagedComponentAttributes = new AmazonManagedComponentAttributes {
    ComponentName = "componentName",

    // the properties below are optional
    ComponentVersion = "componentVersion"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awsimagebuilderalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import imagebuilder_alpha "github.com/aws/aws-cdk-go/awsimagebuilderalpha"

amazonManagedComponentAttributes := &AmazonManagedComponentAttributes{
	ComponentName: jsii.String("componentName"),

	// the properties below are optional
	ComponentVersion: jsii.String("componentVersion"),
}
```

## Properties

- `componentName`: string (required) — The name of the Amazon-managed component.

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

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