# InvokedByProperty

Struct · External

Specifies the type of message that triggers a bot.

- 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 invokedByProperty: chime.CfnAppInstanceBot.InvokedByProperty = {
  standardMessages: 'standardMessages',
  targetedMessages: 'targetedMessages',
};
```

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

invoked_by_property = chime.CfnAppInstanceBot.InvokedByProperty(
    standard_messages="standardMessages",
    targeted_messages="targetedMessages"
)
```

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

InvokedByProperty invokedByProperty = InvokedByProperty.builder()
        .standardMessages("standardMessages")
        .targetedMessages("targetedMessages")
        .build();
```

C#:

```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 invokedByProperty = new InvokedByProperty {
    StandardMessages = "standardMessages",
    TargetedMessages = "targetedMessages"
};
```

Go:

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

invokedByProperty := &InvokedByProperty{
	StandardMessages: jsii.String("standardMessages"),
	TargetedMessages: jsii.String("targetedMessages"),
}
```

## Properties

- `standardMessages`: string (required) — Sets standard messages as the bot trigger.

- `targetedMessages`: string (required) — Sets targeted messages as the bot trigger.
