ComponentStepIfCondition

class aws_cdk.aws_imagebuilder_alpha.ComponentStepIfCondition(if_condition)

Bases: object

(experimental) Represents an if condition in the component document.

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

# if_object: Any

component_step_if_condition = imagebuilder_alpha.ComponentStepIfCondition.from_object({
    "if_object_key": if_object
})
Parameters:

if_condition (Any)

Stability:

experimental

Attributes

if_condition

(experimental) The rendered input value.

Stability:

experimental

Static Methods

classmethod from_object(if_object)

(experimental) Creates the if value from an object, for the component step.

Parameters:

if_object (Mapping[str, Any]) – The object containing the if condition.

Stability:

experimental

Return type:

ComponentStepIfCondition