interface LazyAnyValueOptions
Language | Type name |
---|---|
![]() | Amazon.CDK.LazyAnyValueOptions |
![]() | github.com/aws/aws-cdk-go/awscdk/v2#LazyAnyValueOptions |
![]() | software.amazon.awscdk.LazyAnyValueOptions |
![]() | aws_cdk.LazyAnyValueOptions |
![]() | aws-cdk-lib » LazyAnyValueOptions |
Options for creating lazy untyped tokens.
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 lazyAnyValueOptions: cdk.LazyAnyValueOptions = {
displayHint: 'displayHint',
omitEmptyArray: false,
};
Properties
Name | Type | Description |
---|---|---|
display | string | Use the given name as a display hint. |
omit | boolean | If the produced value is an array and it is empty, return 'undefined' instead. |
displayHint?
Type:
string
(optional, default: No hint)
Use the given name as a display hint.
omitEmptyArray?
Type:
boolean
(optional, default: false)
If the produced value is an array and it is empty, return 'undefined' instead.