V2modelsIntentInitialResponseSettingCodeHook constructor

const V2modelsIntentInitialResponseSettingCodeHook({
  1. required Input<bool> active,
  2. required Input<bool> enableCodeHookInvocation,
  3. Input<String?>? invocationLabel,
  4. Input<V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecification?>? postCodeHookSpecification,
})

Creates a new V2modelsIntentInitialResponseSettingCodeHook. active Whether a dialog code hook is used when the intent is activated. enableCodeHookInvocation Whether a Lambda function should be invoked for the dialog. invocationLabel Label that indicates the dialog step from which the dialog code hook is happening. postCodeHookSpecification Configuration block that contains the responses and actions that Amazon Lex takes after the Lambda function is complete. See postCodeHookSpecification.

Implementation

const V2modelsIntentInitialResponseSettingCodeHook({
  required this.active,
  required this.enableCodeHookInvocation,
  this.invocationLabel,
  this.postCodeHookSpecification,
});