Skip to content
v2.278.0

ContainerRecipeReference Struct ​

A reference to a ContainerRecipe resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_imagebuilder as interfaces_imagebuilder } from 'aws-cdk-lib/interfaces';
const containerRecipeReference: interfaces_imagebuilder.ContainerRecipeReference = {
  containerRecipeArn: 'containerRecipeArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_imagebuilder as interfaces_imagebuilder

container_recipe_reference = interfaces_imagebuilder.ContainerRecipeReference(
    container_recipe_arn="containerRecipeArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.imagebuilder.*;

ContainerRecipeReference containerRecipeReference = ContainerRecipeReference.builder()
        .containerRecipeArn("containerRecipeArn")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.ImageBuilder;

var containerRecipeReference = new ContainerRecipeReference {
    ContainerRecipeArn = "containerRecipeArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

containerRecipeReference := &ContainerRecipeReference{
	ContainerRecipeArn: jsii.String("containerRecipeArn"),
}

Properties ​

containerRecipeArnstringcontainer_recipe_arnstrcontainerRecipeArnStringContainerRecipeArnstringContainerRecipeArn*string required #
The Arn of the ContainerRecipe resource.