Skip to content
v2.278.0

CfnAppInstanceBotProps Struct ​

Properties for defining a CfnAppInstanceBot.

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 cfnAppInstanceBotProps: chime.CfnAppInstanceBotProps = {
  appInstanceArn: 'appInstanceArn',
  configuration: {
    lex: {
      lexBotAliasArn: 'lexBotAliasArn',
      localeId: 'localeId',

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

  // the properties below are optional
  metadata: 'metadata',
  name: 'name',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
python
from aws_cdk import CfnTag
# 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

cfn_app_instance_bot_props = chime.CfnAppInstanceBotProps(
    app_instance_arn="appInstanceArn",
    configuration=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"
        )
    ),

    # the properties below are optional
    metadata="metadata",
    name="name",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
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.*;

CfnAppInstanceBotProps cfnAppInstanceBotProps = CfnAppInstanceBotProps.builder()
        .appInstanceArn("appInstanceArn")
        .configuration(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())

        // the properties below are optional
        .metadata("metadata")
        .name("name")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .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 cfnAppInstanceBotProps = new CfnAppInstanceBotProps {
    AppInstanceArn = "appInstanceArn",
    Configuration = 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"
        }
    },

    // the properties below are optional
    Metadata = "metadata",
    Name = "name",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
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"

cfnAppInstanceBotProps := &CfnAppInstanceBotProps{
	AppInstanceArn: jsii.String("appInstanceArn"),
	Configuration: &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"),
		},
	},

	// the properties below are optional
	Metadata: jsii.String("metadata"),
	Name: jsii.String("name"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

appInstanceArnstringapp_instance_arnstrappInstanceArnStringAppInstanceArnstringAppInstanceArn*string required #
The ARN of the AppInstance.
configurationIResolvable | CfnAppInstanceBot.ConfigurationPropertyconfigurationtyping.Union[IResolvable, ConfigurationProperty]configurationIResolvableConfigurationIResolvableConfigurationinterface{} required #
A structure that contains configuration data.
metadataoptionalstringmetadataoptionalstrmetadataoptionalStringMetadataoptionalstringMetadataoptional*string #
The metadata of the AppInstanceBot.
nameoptionalstringnameoptionalstrnameoptionalStringNameoptionalstringNameoptional*string #
The name of the AppInstanceBot.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
The tags assigned to the AppInstanceBot.