V2modelsBotLocale constructor

V2modelsBotLocale(
  1. String name, {
  2. V2modelsBotLocaleArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new V2modelsBotLocale. name The Pulumi resource name. args Arguments used to configure this V2modelsBotLocale. The set of arguments for V2modelsBotLocale. options Resource options controlling this resource's behavior.

Implementation

V2modelsBotLocale(
  String name, {
  V2modelsBotLocaleArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:lex/v2modelsBotLocale:V2modelsBotLocale',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  botId = registerOutput<String>('botId');
  botVersion = registerOutput<String>('botVersion');
  description = registerOutput<String?>('description');
  localeId = registerOutput<String>('localeId');
  nLuIntentConfidenceThreshold = registerOutput<double>('nLuIntentConfidenceThreshold');
  this.name = registerOutput<String>('name');
  region = registerOutput<String>('region');
  timeouts = registerOutput<V2modelsBotLocaleTimeouts?>('timeouts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return V2modelsBotLocaleTimeouts.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  voiceSettings = registerOutput<V2modelsBotLocaleVoiceSettings?>('voiceSettings', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return V2modelsBotLocaleVoiceSettings.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}