# SlotDefaultValueSpecificationProperty

The default value to use when a user doesn't provide a value for a slot.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lex as lex } from 'aws-cdk-lib';
const slotDefaultValueSpecificationProperty: lex.CfnBot.SlotDefaultValueSpecificationProperty = {
  defaultValueList: [{
    defaultValue: 'defaultValue',
  }],
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_lex as lex

slot_default_value_specification_property = lex.CfnBot.SlotDefaultValueSpecificationProperty(
    default_value_list=[lex.CfnBot.SlotDefaultValueProperty(
        default_value="defaultValue"
    )]
)
```

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.services.lex.*;

SlotDefaultValueSpecificationProperty slotDefaultValueSpecificationProperty = SlotDefaultValueSpecificationProperty.builder()
        .defaultValueList(List.of(SlotDefaultValueProperty.builder()
                .defaultValue("defaultValue")
                .build()))
        .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.AWS.Lex;

var slotDefaultValueSpecificationProperty = new SlotDefaultValueSpecificationProperty {
    DefaultValueList = new [] { new SlotDefaultValueProperty {
        DefaultValue = "defaultValue"
    } }
};
```

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 "github.com/aws/aws-cdk-go/awscdk"

slotDefaultValueSpecificationProperty := &SlotDefaultValueSpecificationProperty{
	DefaultValueList: []interface{}{
		&SlotDefaultValueProperty{
			DefaultValue: jsii.String("defaultValue"),
		},
	},
}
```

## Properties

- `defaultValueList`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.SlotDefaultValueProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SlotDefaultValueProperty.html)[] (required) — A list of default values.

  Amazon Lex chooses the default value to use in the order that they are presented in the list.
