V2modelsIntent.reference constructor

V2modelsIntent.reference(
  1. String urn
)

Creates a typed reference to an existing V2modelsIntent resource.

Implementation

V2modelsIntent.reference(String urn)
  : super(
      'aws:lex/v2modelsIntent:V2modelsIntent',
      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');
  closingSetting = registerOutput<V2modelsIntentClosingSetting?>('closingSetting', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return V2modelsIntentClosingSetting.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  confirmationSetting = registerOutput<V2modelsIntentConfirmationSetting?>('confirmationSetting', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return V2modelsIntentConfirmationSetting.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  creationDateTime = registerOutput<String>('creationDateTime');
  description = registerOutput<String?>('description');
  dialogCodeHook = registerOutput<V2modelsIntentDialogCodeHook?>('dialogCodeHook', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return V2modelsIntentDialogCodeHook.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  fulfillmentCodeHook = registerOutput<V2modelsIntentFulfillmentCodeHook?>('fulfillmentCodeHook', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return V2modelsIntentFulfillmentCodeHook.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  initialResponseSetting = registerOutput<V2modelsIntentInitialResponseSetting?>('initialResponseSetting', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return V2modelsIntentInitialResponseSetting.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  inputContexts = registerOutput<List<V2modelsIntentInputContext>?>('inputContexts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<V2modelsIntentInputContext>(guardedValue, (value) => V2modelsIntentInputContext.fromMap((value as Map).cast<String, dynamic>())); });
  intentId = registerOutput<String>('intentId');
  kendraConfiguration = registerOutput<V2modelsIntentKendraConfiguration?>('kendraConfiguration', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return V2modelsIntentKendraConfiguration.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  lastUpdatedDateTime = registerOutput<String>('lastUpdatedDateTime');
  localeId = registerOutput<String>('localeId');
  this.name = registerOutput<String>('name');
  outputContexts = registerOutput<List<V2modelsIntentOutputContext>?>('outputContexts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<V2modelsIntentOutputContext>(guardedValue, (value) => V2modelsIntentOutputContext.fromMap((value as Map).cast<String, dynamic>())); });
  parentIntentSignature = registerOutput<String?>('parentIntentSignature');
  qnaIntentConfiguration = registerOutput<V2modelsIntentQnaIntentConfiguration?>('qnaIntentConfiguration', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return V2modelsIntentQnaIntentConfiguration.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  region = registerOutput<String>('region');
  sampleUtterances = registerOutput<List<V2modelsIntentSampleUtterance>?>('sampleUtterances', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<V2modelsIntentSampleUtterance>(guardedValue, (value) => V2modelsIntentSampleUtterance.fromMap((value as Map).cast<String, dynamic>())); });
  slotPriorities = registerOutput<List<V2modelsIntentSlotPriority>?>('slotPriorities', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<V2modelsIntentSlotPriority>(guardedValue, (value) => V2modelsIntentSlotPriority.fromMap((value as Map).cast<String, dynamic>())); });
  timeouts = registerOutput<V2modelsIntentTimeouts?>('timeouts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return V2modelsIntentTimeouts.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}