Skip to main content
Options for creating lazy untyped tokens.

Initializer

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

&cdktn.LazyAnyValueOptions {
	DisplayHint: *string,
	OmitEmptyArray: *bool,
}

Properties

NameTypeDescription
DisplayHint*stringUse the given name as a display hint.
OmitEmptyArray*boolIf the produced value is an array and it is empty, return ‘undefined’ instead.

DisplayHintOptional

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

OmitEmptyArrayOptional

OmitEmptyArray *bool
  • Type: *bool
  • Default: false
If the produced value is an array and it is empty, return ‘undefined’ instead.