Skip to content
v2.274.0

LazyListValueOptions Struct ​

Options for creating a lazy list token.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const lazyListValueOptions: cdk.LazyListValueOptions = {
  displayHint: 'displayHint',
  omitEmpty: false,
};

Properties ​

displayHintoptionalstringdisplay_hintoptionalstrdisplayHintoptionalStringDisplayHintoptionalstringDisplayHintoptional*string#
Use the given name as a display hint.

Default: No hint

omitEmptyoptionalbooleanomit_emptyoptionalboolomitEmptyoptionalBooleanOmitEmptyoptionalboolOmitEmptyoptional*bool= false#
If the produced list is empty, return 'undefined' instead.