LazyListValueOptions

class aws_cdk.core.LazyListValueOptions(*, display_hint=None, omit_empty=None)

Bases: object

Options for creating a lazy list token.

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

  • omit_empty (Optional[bool]) – If the produced list 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_list_value_options = cdk.LazyListValueOptions(
    display_hint="displayHint",
    omit_empty=False
)

Attributes

display_hint

Use the given name as a display hint.

Default:
  • No hint

omit_empty

If the produced list is empty, return ‘undefined’ instead.

Default:

false