interface LazyAnyValueOptions
Language | Type name |
---|---|
.NET | Amazon.CDK.LazyAnyValueOptions |
Java | software.amazon.awscdk.core.LazyAnyValueOptions |
Python | aws_cdk.core.LazyAnyValueOptions |
TypeScript (source) | @aws-cdk/core » 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/core';
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.