LazyAnyValueOptions Struct
Options for creating lazy untyped tokens.
| Source | core/lib/lazy.ts |
|---|
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 lazyAnyValueOptions: cdk.LazyAnyValueOptions = {
displayHint: 'displayHint',
omitEmptyArray: 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_any_value_options = cdk.LazyAnyValueOptions(
display_hint="displayHint",
omit_empty_array=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.*;
LazyAnyValueOptions lazyAnyValueOptions = LazyAnyValueOptions.builder()
.displayHint("displayHint")
.omitEmptyArray(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 lazyAnyValueOptions = new LazyAnyValueOptions {
DisplayHint = "displayHint",
OmitEmptyArray = 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"
lazyAnyValueOptions := &LazyAnyValueOptions{
DisplayHint: jsii.String("displayHint"),
OmitEmptyArray: jsii.Boolean(false),
}
Properties
displayHintoptionalstringdisplay_hintoptionalstrdisplayHintoptionalStringDisplayHintoptionalstringDisplayHintoptional*string #Use the given name as a display hint.
Default: No hint
omitEmptyArrayoptionalbooleanomit_empty_arrayoptionalboolomitEmptyArrayoptionalBooleanOmitEmptyArrayoptionalboolOmitEmptyArrayoptional*bool = false #If the produced value is an array and it is empty, return 'undefined' instead.