DataIntegration.reference constructor

DataIntegration.reference(
  1. String urn
)

Creates a typed reference to an existing DataIntegration resource.

Implementation

DataIntegration.reference(String urn)
  : super(
      'aws:appintegrations/dataIntegration:DataIntegration',
      pulumi.parseUrn(urn).urnName,
      const <String, pulumi.Input<dynamic>>{},
      pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
      isResourceReference: true,
    ) {
  arn = registerOutput<String>('arn');
  description = registerOutput<String?>('description');
  kmsKey = registerOutput<String>('kmsKey');
  this.name = registerOutput<String>('name');
  region = registerOutput<String>('region');
  scheduleConfig = registerOutput<DataIntegrationScheduleConfig>('scheduleConfig', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return DataIntegrationScheduleConfig.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  sourceUri = registerOutput<String>('sourceUri');
  tags = registerOutput<Map<String, String>?>('tags', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
  tagsAll = registerOutput<Map<String, String>>('tagsAll', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
}