# SlotTypeValueProperty

Each slot type can have a set of values.

Each `SlotTypeValue` represents a value that the slot type can take.

- 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 slotTypeValueProperty: lex.CfnBot.SlotTypeValueProperty = {
  sampleValue: {
    value: 'value',
  },

  // the properties below are optional
  synonyms: [{
    value: 'value',
  }],
};
```

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_type_value_property = lex.CfnBot.SlotTypeValueProperty(
    sample_value=lex.CfnBot.SampleValueProperty(
        value="value"
    ),

    # the properties below are optional
    synonyms=[lex.CfnBot.SampleValueProperty(
        value="value"
    )]
)
```

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

SlotTypeValueProperty slotTypeValueProperty = SlotTypeValueProperty.builder()
        .sampleValue(SampleValueProperty.builder()
                .value("value")
                .build())

        // the properties below are optional
        .synonyms(List.of(SampleValueProperty.builder()
                .value("value")
                .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 slotTypeValueProperty = new SlotTypeValueProperty {
    SampleValue = new SampleValueProperty {
        Value = "value"
    },

    // the properties below are optional
    Synonyms = new [] { new SampleValueProperty {
        Value = "value"
    } }
};
```

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"

slotTypeValueProperty := &SlotTypeValueProperty{
	SampleValue: &SampleValueProperty{
		Value: jsii.String("value"),
	},

	// the properties below are optional
	Synonyms: []interface{}{
		&SampleValueProperty{
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `sampleValue`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.SampleValueProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SampleValueProperty.html) (required) — The value of the slot type entry.

- `synonyms`: [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.SampleValueProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SampleValueProperty.html)[] — Additional values related to the slot type entry.
