# ConfigurationProperty

A structure that contains configuration data.

- Source: Generated at build time
- Type last changed: v2.254.0 · 13 May 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_chime as chime } from 'aws-cdk-lib';
const configurationProperty: chime.CfnAppInstanceBot.ConfigurationProperty = {
  lex: {
    lexBotAliasArn: 'lexBotAliasArn',
    localeId: 'localeId',

    // the properties below are optional
    invokedBy: {
      standardMessages: 'standardMessages',
      targetedMessages: 'targetedMessages',
    },
    respondsTo: 'respondsTo',
    welcomeIntent: 'welcomeIntent',
  },
};
```

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_chime as chime

configuration_property = chime.CfnAppInstanceBot.ConfigurationProperty(
    lex=chime.CfnAppInstanceBot.LexConfigurationProperty(
        lex_bot_alias_arn="lexBotAliasArn",
        locale_id="localeId",

        # the properties below are optional
        invoked_by=chime.CfnAppInstanceBot.InvokedByProperty(
            standard_messages="standardMessages",
            targeted_messages="targetedMessages"
        ),
        responds_to="respondsTo",
        welcome_intent="welcomeIntent"
    )
)
```

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

ConfigurationProperty configurationProperty = ConfigurationProperty.builder()
        .lex(LexConfigurationProperty.builder()
                .lexBotAliasArn("lexBotAliasArn")
                .localeId("localeId")

                // the properties below are optional
                .invokedBy(InvokedByProperty.builder()
                        .standardMessages("standardMessages")
                        .targetedMessages("targetedMessages")
                        .build())
                .respondsTo("respondsTo")
                .welcomeIntent("welcomeIntent")
                .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.Chime;

var configurationProperty = new ConfigurationProperty {
    Lex = new LexConfigurationProperty {
        LexBotAliasArn = "lexBotAliasArn",
        LocaleId = "localeId",

        // the properties below are optional
        InvokedBy = new InvokedByProperty {
            StandardMessages = "standardMessages",
            TargetedMessages = "targetedMessages"
        },
        RespondsTo = "respondsTo",
        WelcomeIntent = "welcomeIntent"
    }
};
```

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"

configurationProperty := &ConfigurationProperty{
	Lex: &LexConfigurationProperty{
		LexBotAliasArn: jsii.String("lexBotAliasArn"),
		LocaleId: jsii.String("localeId"),

		// the properties below are optional
		InvokedBy: &InvokedByProperty{
			StandardMessages: jsii.String("standardMessages"),
			TargetedMessages: jsii.String("targetedMessages"),
		},
		RespondsTo: jsii.String("respondsTo"),
		WelcomeIntent: jsii.String("welcomeIntent"),
	},
}
```

## Properties

- `lex`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAppInstanceBot.LexConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_chime.CfnAppInstanceBot.LexConfigurationProperty.html) (required) — The configuration for an Amazon Lex V2 bot.
