# LazyAnyValueOptions

Options for creating lazy untyped tokens.

Used as argument in: [Lazy.any](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.Lazy.html#any), [Lazy.uncachedAny](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.Lazy.html#uncachedany)

- Source: [`core/lib/lazy.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/core/lib/lazy.ts#L120)

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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
};
```

Golang:

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

- `displayHint`: string — Use the given name as a display hint.

  **Default:** No hint

- `omitEmptyArray`: boolean = false — If the produced value is an array and it is empty, return 'undefined' instead.
