Package com.pulumi.aws.lex
Class BotArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.lex.BotArgs
-
public final class BotArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBotArgs.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<BotAbortStatementArgs>abortStatement()static BotArgs.Builderbuilder()static BotArgs.Builderbuilder(BotArgs defaults)com.pulumi.core.Output<java.lang.Boolean>childDirected()java.util.Optional<com.pulumi.core.Output<BotClarificationPromptArgs>>clarificationPrompt()java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>createVersion()java.util.Optional<com.pulumi.core.Output<java.lang.String>>description()java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>detectSentiment()java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>enableModelImprovements()java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>idleSessionTtlInSeconds()com.pulumi.core.Output<java.util.List<BotIntentArgs>>intents()java.util.Optional<com.pulumi.core.Output<java.lang.String>>locale()java.util.Optional<com.pulumi.core.Output<java.lang.String>>name()java.util.Optional<com.pulumi.core.Output<java.lang.Double>>nluIntentConfidenceThreshold()java.util.Optional<com.pulumi.core.Output<java.lang.String>>processBehavior()java.util.Optional<com.pulumi.core.Output<java.lang.String>>region()java.util.Optional<com.pulumi.core.Output<java.lang.String>>voiceId()
-
-
-
Field Detail
-
Empty
public static final BotArgs Empty
-
-
Method Detail
-
abortStatement
public com.pulumi.core.Output<BotAbortStatementArgs> abortStatement()
- Returns:
- The message that Amazon Lex uses to abort a conversation. Attributes are documented under statement.
-
childDirected
public com.pulumi.core.Output<java.lang.Boolean> childDirected()
- Returns:
- By specifying true, 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. For more information see the [Amazon Lex FAQ](https://aws.amazon.com/lex/faqs#data-security) and the [Amazon Lex PutBot API Docs](https://docs.aws.amazon.com/lex/latest/dg/API_PutBot.html#lex-PutBot-request-childDirected).
-
clarificationPrompt
public java.util.Optional<com.pulumi.core.Output<BotClarificationPromptArgs>> clarificationPrompt()
- Returns:
- The message that Amazon Lex uses when it doesn't understand the user's request. Attributes are documented under prompt.
-
createVersion
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> createVersion()
- Returns:
- Determines if a new bot version is created when the initial resource is created and on each update. Defaults to `false`.
-
description
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
- Returns:
- A description of the bot. Must be less than or equal to 200 characters in length.
-
detectSentiment
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> detectSentiment()
- Returns:
- When set to true user utterances are sent to Amazon Comprehend for sentiment analysis. If you don't specify detectSentiment, the default is `false`.
-
enableModelImprovements
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enableModelImprovements()
- Returns:
- Set to `true` to enable access to natural language understanding improvements. When you set the `enableModelImprovements` parameter to true you can use the `nluIntentConfidenceThreshold` parameter to configure confidence scores. For more information, see [Confidence Scores](https://docs.aws.amazon.com/lex/latest/dg/confidence-scores.html). You can only set the `enableModelImprovements` parameter in certain Regions. If you set the parameter to true, your bot has access to accuracy improvements. For more information see the [Amazon Lex Bot PutBot API Docs](https://docs.aws.amazon.com/lex/latest/dg/API_PutBot.html#lex-PutBot-request-enableModelImprovements).
-
idleSessionTtlInSeconds
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> idleSessionTtlInSeconds()
- Returns:
- The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. Default is `300`. Must be a number between 60 and 86400 (inclusive).
-
intents
public com.pulumi.core.Output<java.util.List<BotIntentArgs>> intents()
- Returns:
- A set of Intent objects. Each intent represents a command that a user can express. Attributes are documented under intent. Can have up to 250 Intent objects.
-
locale
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> locale()
- Returns:
- Specifies the target locale for the bot. Any intent used in the bot must be compatible with the locale of the bot. For available locales, see [Amazon Lex Bot PutBot API Docs](https://docs.aws.amazon.com/lex/latest/dg/API_PutBot.html#lex-PutBot-request-locale). Default is `en-US`.
-
name
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
- Returns:
- The name of the bot that you want to create, case sensitive. Must be between 2 and 50 characters in length.
-
nluIntentConfidenceThreshold
public java.util.Optional<com.pulumi.core.Output<java.lang.Double>> nluIntentConfidenceThreshold()
- Returns:
- Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents in a PostContent or PostText response. AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are configured for the bot. For more information see [Amazon Lex Bot PutBot API Docs](https://docs.aws.amazon.com/lex/latest/dg/API_PutBot.html#lex-PutBot-request-nluIntentConfidenceThreshold) This value requires `enableModelImprovements` to be set to `true` and the default is `0`. Must be a float between 0 and 1.
-
processBehavior
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> processBehavior()
- Returns:
- If you set the `processBehavior` element to `BUILD`, Amazon Lex builds the bot so that it can be run. If you set the element to `SAVE` Amazon Lex saves the bot, but doesn't build it. Default is `SAVE`.
-
region
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
- Returns:
- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
-
voiceId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> voiceId()
- Returns:
- The Amazon Polly voice ID that you want Amazon Lex to use for voice interactions with the user. The locale configured for the voice must match the locale of the bot. For more information, see [Available Voices](http://docs.aws.amazon.com/polly/latest/dg/voicelist.html) in the Amazon Polly Developer Guide.
-
builder
public static BotArgs.Builder builder()
-
builder
public static BotArgs.Builder builder(BotArgs defaults)
-
-