We recommend new projects start with resources from the AWS provider.
We recommend new projects start with resources from the AWS provider.
Resource Type definition for an Amazon Lex conversational bot performing automated tasks such as ordering a pizza, booking a hotel, and so on.
Using getBot
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getBot(args: GetBotArgs, opts?: InvokeOptions): Promise<GetBotResult>
function getBotOutput(args: GetBotOutputArgs, opts?: InvokeOptions): Output<GetBotResult>def get_bot(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBotResult
def get_bot_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBotResult]func LookupBot(ctx *Context, args *LookupBotArgs, opts ...InvokeOption) (*LookupBotResult, error)
func LookupBotOutput(ctx *Context, args *LookupBotOutputArgs, opts ...InvokeOption) LookupBotResultOutput> Note: This function is named LookupBot in the Go SDK.
public static class GetBot
{
public static Task<GetBotResult> InvokeAsync(GetBotArgs args, InvokeOptions? opts = null)
public static Output<GetBotResult> Invoke(GetBotInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBotResult> getBot(GetBotArgs args, InvokeOptions options)
public static Output<GetBotResult> getBot(GetBotArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:lex:getBot
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- The unique identifier of the bot.
- Id string
- The unique identifier of the bot.
- id String
- The unique identifier of the bot.
- id string
- The unique identifier of the bot.
- id str
- The unique identifier of the bot.
- id String
- The unique identifier of the bot.
getBot Result
The following output properties are available:
- Arn string
- The Amazon Resource Name (ARN) of the bot.
-
List<Pulumi.
Aws Native. Outputs. Tag> - A list of tags to add to the bot. You can only add tags when you import a bot. You can't use the
UpdateBotoperation to update tags. To update tags, use theTagResourceoperation. - Data
Privacy Pulumi.Aws Native. Lex. Outputs. Data Privacy Properties - By default, data stored by Amazon Lex is encrypted. The
DataPrivacystructure provides settings that determine how Amazon Lex handles special cases of securing the data for your bot. - Description string
- The description of the version.
- Error
Log Pulumi.Settings Aws Native. Lex. Outputs. Error Log Settings Properties - Id string
- The unique identifier of the bot.
- Idle
Session intTtl In Seconds The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.
A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout.
You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.
- Name string
- The name of the bot locale.
- Role
Arn string - The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.
- Arn string
- The Amazon Resource Name (ARN) of the bot.
- Tag
- A list of tags to add to the bot. You can only add tags when you import a bot. You can't use the
UpdateBotoperation to update tags. To update tags, use theTagResourceoperation. - Data
Privacy DataPrivacy Properties - By default, data stored by Amazon Lex is encrypted. The
DataPrivacystructure provides settings that determine how Amazon Lex handles special cases of securing the data for your bot. - Description string
- The description of the version.
- Error
Log ErrorSettings Log Settings Properties - Id string
- The unique identifier of the bot.
- Idle
Session intTtl In Seconds The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.
A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout.
You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.
- Name string
- The name of the bot locale.
- Role
Arn string - The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.
- arn String
- The Amazon Resource Name (ARN) of the bot.
- List<Tag>
- A list of tags to add to the bot. You can only add tags when you import a bot. You can't use the
UpdateBotoperation to update tags. To update tags, use theTagResourceoperation. - data
Privacy DataPrivacy Properties - By default, data stored by Amazon Lex is encrypted. The
DataPrivacystructure provides settings that determine how Amazon Lex handles special cases of securing the data for your bot. - description String
- The description of the version.
- error
Log ErrorSettings Log Settings Properties - id String
- The unique identifier of the bot.
- idle
Session IntegerTtl In Seconds The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.
A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout.
You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.
- name String
- The name of the bot locale.
- role
Arn String - The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.
- arn string
- The Amazon Resource Name (ARN) of the bot.
- Tag[]
- A list of tags to add to the bot. You can only add tags when you import a bot. You can't use the
UpdateBotoperation to update tags. To update tags, use theTagResourceoperation. - data
Privacy DataPrivacy Properties - By default, data stored by Amazon Lex is encrypted. The
DataPrivacystructure provides settings that determine how Amazon Lex handles special cases of securing the data for your bot. - description string
- The description of the version.
- error
Log ErrorSettings Log Settings Properties - id string
- The unique identifier of the bot.
- idle
Session numberTtl In Seconds The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.
A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout.
You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.
- name string
- The name of the bot locale.
- role
Arn string - The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.
- arn str
- The Amazon Resource Name (ARN) of the bot.
- Sequence[root_Tag]
- A list of tags to add to the bot. You can only add tags when you import a bot. You can't use the
UpdateBotoperation to update tags. To update tags, use theTagResourceoperation. - data_
privacy DataPrivacy Properties - By default, data stored by Amazon Lex is encrypted. The
DataPrivacystructure provides settings that determine how Amazon Lex handles special cases of securing the data for your bot. - description str
- The description of the version.
- error_
log_ Errorsettings Log Settings Properties - id str
- The unique identifier of the bot.
- idle_
session_ intttl_ in_ seconds The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.
A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout.
You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.
- name str
- The name of the bot locale.
- role_
arn str - The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.
- arn String
- The Amazon Resource Name (ARN) of the bot.
- List<Property Map>
- A list of tags to add to the bot. You can only add tags when you import a bot. You can't use the
UpdateBotoperation to update tags. To update tags, use theTagResourceoperation. - data
Privacy Property Map - By default, data stored by Amazon Lex is encrypted. The
DataPrivacystructure provides settings that determine how Amazon Lex handles special cases of securing the data for your bot. - description String
- The description of the version.
- error
Log Property MapSettings - id String
- The unique identifier of the bot.
- idle
Session NumberTtl In Seconds The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.
A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout.
You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.
- name String
- The name of the bot locale.
- role
Arn String - The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.
Supporting Types
DataPrivacyProperties
- Child
Directed bool - For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to the Children's Online Privacy Protection Act (COPPA) by specifying
trueorfalsein thechildDirectedfield. By specifyingtruein thechildDirectedfield, you confirm that your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. By specifyingfalsein thechildDirectedfield, you confirm that your use of Amazon Lex is not related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. You may not specify a default value for thechildDirectedfield that does not accurately reflect whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. If your use of Amazon Lex relates to a website, program, or other application that is directed in whole or in part, to children under age 13, you must obtain any required verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in connection with websites, programs, or other applications that are directed or targeted, in whole or in part, to children under age 13, see the Amazon Lex FAQ .
- Child
Directed bool - For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to the Children's Online Privacy Protection Act (COPPA) by specifying
trueorfalsein thechildDirectedfield. By specifyingtruein thechildDirectedfield, you confirm that your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. By specifyingfalsein thechildDirectedfield, you confirm that your use of Amazon Lex is not related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. You may not specify a default value for thechildDirectedfield that does not accurately reflect whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. If your use of Amazon Lex relates to a website, program, or other application that is directed in whole or in part, to children under age 13, you must obtain any required verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in connection with websites, programs, or other applications that are directed or targeted, in whole or in part, to children under age 13, see the Amazon Lex FAQ .
- child
Directed Boolean - For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to the Children's Online Privacy Protection Act (COPPA) by specifying
trueorfalsein thechildDirectedfield. By specifyingtruein thechildDirectedfield, you confirm that your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. By specifyingfalsein thechildDirectedfield, you confirm that your use of Amazon Lex is not related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. You may not specify a default value for thechildDirectedfield that does not accurately reflect whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. If your use of Amazon Lex relates to a website, program, or other application that is directed in whole or in part, to children under age 13, you must obtain any required verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in connection with websites, programs, or other applications that are directed or targeted, in whole or in part, to children under age 13, see the Amazon Lex FAQ .
- child
Directed boolean - For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to the Children's Online Privacy Protection Act (COPPA) by specifying
trueorfalsein thechildDirectedfield. By specifyingtruein thechildDirectedfield, you confirm that your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. By specifyingfalsein thechildDirectedfield, you confirm that your use of Amazon Lex is not related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. You may not specify a default value for thechildDirectedfield that does not accurately reflect whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. If your use of Amazon Lex relates to a website, program, or other application that is directed in whole or in part, to children under age 13, you must obtain any required verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in connection with websites, programs, or other applications that are directed or targeted, in whole or in part, to children under age 13, see the Amazon Lex FAQ .
- child_
directed bool - For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to the Children's Online Privacy Protection Act (COPPA) by specifying
trueorfalsein thechildDirectedfield. By specifyingtruein thechildDirectedfield, you confirm that your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. By specifyingfalsein thechildDirectedfield, you confirm that your use of Amazon Lex is not related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. You may not specify a default value for thechildDirectedfield that does not accurately reflect whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. If your use of Amazon Lex relates to a website, program, or other application that is directed in whole or in part, to children under age 13, you must obtain any required verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in connection with websites, programs, or other applications that are directed or targeted, in whole or in part, to children under age 13, see the Amazon Lex FAQ .
- child
Directed Boolean - For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to the Children's Online Privacy Protection Act (COPPA) by specifying
trueorfalsein thechildDirectedfield. By specifyingtruein thechildDirectedfield, you confirm that your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. By specifyingfalsein thechildDirectedfield, you confirm that your use of Amazon Lex is not related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. You may not specify a default value for thechildDirectedfield that does not accurately reflect whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. If your use of Amazon Lex relates to a website, program, or other application that is directed in whole or in part, to children under age 13, you must obtain any required verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in connection with websites, programs, or other applications that are directed or targeted, in whole or in part, to children under age 13, see the Amazon Lex FAQ .
ErrorLogSettingsProperties
- Enabled bool
- Enabled bool
- enabled Boolean
- enabled boolean
- enabled bool
- enabled Boolean
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
