ComponentConfiguration

class aws_cdk.aws_imagebuilder_alpha.ComponentConfiguration(*, component, parameters=None)

Bases: object

(experimental) Configuration details for a component, to include in a recipe.

Parameters:
  • component (IComponent) – (experimental) The component to execute as part of the image build.

  • parameters (Optional[Mapping[str, ComponentParameterValue]]) – (experimental) The parameters to use when executing the component. Default: - no parameters. if the component contains parameters, their default values will be used. otherwise, any required parameters that are not included will result in a build failure

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# 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

# component: imagebuilder_alpha.Component
# component_parameter_value: imagebuilder_alpha.ComponentParameterValue

component_configuration = imagebuilder_alpha.ComponentConfiguration(
    component=component,

    # the properties below are optional
    parameters={
        "parameters_key": component_parameter_value
    }
)

Attributes

component

(experimental) The component to execute as part of the image build.

Stability:

experimental

parameters

(experimental) The parameters to use when executing the component.

Default:

  • no parameters. if the component contains parameters, their default values will be used. otherwise, any

required parameters that are not included will result in a build failure

Stability:

experimental