ComponentConstantValue

class aws_cdk.aws_imagebuilder_alpha.ComponentConstantValue(type, value)

Bases: object

(experimental) The value of a constant in a 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

component_constant_value = imagebuilder_alpha.ComponentConstantValue.from_string("value")
Parameters:
  • type (str)

  • value (Any)

Stability:

experimental

Attributes

type

(experimental) The data type of the constant.

Stability:

experimental

value

(experimental) The value of the constant.

Stability:

experimental

Static Methods

classmethod from_string(value)

(experimental) Creates a string type constant in a component document.

Parameters:

value (str) – The value of the constant.

Stability:

experimental

Return type:

ComponentConstantValue