LazyAnyValueOptions

class aws_cdk.core.LazyAnyValueOptions(*, display_hint=None, omit_empty_array=None)

Bases: object

Options for creating lazy untyped tokens.

Parameters:
  • display_hint (Optional[str]) – Use the given name as a display hint. Default: - No hint

  • omit_empty_array (Optional[bool]) – If the produced value is an array and it is empty, return ‘undefined’ instead. Default: false

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.core as cdk

lazy_any_value_options = cdk.LazyAnyValueOptions(
    display_hint="displayHint",
    omit_empty_array=False
)

Attributes

display_hint

Use the given name as a display hint.

Default:
  • No hint

omit_empty_array

If the produced value is an array and it is empty, return ‘undefined’ instead.

Default:

false