V2modelsBotLocale.reference constructor
V2modelsBotLocale.reference(
- String urn
Creates a typed reference to an existing V2modelsBotLocale resource.
Implementation
V2modelsBotLocale.reference(String urn)
: super(
'aws:lex/v2modelsBotLocale:V2modelsBotLocale',
pulumi.parseUrn(urn).urnName,
const <String, pulumi.Input<dynamic>>{},
pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
isResourceReference: true,
) {
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>()); });
}