Skip to main content
Options for creating a lazy list token.

Initializer

import "github.com/open-constructs/cdk-terrain-go/cdktn"

&cdktn.LazyListValueOptions {
	DisplayHint: *string,
	OmitEmpty: *bool,
}

Properties

NameTypeDescription
DisplayHint*stringUse the given name as a display hint.
OmitEmpty*boolIf the produced list is empty, return ‘undefined’ instead.

DisplayHintOptional

DisplayHint *string
  • Type: *string
  • Default: No hint
Use the given name as a display hint.

OmitEmptyOptional

OmitEmpty *bool
  • Type: *bool
  • Default: false
If the produced list is empty, return ‘undefined’ instead.