InvokedByProperty Struct
Specifies the type of message that triggers a bot.
| Source | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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
// 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
standardMessagesstringstandard_messagesstrstandardMessagesStringStandardMessagesstringStandardMessages*string required #Sets standard messages as the bot trigger.
targetedMessagesstringtargeted_messagesstrtargetedMessagesStringTargetedMessagesstringTargetedMessages*string required #Sets targeted messages as the bot trigger.