Skip to main content
Options for creating lazy untyped tokens.

Initializer

import { LazyAnyValueOptions } from 'cdktn'

const lazyAnyValueOptions: LazyAnyValueOptions = { ... }

Properties

NameTypeDescription
displayHintstringUse the given name as a display hint.
omitEmptyArraybooleanIf the produced value is an array and it is empty, return ‘undefined’ instead.

displayHintOptional

public readonly displayHint: string;
  • Type: string
  • Default: No hint
Use the given name as a display hint.

omitEmptyArrayOptional

public readonly omitEmptyArray: boolean;
  • Type: boolean
  • Default: false
If the produced value is an array and it is empty, return ‘undefined’ instead.