Skip to main content

Aws/lex

@swamp/aws/lexv2026.08.26.1· 1d agoMODELS
01README

AWS LEX infrastructure models

02Models4
@swamp/aws/lex/botv2026.08.17.2bot.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
Description?stringA description of the resource
ErrorLogSettings?object
RoleArnstring
BotType?enumThe type of a bot to create.
Namestring
BotTags?array
TestBotAliasTags?array
AutoBuildBotLocales?boolean
BotLocales?array
IdleSessionTTLInSecondsnumber
BotFileS3Location?object
Replication?object
BotMembers?arrayThe list of bot members in a network to be created.
TestBotAliasSettings?object
DataPrivacyobject
fn create()
Create a Lex Bot
fn get(identifier: string)
Get a Lex Bot
ArgumentTypeDescription
identifierstringThe primary identifier of the Lex Bot
fn update()
Update a Lex Bot
fn delete(identifier: string)
Delete a Lex Bot
ArgumentTypeDescription
identifierstringThe primary identifier of the Lex Bot
fn sync()
Sync Lex Bot state from AWS
fn list(maxPages?: number, resourceModel?: string)
List Lex Bot resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
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.
fn create()
Create a Lex BotAlias
fn get(identifier: string)
Get a Lex BotAlias
ArgumentTypeDescription
identifierstringThe primary identifier of the Lex BotAlias
fn update()
Update a Lex BotAlias
fn delete(identifier: string)
Delete a Lex BotAlias
ArgumentTypeDescription
identifierstringThe primary identifier of the Lex BotAlias
fn sync()
Sync Lex BotAlias state from AWS
fn list(maxPages?: number, resourceModel?: string)
List Lex BotAlias resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
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.
fn create()
Create a Lex BotVersion
fn get(identifier: string)
Get a Lex BotVersion
ArgumentTypeDescription
identifierstringThe primary identifier of the Lex BotVersion
fn delete(identifier: string)
Delete a Lex BotVersion
ArgumentTypeDescription
identifierstringThe primary identifier of the Lex BotVersion
fn sync()
Sync Lex BotVersion state from AWS
fn list(maxPages?: number, resourceModel?: string)
List Lex BotVersion resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

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

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
ResourceArnstringThe Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
PolicyrecordA 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.
fn create()
Create a Lex ResourcePolicy
fn get(identifier: string)
Get a Lex ResourcePolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the Lex ResourcePolicy
fn update()
Update a Lex ResourcePolicy
fn delete(identifier: string)
Delete a Lex ResourcePolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the Lex ResourcePolicy
fn sync()
Sync Lex ResourcePolicy state from AWS
fn list(maxPages?: number, resourceModel?: string)
List Lex ResourcePolicy resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

state(infinite)— Lex ResourcePolicy resource state
03Previous Versions19
2026.08.25.6
2026.08.25.5
2026.08.24.6
2026.08.23.1
2026.08.21.1
2026.08.20.1
2026.08.19.1
2026.08.18.1
2026.08.17.5
2026.08.17.4

Modified 4 models

2026.08.16.1
2026.08.15.1
2026.08.14.1
2026.08.13.1
2026.08.11.1
2026.08.07.1
2026.08.06.1
2026.08.05.1
2026.08.04.1
  • Updated: bot
04Stats
A
100 / 100
Downloads
0
Archive size
925.6 KB
Verified by Swamp
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
05Platforms
06Labels