Skip to main content

@swamp/aws/lex

v2026.04.23.3

AWS LEX infrastructure models

Repository

https://github.com/systeminit/swamp-extensions

Labels

awslexcloudinfrastructure

Contents

Quality score

Verified by Swamp

How well-documented and verifiable this extension is.

100%

Grade A

  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • At least one platform tag (or universal)1/1earned
  • Two or more platform tags (or universal)1/1earned
  • License declared1/1earned
  • Verified public repository2/2earned

Install

$ swamp extension pull @swamp/aws/lex

@swamp/aws/lex/botv2026.04.23.2bot.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
Namestring
Description?stringA description of the resource
RoleArnstring
DataPrivacyobject
ErrorLogSettings?object
IdleSessionTTLInSecondsnumber
BotLocales?array
BotFileS3Location?object
BotTags?array
TestBotAliasTags?array
AutoBuildBotLocales?boolean
TestBotAliasSettings?object
Replication?object
createCreate a Lex Bot
getGet a Lex Bot
ArgumentTypeDescription
identifierstringThe primary identifier of the Lex Bot
updateUpdate a Lex Bot
deleteDelete a Lex Bot
ArgumentTypeDescription
identifierstringThe primary identifier of the Lex Bot
syncSync Lex Bot state from AWS

Resources

state(infinite)— Lex Bot resource state
@swamp/aws/lex/bot-aliasv2026.04.23.2bot_alias.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
BotIdstringUnique ID of resource
BotAliasLocaleSettings?arrayA list of bot alias locale settings to add to the bot alias.
BotAliasNamestringA unique identifier for a resource.
BotVersion?stringThe version of a bot.
ConversationLogSettings?objectContains information about code hooks that Amazon Lex calls during a conversation.
Description?stringA description of the bot alias. Use the description to help identify the bot alias in lists.
SentimentAnalysisSettings?objectDetermines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
BotAliasTags?arrayA list of tags to add to the bot alias.
createCreate a Lex BotAlias
getGet a Lex BotAlias
ArgumentTypeDescription
identifierstringThe primary identifier of the Lex BotAlias
updateUpdate a Lex BotAlias
deleteDelete a Lex BotAlias
ArgumentTypeDescription
identifierstringThe primary identifier of the Lex BotAlias
syncSync Lex BotAlias state from AWS

Resources

state(infinite)— Lex BotAlias resource state
@swamp/aws/lex/bot-versionv2026.04.23.2bot_version.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
BotIdstringUnique ID of resource
Description?stringA description of the version. Use the description to help identify the version in lists.
BotVersionLocaleSpecificationarraySpecifies the locales that Amazon Lex adds to this version. You can choose the Draft version or any other previously published version for each locale.
createCreate a Lex BotVersion
getGet a Lex BotVersion
ArgumentTypeDescription
identifierstringThe primary identifier of the Lex BotVersion
deleteDelete a Lex BotVersion
ArgumentTypeDescription
identifierstringThe primary identifier of the Lex BotVersion
syncSync Lex BotVersion state from AWS

Resources

state(infinite)— Lex BotVersion resource state
@swamp/aws/lex/resource-policyv2026.04.23.2resource_policy.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
ResourceArnstringThe Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
PolicystringA resource policy to add to the resource. The policy is a JSON structure following the IAM syntax that contains one or more statements that define the policy.
createCreate a Lex ResourcePolicy
getGet a Lex ResourcePolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the Lex ResourcePolicy
updateUpdate a Lex ResourcePolicy
deleteDelete a Lex ResourcePolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the Lex ResourcePolicy
syncSync Lex ResourcePolicy state from AWS

Resources

state(infinite)— Lex ResourcePolicy resource state