aws-cdk-lib.LazyListValueOptions

interface LazyListValueOptions

LanguageType name
.NETAmazon.CDK.LazyListValueOptions
Gogithub.com/aws/aws-cdk-go/awscdk/v2#LazyListValueOptions
Javasoftware.amazon.awscdk.LazyListValueOptions
Pythonaws_cdk.LazyListValueOptions
TypeScript (source)aws-cdk-lib » LazyListValueOptions

Options for creating a lazy list token.

Example

// 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

NameTypeDescription
displayHint?stringUse the given name as a display hint.
omitEmpty?booleanIf the produced list is empty, return 'undefined' instead.

displayHint?

Type: string (optional, default: No hint)

Use the given name as a display hint.


omitEmpty?

Type: boolean (optional, default: false)

If the produced list is empty, return 'undefined' instead.