Aws/lex
@swamp/aws/lexv2026.08.11.1
01README
AWS LEX infrastructure models
02Models
@swamp/aws/lex/botv2026.08.04.1bot.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| Description? | string | A description of the resource |
| ErrorLogSettings? | object | |
| RoleArn | string | |
| BotType? | enum | The type of a bot to create. |
| Name | string | |
| BotTags? | array | |
| TestBotAliasTags? | array | |
| AutoBuildBotLocales? | boolean | |
| BotLocales? | array | |
| IdleSessionTTLInSeconds | number | |
| BotFileS3Location? | object | |
| Replication? | object | |
| BotMembers? | array | The list of bot members in a network to be created. |
| TestBotAliasSettings? | object | |
| DataPrivacy | object |
fn create()
Create a Lex Bot
fn get(identifier: string)
Get a Lex Bot
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lex Bot |
fn update()
Update a Lex Bot
fn delete(identifier: string)
Delete a Lex Bot
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lex Bot |
fn sync()
Sync Lex Bot state from AWS
Resources
state(infinite)— Lex Bot resource state
@swamp/aws/lex/bot-aliasv2026.06.15.1bot_alias.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| BotId | string | Unique ID of resource |
| BotAliasLocaleSettings? | array | A list of bot alias locale settings to add to the bot alias. |
| BotAliasName | string | A unique identifier for a resource. |
| BotVersion? | string | The version of a bot. |
| ConversationLogSettings? | object | Contains information about code hooks that Amazon Lex calls during a conversation. |
| Description? | string | A description of the bot alias. Use the description to help identify the bot alias in lists. |
| SentimentAnalysisSettings? | object | Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances. |
| BotAliasTags? | array | A list of tags to add to the bot alias. |
fn create()
Create a Lex BotAlias
fn get(identifier: string)
Get a Lex BotAlias
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lex BotAlias |
fn update()
Update a Lex BotAlias
fn delete(identifier: string)
Delete a Lex BotAlias
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lex BotAlias |
fn sync()
Sync Lex BotAlias state from AWS
Resources
state(infinite)— Lex BotAlias resource state
@swamp/aws/lex/bot-versionv2026.06.15.1bot_version.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| BotId | string | Unique ID of resource |
| Description? | string | A description of the version. Use the description to help identify the version in lists. |
| BotVersionLocaleSpecification | array | Specifies 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
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lex BotVersion |
fn delete(identifier: string)
Delete a Lex BotVersion
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lex BotVersion |
fn sync()
Sync Lex BotVersion state from AWS
Resources
state(infinite)— Lex BotVersion resource state
@swamp/aws/lex/resource-policyv2026.06.15.1resource_policy.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| ResourceArn | string | The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to. |
| Policy | record | A 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
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lex ResourcePolicy |
fn update()
Update a Lex ResourcePolicy
fn delete(identifier: string)
Delete a Lex ResourcePolicy
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Lex ResourcePolicy |
fn sync()
Sync Lex ResourcePolicy state from AWS
Resources
state(infinite)— Lex ResourcePolicy resource state
03Previous Versions
2026.08.07.1
2026.08.06.1
2026.08.05.1
2026.08.04.1
- Updated: bot
2026.08.03.1
2026.08.02.1
2026.08.01.1
2026.07.31.1
2026.07.30.1
2026.07.29.1
2026.07.28.1
2026.07.27.1
2026.07.26.1
2026.07.25.1
2026.07.24.1
2026.07.20.1
2026.07.18.3
2026.07.18.2
2026.06.15.1
- Updated: bot, bot_alias, bot_version, resource_policy
04Stats
A
100 / 100
Downloads
0
Archive size
914.0 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