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

Properties for an EC2 Image Builder container recipe.

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

## 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 containerRecipeAttributes: imagebuilder_alpha.ContainerRecipeAttributes = {
  containerRecipeArn: 'containerRecipeArn',
  containerRecipeName: 'containerRecipeName',
  containerRecipeVersion: 'containerRecipeVersion',
};
```

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

container_recipe_attributes = imagebuilder_alpha.ContainerRecipeAttributes(
    container_recipe_arn="containerRecipeArn",
    container_recipe_name="containerRecipeName",
    container_recipe_version="containerRecipeVersion"
)
```

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.*;

ContainerRecipeAttributes containerRecipeAttributes = ContainerRecipeAttributes.builder()
        .containerRecipeArn("containerRecipeArn")
        .containerRecipeName("containerRecipeName")
        .containerRecipeVersion("containerRecipeVersion")
        .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 containerRecipeAttributes = new ContainerRecipeAttributes {
    ContainerRecipeArn = "containerRecipeArn",
    ContainerRecipeName = "containerRecipeName",
    ContainerRecipeVersion = "containerRecipeVersion"
};
```

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"

containerRecipeAttributes := &ContainerRecipeAttributes{
	ContainerRecipeArn: jsii.String("containerRecipeArn"),
	ContainerRecipeName: jsii.String("containerRecipeName"),
	ContainerRecipeVersion: jsii.String("containerRecipeVersion"),
}
```

## Properties

- `containerRecipeArn`: string — The ARN of the container recipe.

  **Default:** derived from containerRecipeName

- `containerRecipeName`: string — The name of the container recipe.

  **Default:** derived from containerRecipeArn

- `containerRecipeVersion`: string — The version of the container recipe.

  **Default:** derived from containerRecipeArn. if a containerRecipeName is provided, the latest version, x.x.x, will be used.
