ContactFlowModule.reference constructor

ContactFlowModule.reference(
  1. String urn
)

Creates a typed reference to an existing ContactFlowModule resource.

Implementation

ContactFlowModule.reference(String urn)
  : super(
      'aws:connect/contactFlowModule:ContactFlowModule',
      pulumi.parseUrn(urn).urnName,
      const <String, pulumi.Input<dynamic>>{},
      pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
      isResourceReference: true,
    ) {
  arn = registerOutput<String>('arn');
  contactFlowModuleId = registerOutput<String>('contactFlowModuleId');
  content = registerOutput<String>('content');
  contentHash = registerOutput<String?>('contentHash');
  description = registerOutput<String?>('description');
  filename = registerOutput<String?>('filename');
  instanceId = registerOutput<String>('instanceId');
  this.name = registerOutput<String>('name');
  region = registerOutput<String>('region');
  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>(); });
}