# SlotValueOverrideMapProperty

Maps a slot name to the [SlotValueOverride](https://docs.aws.amazon.com/lexv2/latest/APIReference/API_SlotValueOverride.html) object.

- 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';

declare const slotValueOverrideProperty_: lex.CfnBot.SlotValueOverrideProperty;
const slotValueOverrideMapProperty: lex.CfnBot.SlotValueOverrideMapProperty = {
  slotName: 'slotName',
  slotValueOverride: {
    shape: 'shape',
    value: {
      interpretedValue: 'interpretedValue',
    },
    values: [slotValueOverrideProperty_],
  },
};
```

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_value_override_property_: lex.CfnBot.SlotValueOverrideProperty

slot_value_override_map_property = lex.CfnBot.SlotValueOverrideMapProperty(
    slot_name="slotName",
    slot_value_override=lex.CfnBot.SlotValueOverrideProperty(
        shape="shape",
        value=lex.CfnBot.SlotValueProperty(
            interpreted_value="interpretedValue"
        ),
        values=[slot_value_override_property_]
    )
)
```

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

SlotValueOverrideProperty slotValueOverrideProperty_;

SlotValueOverrideMapProperty slotValueOverrideMapProperty = SlotValueOverrideMapProperty.builder()
        .slotName("slotName")
        .slotValueOverride(SlotValueOverrideProperty.builder()
                .shape("shape")
                .value(SlotValueProperty.builder()
                        .interpretedValue("interpretedValue")
                        .build())
                .values(List.of(slotValueOverrideProperty_))
                .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;

SlotValueOverrideProperty slotValueOverrideProperty_;

var slotValueOverrideMapProperty = new SlotValueOverrideMapProperty {
    SlotName = "slotName",
    SlotValueOverride = new SlotValueOverrideProperty {
        Shape = "shape",
        Value = new SlotValueProperty {
            InterpretedValue = "interpretedValue"
        },
        Values = new [] { slotValueOverrideProperty_ }
    }
};
```

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"

var slotValueOverrideProperty_ SlotValueOverrideProperty

slotValueOverrideMapProperty := &SlotValueOverrideMapProperty{
	SlotName: jsii.String("slotName"),
	SlotValueOverride: &SlotValueOverrideProperty{
		Shape: jsii.String("shape"),
		Value: &SlotValueProperty{
			InterpretedValue: jsii.String("interpretedValue"),
		},
		Values: []interface{}{
			slotValueOverrideProperty_,
		},
	},
}
```

## Properties

- `slotName`: string — The name of the slot.

- `slotValueOverride`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.SlotValueOverrideProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SlotValueOverrideProperty.html) — The SlotValueOverride object to which the slot name will be mapped.
