Skip to content
v2.278.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,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk as cdk

lazy_list_value_options = cdk.LazyListValueOptions(
    display_hint="displayHint",
    omit_empty=False
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;

LazyListValueOptions lazyListValueOptions = LazyListValueOptions.builder()
        .displayHint("displayHint")
        .omitEmpty(false)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;

var lazyListValueOptions = new LazyListValueOptions {
    DisplayHint = "displayHint",
    OmitEmpty = false
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import cdk "github.com/aws/aws-cdk-go/awscdk"

lazyListValueOptions := &LazyListValueOptions{
	DisplayHint: jsii.String("displayHint"),
	OmitEmpty: jsii.Boolean(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.