ComponentConfigurationProperty Struct
Configuration details of the component.
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 imagebuilder } from 'aws-cdk-lib';
const componentConfigurationProperty: imagebuilder.CfnContainerRecipe.ComponentConfigurationProperty = {
componentArn: 'componentArn',
parameters: [{
name: 'name',
value: ['value'],
}],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_imagebuilder as imagebuilder
component_configuration_property = imagebuilder.CfnContainerRecipe.ComponentConfigurationProperty(
component_arn="componentArn",
parameters=[imagebuilder.CfnContainerRecipe.ComponentParameterProperty(
name="name",
value=["value"]
)]
)
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.*;
ComponentConfigurationProperty componentConfigurationProperty = ComponentConfigurationProperty.builder()
.componentArn("componentArn")
.parameters(List.of(ComponentParameterProperty.builder()
.name("name")
.value(List.of("value"))
.build()))
.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.AWS.ImageBuilder;
var componentConfigurationProperty = new ComponentConfigurationProperty {
ComponentArn = "componentArn",
Parameters = new [] { new ComponentParameterProperty {
Name = "name",
Value = new [] { "value" }
} }
};
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"
componentConfigurationProperty := &ComponentConfigurationProperty{
ComponentArn: jsii.String("componentArn"),
Parameters: []interface{}{
&ComponentParameterProperty{
Name: jsii.String("name"),
Value: []*string{
jsii.String("value"),
},
},
},
}
Properties
componentArnoptionalstringcomponent_arnoptionalstrcomponentArnoptionalStringComponentArnoptionalstringComponentArnoptional*string#The Amazon Resource Name (ARN) of the component.
parametersoptionalIResolvable | IResolvable | CfnContainerRecipe.ComponentParameterProperty[]parametersoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ComponentParameterProperty]]]parametersoptionalIResolvableParametersoptionalIResolvableParametersoptionalinterface{}#A group of parameter settings that Image Builder uses to configure the component for a specific recipe.