Skip to content
v2.277.0

Experimental

@aws-cdk/aws-imagebuilder-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

ImageRecipeAttributes Struct ​

Properties for an EC2 Image Builder image recipe.

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 imageRecipeAttributes: imagebuilder_alpha.ImageRecipeAttributes = {
  imageRecipeArn: 'imageRecipeArn',
  imageRecipeName: 'imageRecipeName',
  imageRecipeVersion: 'imageRecipeVersion',
};
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

image_recipe_attributes = imagebuilder_alpha.ImageRecipeAttributes(
    image_recipe_arn="imageRecipeArn",
    image_recipe_name="imageRecipeName",
    image_recipe_version="imageRecipeVersion"
)
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.*;

ImageRecipeAttributes imageRecipeAttributes = ImageRecipeAttributes.builder()
        .imageRecipeArn("imageRecipeArn")
        .imageRecipeName("imageRecipeName")
        .imageRecipeVersion("imageRecipeVersion")
        .build();
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 imageRecipeAttributes = new ImageRecipeAttributes {
    ImageRecipeArn = "imageRecipeArn",
    ImageRecipeName = "imageRecipeName",
    ImageRecipeVersion = "imageRecipeVersion"
};
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"

imageRecipeAttributes := &ImageRecipeAttributes{
	ImageRecipeArn: jsii.String("imageRecipeArn"),
	ImageRecipeName: jsii.String("imageRecipeName"),
	ImageRecipeVersion: jsii.String("imageRecipeVersion"),
}

Properties ​

imageRecipeArnoptionalstringimage_recipe_arnoptionalstrimageRecipeArnoptionalStringImageRecipeArnoptionalstringImageRecipeArnoptional*string #
The ARN of the image recipe.

Default: derived from the imageRecipeName

imageRecipeNameoptionalstringimage_recipe_nameoptionalstrimageRecipeNameoptionalStringImageRecipeNameoptionalstringImageRecipeNameoptional*string #
The name of the image recipe.

Default: derived from the imageRecipeArn

imageRecipeVersionoptionalstringimage_recipe_versionoptionalstrimageRecipeVersionoptionalStringImageRecipeVersionoptionalstringImageRecipeVersionoptional*string #
The version of the image recipe.

Default: derived from imageRecipeArn. if a imageRecipeName is provided, the latest version, x.x.x, will be used